:root { color-scheme: light; --ink: #20231d; --paper: #f3efe4; --cream: #fbf8ef; --moss: #3f4939; --sage: #aeb49e; --clay: #a26449; --gold: #c7a865; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
button, select, input, textarea { font: inherit; }
input, select, textarea { font-size: max(16px, 1rem); }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible, label:has(input:focus-visible) { outline: 3px solid #c35e35; outline-offset: 4px; }
.hero { min-height: 88vh; padding: 1.25rem clamp(1.1rem, 5vw, 5rem) 4rem; color: #f8f4e7; background: radial-gradient(circle at 72% 42%, #65705b 0, #3f4939 32%, #23291f 78%); }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1180px; margin: 0 auto; border-bottom: 1px solid #ffffff33; padding-bottom: 1rem; }
nav a { text-decoration: none; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.wordmark { font-weight: 800; } .wordmark span { font-weight: 400; opacity: .65; }
.hero-grid { max-width: 1120px; margin: 4rem auto 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4rem; }
.eyebrow { margin: 0 0 1rem; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 650px; font-size: clamp(3.2rem, 7vw, 6.8rem); } h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.lede { max-width: 590px; margin: 1.6rem 0 2rem; color: #e4e5da; font-size: 1.08rem; line-height: 1.65; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 1px solid transparent; padding: .9rem 1.2rem; cursor: pointer; text-decoration: none; font-weight: 750; }
.primary { background: #e9ddbd; color: #25271f; } .primary:hover { background: #fff3d1; } .secondary { border-color: #65685e; background: transparent; color: inherit; }
.book-scene { position: relative; display: grid; justify-items: center; min-height: 500px; align-content: center; }
.halo { position: absolute; width: 390px; height: 390px; border: 1px solid #ffffff28; border-radius: 50%; box-shadow: 0 0 0 36px #ffffff08, 0 0 0 72px #ffffff05; }
.book-cover { z-index: 1; display: flex; flex-direction: column; justify-content: center; width: 245px; height: 360px; padding: 2rem; border: 1px solid #d2c6a0; background: linear-gradient(135deg, #59624e, #293125); box-shadow: -16px 20px 32px #11170e99, inset 12px 0 18px #ffffff0c; color: #d9cca1; text-align: center; transform: rotate(4deg); }
.book-cover span, .book-cover small { font-size: .68rem; letter-spacing: .22em; } .book-cover strong { margin: .8rem 0 1.4rem; font-family: Georgia, serif; font-size: 2.45rem; font-weight: 500; }
.book-scene p { position: relative; z-index: 1; margin-top: 2rem; color: #d7dacd; font-size: .72rem; }
.intro, .offers, .checkout { padding: 5rem clamp(1.1rem, 5vw, 5rem); }
.intro { max-width: 920px; margin: auto; text-align: center; } .intro > p:last-child { max-width: 720px; margin: 1.5rem auto 0; line-height: 1.65; color: #5d6156; }
.offers { background: var(--cream); }
.section-heading { max-width: 1180px; margin: 0 auto 2.5rem; display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.section-heading > p { max-width: 370px; line-height: 1.55; color: #606257; }
.offer-grid { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.offer-card { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 1rem; border: 1px solid #d8d2c2; background: #f6f2e8; cursor: pointer; transition: transform .15s, border-color .15s; }
.offer-card:hover { transform: translateY(-3px); } .offer-card.selected { border: 2px solid var(--moss); padding: calc(1rem - 1px); }
.offer-card input { position: absolute; right: 1rem; width: 20px; height: 20px; accent-color: var(--moss); }
.tag { position: absolute; z-index: 1; top: .8rem; left: .8rem; padding: .35rem .5rem; background: #ebe0be; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mini-book { display: grid; width: 105px; height: 145px; margin: 1.2rem auto 1.8rem; place-items: center; box-shadow: -8px 9px 13px #292e2430; color: #f2e7c8; font-family: Georgia, serif; font-size: .8rem; letter-spacing: .12em; }
.mini-book.moss { background: #4b5842; } .mini-book.clay { background: #8c5944; } .mini-book.ink { background: #313b39; } .mini-book.gold { background: #8a7549; }
.offer-name { font-family: Georgia, serif; font-size: 1.2rem; } .offer-description { min-height: 63px; margin: .6rem 0; color: #686b61; font-size: .86rem; line-height: 1.45; }
.offer-card strong { margin-top: auto; font-size: 1.3rem; } .offer-card small { margin-top: .35rem; color: #6d6e66; line-height: 1.4; }
.wide { width: 100%; max-width: 1180px; margin: 1rem auto 0; display: flex; }
.checkout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; max-width: 1180px; margin: auto; }
.checkout > div:first-child p:last-child { line-height: 1.6; color: #62655a; }
.checkout-panel { padding: 1.5rem; background: #fffdf7; border: 1px solid #d7d1c2; box-shadow: 0 18px 35px #38372d12; }
dl { margin: 0 0 1.5rem; } dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #e0dccf; } dt { color: #66685f; } dd { margin: 0; text-align: right; font-weight: 700; }
.checkout-panel label { display: block; margin-bottom: .45rem; font-weight: 700; } select { width: 100%; min-height: 48px; padding: .6rem; border: 1px solid #7d7e75; background: #fff; }
.checkout-panel .wide { margin-top: 1rem; } .status { min-height: 62px; margin-top: 1rem; padding: .9rem; background: #f0eee6; line-height: 1.45; }
.order-link { display: block; margin-top: 1rem; text-align: center; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1.1rem, 5vw, 5rem); background: #20231d; color: #eeeadf; font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.bump-option { display: grid !important; grid-template-columns: auto 1fr; align-items: start; gap: .8rem; margin: 1.2rem 0 0 !important; padding: 1rem; border: 1px solid #b9af92; background: #faf5e6; }
.bump-option input { width: 20px; height: 20px; accent-color: var(--moss); }.bump-option small { display: block; margin-top: .35rem; color: #6b6252; line-height: 1.45; }
.review-shell, .ops-shell, .artifact-shell, .book-review-shell { min-height: 100vh; padding: clamp(1.2rem, 5vw, 5rem); background: #f2eee3; }
.review-header, .ops-hero, .artifact-hero { display: flex; justify-content: space-between; align-items: end; gap: 2rem; max-width: 1180px; margin: 0 auto 3rem; padding-bottom: 2rem; border-bottom: 1px solid #c9c1ad; }
.review-header h1, .ops-hero h1, .artifact-hero h1 { max-width: 780px; font-size: clamp(3rem, 7vw, 6.5rem); }.ops-hero p, .artifact-hero p { max-width: 680px; line-height: 1.6; }
.approval-chip, .local-badge { flex: 0 0 auto; padding: .65rem .8rem; border: 1px solid #8b3e2b; color: #7f3525; font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.local-badge { border-color: #44513d; color: #34432f; }
.review-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.2rem; max-width: 1180px; margin: auto; }.review-card { padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid #cec6b3; background: #fffdf6; }.review-card h2, .simulation-panel h2, .preview-list h2, .metric-grid h2, .capital-card h2, .taxonomy h2, .runbook h2 { font-size: clamp(2rem, 4vw, 3.3rem); }.decision-card { background: #263027; color: #f5f0df; }.decision-card p { line-height: 1.6; }.review-price { font-family: Georgia, serif; font-size: 2.5rem; }.boundary-note { padding: 1rem; background: #f1e8d5; color: #5e4535; line-height: 1.5; }.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }.decision-card .secondary { border-color: #9da497; }.simulation-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; max-width: 1180px; margin: 1.2rem auto; padding: 2rem; border: 1px solid #cec6b3; background: #e5dfd0; }.simulation-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }.sim-button { min-height: 50px; padding: .7rem; border: 1px solid #74796d; background: #fffdf6; cursor: pointer; text-transform: capitalize; }.review-shell > .status { max-width: 1180px; margin: 1.2rem auto; }.preview-list { max-width: 1180px; margin: 3rem auto; }.preview-card { margin-top: .8rem; padding: 1.2rem; border-left: 4px solid #a26449; background: #fffdf6; }.preview-card span { color: #8a3f2d; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.preview-card h3 { margin-bottom: .3rem; }.review-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; max-width: 1180px; margin: 3rem auto 0; padding-top: 1.3rem; border-top: 1px solid #c9c1ad; font-weight: 750; }
.source-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1180px; margin: auto; border: 1px solid #c8c0ad; background: #fffdf6; }.source-strip div { display: grid; gap: .35rem; padding: 1.1rem; border-right: 1px solid #d8d0bd; }.source-strip div:last-child { border: 0; }.source-strip strong { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; max-width: 1180px; margin: 3rem auto; }.metric-grid h2 { grid-column: 1 / -1; }.metric-card { min-height: 190px; display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid #cec6b3; background: #fffdf6; }.metric-card span { font-size: .76rem; font-weight: 800; text-transform: capitalize; }.metric-card strong { margin: auto 0; font-family: Georgia, serif; font-size: 2rem; }.metric-card small { color: #686256; line-height: 1.4; }.metric-card.unknown { background: #efe5d2; }.metric-card.unknown strong { color: #8a3f2d; }.capital-card, .build-sheet { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; max-width: 1180px; margin: 3rem auto; padding: clamp(1.2rem, 3vw, 2rem); background: #263027; color: #f6f0df; }.capital-card p { line-height: 1.5; }.capital-card dl, .build-sheet dl { margin: 0; }.capital-card dl div, .build-sheet dl div { border-color: #ffffff26; }.capital-card dt, .build-sheet dt { color: #cfcdbc; }
.artifact-shell > section { max-width: 1180px; margin: 5rem auto; }.copy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }.copy-card { min-height: 220px; padding: 1.2rem; border: 1px solid #cec6b3; background: #fffdf6; }.copy-card > span { font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.copy-card h3 { margin: 2.5rem 0 1rem; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }.copy-card p { color: #833d2c; line-height: 1.5; }.storyboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.storyboard { padding: 1rem; border: 1px solid #c8c0ad; background: #fffdf6; }.storyboard > span { font-size: .68rem; font-weight: 900; letter-spacing: .12em; }.storyboard h3 { font-family: Georgia, serif; font-size: 1.8rem; }.storyboard > p { min-height: 48px; color: #676257; }.storyboard dl div { display: block; }.storyboard dd { margin-top: .3rem; text-align: left; font-size: .83rem; line-height: 1.45; }.frame-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; height: 175px; margin-bottom: 1.2rem; }.frame-strip > div { display: grid; place-content: center; gap: .3rem; overflow: hidden; background: #39443a; }.frame-strip i { display: block; width: 28px; height: 45px; border: 1px solid #dbc995; background: #58634e; box-shadow: -4px 4px #20271f; }.board-2 .frame-strip > div { background: #8b5b47; }.board-2 .frame-strip i { width: 24px; height: 34px; background: #eee0bb; box-shadow: none; }.board-3 .frame-strip > div { background: #e7dfcd; }.board-3 .frame-strip i { width: 55px; height: 18px; border: 2px solid #8b3e2b; background: transparent; box-shadow: none; transform: rotate(-7deg); }.build-sheet { max-width: 1180px !important; }.table-scroll { overflow-x: auto; margin-top: 1.4rem; border: 1px solid #cbc3b1; }table { width: 100%; border-collapse: collapse; background: #fffdf6; font-size: .82rem; }th, td { padding: .8rem; border-bottom: 1px solid #ded7c6; text-align: left; vertical-align: top; line-height: 1.45; overflow-wrap: anywhere; }th { background: #ddd5c3; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.book-review-hero { display:flex; justify-content:space-between; align-items:end; gap:2rem; max-width:1180px; margin:0 auto 3rem; padding-bottom:2rem; border-bottom:1px solid #c9c1ad; }.book-review-hero h1{max-width:760px;font-size:clamp(3rem,7vw,6rem)}.book-review-hero p{max-width:700px;line-height:1.6}.book-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:1180px;margin:auto}.book-review-grid article,.variant-card,.sku-review,.unresolved-card{padding:clamp(1.3rem,3vw,2.5rem);border:1px solid #cbc3b1;background:#fffdf6}.book-review-grid h2,.variant-card h2,.sku-review h2,.unresolved-card h2{font-size:clamp(2rem,4vw,3.5rem)}.book-review-grid dl div{display:grid;grid-template-columns:140px 1fr;gap:1rem}.book-review-grid code{overflow-wrap:anywhere}.variant-card,.sku-review,.unresolved-card{max-width:1180px;margin:1rem auto}.variant-card p,.unresolved-card p{max-width:850px;line-height:1.7}.sku-review ul{list-style:none;padding:0}.sku-review li{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid #ddd5c3}
.loading-page, .status-page { min-height: 100vh; padding: 12vh max(1.2rem, 8vw); background: var(--cream); } .loading-card { width: min(520px, 100%); height: 170px; margin: 2rem 0; background: linear-gradient(90deg, #e6e1d5, #f5f1e8, #e6e1d5); background-size: 200%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 800px) {
  .hero { min-height: auto; } .hero-grid { grid-template-columns: 1fr; margin-top: 3rem; gap: 1rem; } .book-scene { min-height: 420px; } .halo { width: 280px; height: 280px; }
  .book-cover { width: 190px; height: 285px; } .section-heading { align-items: start; flex-direction: column; gap: 1rem; } .offer-grid { grid-template-columns: 1fr 1fr; }
  .checkout, .review-grid, .simulation-panel, .capital-card, .build-sheet, .book-review-grid { grid-template-columns: 1fr; gap: 2rem; } footer, .review-header, .ops-hero, .artifact-hero, .book-review-hero { flex-direction: column; align-items: start; }.source-strip { grid-template-columns: 1fr; }.source-strip div { border-right: 0; border-bottom: 1px solid #d8d0bd; }.metric-grid, .copy-grid { grid-template-columns: 1fr 1fr; }.storyboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .offer-grid, .metric-grid, .copy-grid, .simulation-actions { grid-template-columns: 1fr; } .offer-card { min-height: 330px; }.review-shell, .ops-shell, .artifact-shell, .book-review-shell { padding: 1rem; }.review-header h1, .ops-hero h1, .artifact-hero h1, .book-review-hero h1 { font-size: 3rem; }.table-scroll { max-width: 100%; }.book-review-grid dl div,.sku-review li{grid-template-columns:1fr} }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* Repair: fit actual content at narrow widths; never mask overflow. */
main, section, article, nav, header, footer, fieldset, dl, dd { min-width: 0; }
h1, h2, h3, h4, p, dd, code, a, button, label, summary { overflow-wrap: anywhere; }
nav { flex-wrap: wrap; gap: .75rem; }
nav a, .footer-links a, .order-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
summary { min-height: 44px; cursor: pointer; }
button { min-width: 44px; }
button:disabled { opacity: .65; cursor: wait; }
input[type="radio"], input[type="checkbox"] { flex-shrink: 0; }
input:not([type="radio"]):not([type="checkbox"]), textarea { max-width: 100%; }
.hero-grid > *, .offer-grid > *, .checkout > *, .review-grid > *, .metric-grid > *, .book-review-grid > * { min-width: 0; }
.book-scene { min-width: 0; }
.book-scene p { max-width: 100%; text-align: center; }
.approval-chip, .local-badge { max-width: 100%; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; transform: translateY(-200%); padding: 1rem; background: var(--cream); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
#offers, #test-checkout, [id] { scroll-margin-top: 1rem; }
@media (max-width: 480px) {
  dl div { flex-wrap: wrap; }
  dd { max-width: 100%; }
  .status-page h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
}

.order-lines { list-style: none; padding: 0; }
.order-lines li { display: grid; gap: .3rem; padding: .8rem 0; border-bottom: 1px solid #d8d0be; }
.order-lines span { color: #5e6258; }

/* Enoch Chapters: self-hosted Google Fonts Latin faces.
 * Import once from the application layout. No network font dependency.
 * Unmodified upstream WOFF2 files; license notices ship with the fonts.
 * Provenance: docs/implementation/enoch-chapters-rollout-20260915/lanes/funnel/fonts/PROVENANCE.json
 */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/enoch-chapters/fonts/cormorant-garamond-latin-italic-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/enoch-chapters/fonts/cormorant-garamond-latin-normal-400-600-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/enoch-chapters/fonts/eb-garamond-latin-italic-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/enoch-chapters/fonts/eb-garamond-latin-normal-400-500-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/enoch-chapters/fonts/ibm-plex-mono-latin-normal-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/enoch-chapters/fonts/ibm-plex-mono-latin-normal-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Approved Enoch Chapters identity. Scoped to customer surfaces; private tools retain their own styles. */
.ec {
  --ec-madder:#96351f; --ec-oxblood:#5c1d10; --ec-gold-bright:#e3b65b; --ec-ring-gold:#c98f3b;
  --ec-ground:#f6efe1; --ec-surface:#fff; --ec-hairline:#e3d9bf; --ec-ink:#241b12;
  --ec-ink-2:#4a4232; --ec-ink-3:#6b5b40; --ec-label:#5c5340; --ec-idle:#8a8578;
  --ec-accent:#96351f; --ec-rule:#c9a24b; --ec-footnote:#7a5a15; --ec-price:#241b12;
  --ec-btn-primary-bg:#96351f; --ec-btn-primary-text:#f6efe1; --ec-btn-secondary-border:#96351f;
  --ec-btn-secondary-text:#96351f; --ec-option-selected-border:#96351f;
  --ec-font-display:"Cormorant Garamond",Georgia,serif; --ec-font-text:"EB Garamond",Georgia,serif;
  --ec-font-micro:"IBM Plex Mono",monospace; --ec-book-shadow:0 14px 32px rgba(74,28,12,.3);
  color-scheme:light; min-height:100vh; background:var(--ec-ground); color:var(--ec-ink);
  font-family:var(--ec-font-text); font-size:18px; line-height:1.5; font-weight:400;
}
.ec[data-theme="dark"] {
  --ec-ground:#201613; --ec-surface:#2a1e19; --ec-hairline:#3d2c22; --ec-ink:#e9dbbe;
  --ec-ink-2:#cbb893; --ec-ink-3:#c29a67; --ec-label:#c29a67; --ec-idle:#8f6b1f;
  --ec-accent:#c9a24b; --ec-rule:#8f6b1f; --ec-footnote:#c29a67; --ec-price:#e3b65b;
  --ec-btn-primary-text:#f0e2c4; --ec-btn-secondary-border:#8f6b1f; --ec-btn-secondary-text:#e3b65b;
  --ec-option-selected-border:#e3b65b; --ec-book-shadow:0 14px 32px rgba(0,0,0,.55); color-scheme:dark;
}
.ec *, .ec *::before, .ec *::after { box-sizing:border-box; }
.ec h1,.ec h2,.ec h3,.ec p,.ec figure { margin:0; }
.ec h1,.ec h2,.ec h3 { font-family:var(--ec-font-display); font-weight:500; letter-spacing:0; color:var(--ec-ink); }
.ec h1 { max-width:none; font-size:52px; line-height:1.13; white-space:pre-line; }
.ec h2 { font-size:37px; line-height:1.18; }
.ec h3 { font-size:27px; line-height:1.2; }
.ec p { margin-top:1em; }
.ec p:first-child { margin-top:0; }
.ec a { color:var(--ec-accent); text-underline-offset:5px; text-decoration-thickness:1px; }
.ec a:hover { text-decoration:underline; }
.ec button,.ec input,.ec select,.ec textarea { font:inherit; border-radius:0; }
.ec button { cursor:pointer; }
.ec button:disabled { opacity:1; cursor:not-allowed; color:var(--ec-ink-3); background:var(--ec-ground); border-color:var(--ec-hairline); }
.ec :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible,.ec label:has(input:focus-visible) { outline:2px solid var(--ec-accent); outline-offset:4px; }
.ec img { display:block; max-width:100%; height:auto; }
.ec strong { font-weight:500; }
.ec .ec-small { color:var(--ec-ink-3); font-size:14px; line-height:1.5; }
.ec .ec-label { font-family:var(--ec-font-micro); font-size:10px; font-weight:400; letter-spacing:.16em; text-transform:uppercase; color:var(--ec-label); }
.ec .ec-copy { color:var(--ec-ink-2); }
.ec-copy p { white-space:pre-line; }
.ec .ec-price { font-family:var(--ec-font-display); font-weight:600; color:var(--ec-price); font-size:32px; line-height:1.1; }
.ec .ec-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:50px; min-width:44px; padding:13px 24px; border:1px solid var(--ec-btn-primary-bg); border-radius:0; font-family:var(--ec-font-text); font-size:13px; font-weight:400; letter-spacing:.18em; line-height:1.4; text-transform:uppercase; text-align:center; text-decoration:none; }
.ec .ec-button:hover { text-decoration:none; }
.ec .ec-primary { background:var(--ec-btn-primary-bg); color:var(--ec-btn-primary-text); }
.ec .ec-secondary { background:transparent; border-color:var(--ec-btn-secondary-border); color:var(--ec-btn-secondary-text); }
.ec .ec-text-link { display:inline-flex; min-height:44px; align-items:center; }
.ec-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:24px; }
.ec-actions > * { flex:1 1 auto; }
.ec-skip-link { position:fixed; top:12px; left:12px; z-index:50; padding:12px 20px; background:var(--ec-surface); transform:translateY(-200%); }
.ec-skip-link:focus { transform:translateY(0); }
.ec-preview-note { position:sticky; top:0; z-index:20; text-align:center; padding:8px 20px; border-bottom:1px solid var(--ec-hairline); background:var(--ec-ground); color:var(--ec-label); font-family:var(--ec-font-micro); font-size:10px; line-height:1.5; letter-spacing:.025em; }
.ec-header { padding:0 40px; border-bottom:1px solid var(--ec-hairline); }
.ec .ec-nav { max-width:1160px; min-height:86px; padding:12px 0; margin:0 auto; border:0; display:flex; justify-content:space-between; gap:20px; flex-wrap:nowrap; }
.ec .ec-wordmark { display:inline-flex; align-items:center; gap:14px; color:var(--ec-ink); font-family:var(--ec-font-display); font-size:15px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; text-decoration:none; }
.ec-wordmark img { flex-shrink:0; width:40px; height:40px; }
.ec-nav-links { display:flex; align-items:center; gap:26px; }
.ec-nav-links a { min-height:44px; display:inline-flex; align-items:center; color:var(--ec-ink-2); font-size:15px; letter-spacing:0; text-transform:none; }
.ec .ec-theme-switch { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; min-width:44px; padding:0 4px; border:0; color:var(--ec-ink-2); background:transparent; font-size:14px; }
.ec-section { width:min(1160px,calc(100% - 80px)); margin:0 auto; padding:72px 0; }
.ec-hero { display:grid; grid-template-columns:1.1fr .9fr; column-gap:80px; row-gap:26px; padding-top:68px; padding-bottom:72px; align-items:start; }
.ec-hero-heading { grid-column:1; grid-row:1; align-self:end; padding-top:20px; }
.ec-hero-heading .ec-label { margin-bottom:20px; }
.ec-hero-body { grid-column:1; grid-row:2; max-width:540px; }
.ec-hero-body .ec-actions { margin-top:28px; }
.ec-hero-body .ec-actions > * { flex:0 1 auto; }
.ec-hero-art { grid-column:2; grid-row:1 / 3; align-self:center; }
.ec .ec-book-artwork { display:grid; justify-items:center; gap:24px; }
.ec-book-artwork img { width:248px; aspect-ratio:150 / 212; object-fit:contain; box-shadow:var(--ec-book-shadow); }
.ec-book-artwork figcaption { color:var(--ec-ink-3); font-size:14px; text-align:center; }
.ec-ornament { display:flex; align-items:center; justify-content:center; gap:14px; color:var(--ec-accent); }
.ec-ornament::before,.ec-ornament::after { content:""; width:52px; height:1px; background:var(--ec-rule); }
.ec-ornament span { display:block; width:10px; height:10px; background:currentColor; clip-path:polygon(50% 0,64% 36%,100% 50%,64% 64%,50% 100%,36% 64%,0 50%,36% 36%); font-size:0; }
.ec-intro { max-width:700px; padding:60px 0; text-align:center; }
.ec-intro h2 { margin:30px 0 24px; }
.ec-sample-section { border-top:1px solid var(--ec-hairline); }
.ec-section-heading { display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:32px; }
.ec-section-heading .ec-label { margin-bottom:12px; }
.ec-section-heading > p { max-width:370px; color:var(--ec-ink-2); }
.ec-sample-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.ec-sample-button { padding:16px; border:1px solid var(--ec-hairline); background:var(--ec-surface); width:100%; color:var(--ec-accent); }
.ec-sample-button img { width:100%; height:auto; aspect-ratio:792 / 1224; object-fit:contain; }
.ec-sample-button span { display:flex; align-items:center; justify-content:center; min-height:44px; padding-top:12px; font-size:14px; }
.ec-sample-grid figcaption { padding-top:14px; font-size:14px; line-height:1.45; }
.ec-sample-grid figcaption strong { display:block; font-size:18px; margin-bottom:7px; color:var(--ec-ink); }
.ec-sample-grid figcaption span { color:var(--ec-ink-3); }
.ec-sample-dialog { width:min(1040px,calc(100vw - 28px)); max-height:calc(100dvh - 28px); margin:auto; border:1px solid var(--ec-rule); padding:20px; background:var(--ec-ground); color:var(--ec-ink); }
.ec-sample-dialog::backdrop { background:rgba(0,0,0,.65); }
.ec-dialog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:16px; }
.ec-dialog-toolbar h2 { font-size:25px; }
.ec-dialog-toolbar > div { display:flex; gap:10px; }
.ec-dialog-image { height:min(70dvh,900px); overflow:auto; background:var(--ec-surface); border:1px solid var(--ec-hairline); }
.ec-dialog-image img { margin:0 auto; width:auto; height:100%; object-fit:contain; }
.ec-dialog-image.is-zoomed img { width:1100px; min-width:1100px; max-width:none; height:auto; margin:0; }
.ec-offers-wrap { border-top:1px solid var(--ec-hairline); border-bottom:1px solid var(--ec-hairline); }
.ec-offers-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.ec-offer { position:relative; display:grid; grid-template-columns:20px 1fr auto; column-gap:14px; row-gap:14px; align-content:start; align-items:center; padding:24px; border:1px solid var(--ec-hairline); background:var(--ec-surface); cursor:pointer; }
.ec-offer.is-selected { border-color:var(--ec-option-selected-border); outline:1px solid var(--ec-option-selected-border); outline-offset:-2px; }
.ec-offer input,.ec-bump input { width:19px; height:19px; margin:0; accent-color:var(--ec-option-selected-border); }
.ec-offer-name { font-family:var(--ec-font-display); font-size:27px; line-height:1.2; }
.ec-offer-price { font-family:var(--ec-font-display); font-size:27px; font-weight:600; white-space:nowrap; color:var(--ec-price); }
.ec-offer .ec-copy { grid-column:2 / 4; font-size:16px; line-height:1.5; }
.ec-selection-footer { display:flex; justify-content:space-between; gap:24px; align-items:center; margin-top:24px; }
.ec-selection-footer .ec-copy { max-width:620px; font-size:15px; }
.ec-ordering-note { color:var(--ec-ink-3); }
.ec-checkout-section { scroll-margin-top:60px; }
.ec-checkout-heading { margin-bottom:32px; }
.ec-checkout-heading .ec-label { margin-bottom:12px; }
.ec-commerce-grid,.ec-checkout-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:40px; align-items:start; }
.ec-commerce-single { display:block; max-width:760px; }
.ec-commerce-summary { min-width:0; }
.ec-commerce-body { min-width:0; }
.ec .ec-order-summary { background:var(--ec-surface); border:1px solid var(--ec-hairline); padding:28px; }
.ec-order-summary h2 { font-size:28px; margin-bottom:18px; }
.ec-summary-lines { list-style:none; margin:0; padding:0; }
.ec-summary-lines li { display:flex; justify-content:space-between; gap:24px; padding:16px 0; border-bottom:1px solid var(--ec-hairline); }
.ec-summary-lines li strong { display:block; }
.ec-summary-lines li div > span { display:block; margin-top:4px; color:var(--ec-ink-3); font-size:14px; }
.ec-summary-amount { white-space:nowrap; color:var(--ec-price); }
.ec .ec-summary-totals { margin:10px 0 0; }
.ec .ec-summary-totals > div { display:flex; justify-content:space-between; flex-wrap:nowrap; gap:24px; padding:12px 0; border-bottom:1px solid var(--ec-hairline); }
.ec .ec-summary-totals dt { color:var(--ec-ink-2); }
.ec .ec-summary-totals dd { text-align:right; font-weight:400; margin:0; }
.ec-summary-footer { margin-top:18px; color:var(--ec-ink-3); font-size:14px; }
.ec-bump { display:grid; grid-template-columns:20px 1fr; gap:14px; padding:24px; border:1px solid var(--ec-hairline); background:var(--ec-surface); cursor:pointer; }
.ec-bump input { margin-top:5px; }
.ec-bump h3 { margin-bottom:12px; }
.ec-bump .ec-copy { font-size:16px; }
.ec-bump.is-selected { border-color:var(--ec-option-selected-border); }
.ec-review-controls { margin-top:22px; border-top:1px solid var(--ec-hairline); padding-top:14px; }
.ec-review-controls summary { display:flex; align-items:center; min-height:44px; font-size:15px; color:var(--ec-ink-3); cursor:pointer; list-style:revert; }
.ec-review-controls summary::before { content:"+"; font-family:var(--ec-font-micro); margin-right:12px; }
.ec-review-controls[open] summary::before { content:"−"; }
.ec-review-controls label { display:block; margin:16px 0 8px; }
.ec .ec-input { display:block; width:100%; min-height:46px; padding:10px 14px; background:var(--ec-surface); border:1px solid var(--ec-hairline); border-radius:0; color:var(--ec-ink); font-size:16px; }
.ec-field { margin:18px 0; }
.ec-field label { display:block; margin-bottom:8px; }
.ec-card,.ec-optional-panel { padding:28px; background:var(--ec-surface); border:1px solid var(--ec-hairline); }
.ec-optional-panel h2 { margin:10px 0 20px; }
.ec-optional-panel .ec-price { margin-top:24px; }
.ec-status { margin-top:22px; padding:18px 20px; border:1px solid var(--ec-hairline); border-left:3px solid var(--ec-rule); color:var(--ec-ink-2); background:var(--ec-surface); }
.ec-status h2 { font-size:26px; margin-bottom:10px; }
.ec-status-error { border-left-color:var(--ec-accent); }
.ec-page-heading { max-width:760px; margin-bottom:36px; }
.ec-page-heading .ec-label { margin-bottom:14px; }
.ec-page-heading .ec-copy { margin-top:22px; }
.ec-steps { display:flex; list-style:none; margin:0 0 46px; padding:0; gap:28px; font-family:var(--ec-font-micro); font-size:10px; line-height:1.6; letter-spacing:.06em; text-transform:uppercase; }
.ec-steps li { color:var(--ec-label); }
.ec-steps li[aria-current="step"] { color:var(--ec-accent); border-bottom:1px solid var(--ec-accent); }
.ec-steps span { display:inline-block; margin-right:8px; }
.ec .ec-footer { display:block; padding:0 40px; background:var(--ec-ground); color:var(--ec-ink); border-top:1px solid var(--ec-hairline); }
.ec-footer-inner { max-width:1160px; margin:auto; padding:42px 0; display:grid; grid-template-columns:1fr auto; gap:14px 30px; }
.ec .ec-footer-brand { display:inline-flex; align-items:center; min-height:44px; font-family:var(--ec-font-display); font-size:21px; color:var(--ec-ink); text-decoration:none; letter-spacing:.1em; text-transform:uppercase; }
.ec-footer nav { display:flex; justify-content:start; gap:24px; margin:0; padding:0; border:0; }
.ec-footer nav a { min-height:44px; font-family:var(--ec-font-text); font-size:15px; letter-spacing:0; text-transform:none; }
.ec-footer .ec-small { grid-column:1 / -1; margin:0; }
.ec-private-links { display:flex; flex-wrap:wrap; gap:16px; margin-top:20px; }
.ec-private-links a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; }
@media(max-width:800px) {
  .ec-header,.ec .ec-footer { padding-left:24px; padding-right:24px; }
  .ec-section { width:calc(100% - 48px); padding-top:48px; padding-bottom:48px; }
  .ec-hero { grid-template-columns:1fr 1fr; column-gap:32px; }
  .ec h1 { font-size:39px; }
  .ec h2 { font-size:31px; }
  .ec-hero-art img { width:200px; }
  .ec-sample-grid { grid-template-columns:1fr 1fr; gap:28px 20px; }
  .ec-nav-links { gap:18px; }
  .ec-offer { padding:18px; column-gap:10px; }
  .ec-offer-name,.ec-offer-price { font-size:24px; }
  .ec-offer .ec-copy { grid-column:1 / -1; }
  .ec-commerce-grid,.ec-checkout-grid { grid-template-columns:1fr; gap:24px; }
  .ec-order-summary { position:static; }
  .ec-section-heading { align-items:start; flex-direction:column; gap:16px; }
  .ec-selection-footer { align-items:stretch; flex-direction:column; }
}
@media(max-width:540px) {
  .ec { font-size:15px; line-height:1.5; }
  .ec-header,.ec .ec-footer { padding-left:20px; padding-right:20px; }
  .ec .ec-nav { min-height:78px; gap:8px; }
  .ec .ec-wordmark { gap:9px; font-size:15px; max-width:210px; }
  .ec-wordmark img { width:34px; height:34px; }
  .ec-nav-links { gap:8px; }
  .ec-nav-links a { font-size:13px; min-width:44px; justify-content:center; }
  .ec-nav-links > a:first-child { display:none; }
  .ec-theme-switch span { display:none; }
  .ec-section { width:calc(100% - 40px); padding-top:40px; padding-bottom:40px; }
  .ec h1 { font-size:31px; line-height:1.2; }
  .ec h2 { font-size:28px; line-height:1.2; }
  .ec h3 { font-size:24px; }
  .ec .ec-small { font-size:13px; }
  .ec .ec-label { font-size:9px; }
  .ec-hero { display:flex; flex-direction:column; align-items:stretch; gap:26px; padding-top:34px; }
  .ec-hero-heading { padding:0; text-align:center; align-self:stretch; }
  .ec-hero-heading .ec-label { margin-bottom:14px; }
  .ec-hero-art { order:1; align-self:stretch; }
  .ec-hero-body { order:2; }
  .ec .ec-book-artwork { gap:18px; }
  .ec-hero-art img { width:176px; }
  .ec-book-artwork figcaption { font-size:13px; }
  .ec .ec-button { width:100%; }
  .ec-hero-body .ec-actions > * { flex:1 1 100%; }
  .ec-hero-body .ec-text-link { justify-content:center; }
  .ec-intro h2 { margin-top:25px; margin-bottom:20px; }
  .ec-sample-grid { gap:22px 14px; }
  .ec-sample-button { padding:9px; }
  .ec-sample-button span { font-size:13px; }
  .ec-sample-grid figcaption { font-size:12px; }
  .ec-sample-grid figcaption strong { font-size:17px; }
  .ec-sample-dialog { padding:12px; }
  .ec-dialog-toolbar { align-items:start; flex-direction:column; gap:12px; }
  .ec-dialog-toolbar > div { width:100%; }
  .ec-dialog-toolbar .ec-button { min-height:44px; padding:10px 12px; font-size:12px; }
  .ec-dialog-image { height:64dvh; }
  .ec-offers-grid { grid-template-columns:1fr; gap:12px; }
  .ec-offer { padding:18px; row-gap:10px; }
  .ec-offer-name,.ec-offer-price { font-size:25px; }
  .ec-offer .ec-copy,.ec-bump .ec-copy { font-size:15px; }
  .ec-selection-footer .ec-copy { font-size:13px; }
  .ec .ec-order-summary,.ec-card,.ec-optional-panel { padding:20px; }
  .ec-bump { padding:20px; gap:12px; }
  .ec-summary-lines li { gap:16px; }
  .ec-summary-lines li div > span,.ec-summary-footer { font-size:13px; }
  .ec .ec-summary-totals > div { gap:20px; }
  .ec-status { padding:16px; }
  .ec-page-heading { margin-bottom:28px; }
  .ec-steps { display:grid; grid-template-columns:1fr 1fr; gap:12px 16px; margin-bottom:28px; font-size:9px; }
  .ec-footer-inner { grid-template-columns:1fr; padding:30px 0; gap:8px; }
  .ec-footer nav { gap:24px; flex-wrap:wrap; }
  .ec-footer nav a { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { .ec * { scroll-behavior:auto; } }

.ec .ec-quantity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}.ec .ec-quantity-option{display:flex;flex-direction:column;gap:8px;cursor:pointer}.ec .ec-quantity-option.selected{border-color:var(--ec-accent);box-shadow:inset 0 0 0 1px var(--ec-accent)}.ec .ec-quantity-option input{margin:0;min-height:20px;width:20px}.ec .ec-field input[type=checkbox]{min-height:20px;width:20px;margin-right:10px}.ec .ec-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ec .ec-review-controls{padding:18px;border:1px solid var(--ec-hairline);margin:20px 0}.ec .ec-review-controls summary{cursor:pointer;min-height:44px}.ec .ec-card dl>div{padding:12px 0;border-bottom:1px solid var(--ec-hairline)}.ec .ec-card dd{margin:4px 0 0;overflow-wrap:anywhere}.ec .ec-card{margin-block:18px}.ec .ec-gallery-controls{border-bottom:1px solid var(--ec-hairline)}@media(max-width:600px){.ec .ec-quantity-grid{grid-template-columns:1fr}.ec .ec-commerce-body .ec-actions>*{max-width:100%}.ec .ec-page-heading h1{overflow-wrap:anywhere}}
.ec .ec-card dt { color:var(--ec-ink-2); }

/* Static closure: informational cards have no selection state. */
.ec-offer { cursor:default; grid-template-columns:1fr auto; }
.ec-offer .ec-copy { grid-column:1 / -1; }
.ec-sample-button { display:block; text-decoration:none; }
.ec-sample-button:hover { text-decoration:none; }
.ec-button[aria-disabled="true"] { cursor:default; }
