/* CloisonneCraft_2981. The SVG ornament and named sections are archived. */
:root { --copper: #c97e5a; --gold: #d4a853; --ink: #30231f; --cream: #fbf6ee; --line: #dfcdbb; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 18px/1.7 Georgia, serif; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); margin-block: 0 .35em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
img { display: block; max-width: 100%; height: auto; }
a { color: #8a472d; text-underline-offset: .16em; }
button, input { font: inherit; }
button { cursor: pointer; }
.masthead, .forge-footer { background: #312522; color: #fbf2e8; }
.masthead-inner, .page-shell, .forge-footer-widgets { width: min(1090px, calc(100% - 44px)); margin-inline: auto; }
.masthead-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-identity { display: flex; align-items: center; color: inherit; gap: 10px; text-decoration: none; }
.brand-identity svg { flex: none; }
.brand-text-group { display: grid; line-height: 1.2; }
.brand-title { font-size: 1.28rem; font-weight: 700; }
.brand-tagline { color: #e4c4a7; font-size: .82rem; }
.craft-nav ul { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.craft-nav a, .forge-footer a { color: #ffe0b4; }
.craft-nav a { text-decoration: none; }
.craft-nav .current-menu-item > a { border-bottom: 2px solid var(--copper); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--copper); color: #fff3e6; padding-inline: 9px; }
.lookup-form { display: flex; gap: 3px; }
.lookup-field { width: min(140px, 27vw); padding: 4px 6px; }
.lookup-submit { border: 1px solid var(--copper); color: #fff4df; background: transparent; }
.ornament-divider, .ornament-section-line { height: 3px; background: linear-gradient(90deg,var(--copper),var(--gold),var(--copper)); }
.enamel-hero { text-align: center; padding: clamp(32px, 6.5vw, 76px) 20px; background: #efe1cd; border-bottom: 1px solid var(--line); }
.enamel-hero-subtitle { margin: 0; }
.page-shell { padding-block: 26px 48px; }
.content-river { min-width: 0; }
.thematic-block { padding: 17px 22px; background: #fffaf3; border-bottom: 1px solid var(--line); }
.piece-card { margin-block: 14px; background: #fffdf7; border: 1px solid var(--line); border-left: 4px solid var(--copper); }
.piece-card-body { padding: 14px 20px; }
.piece-card-heading { margin: 0 0 6px; font-size: 1.35rem; }
.piece-card-heading a { color: var(--ink); text-decoration: none; }
.piece-card-meta, .manuscript-meta, .trail-crumbs { color: #6e5549; font: .9rem/1.5 system-ui, sans-serif; }
.dual-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, 240px); gap: 30px; align-items: start; }
.trail-crumbs { margin-bottom: 12px; overflow-wrap: anywhere; }
.crumb-separator { margin-inline: .35em; }
.manuscript { background: #fffdf7; padding: clamp(14px, 4vw, 38px); border: 1px solid var(--line); }
.manuscript-title { font-size: clamp(1.8rem, 4vw, 2.85rem); }
.manuscript-body { overflow-wrap: anywhere; }
.manuscript-body table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
.manuscript-body :is(th,td) { border: 1px solid var(--line); padding: 7px 9px; text-align: left; }
.workshop-sidebar .sidebar-block { padding: 14px 17px; background: #f0e4d5; border-top: 3px solid var(--gold); }
.workshop-sidebar ul, .forge-footer ul { list-style: none; padding: 0; }
.workshop-sidebar li { margin-bottom: 7px; }
.page-turns, .adjacent-links { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
.forge-footer-widgets { display: grid; grid-template-columns: 1.1fr .95fr 1fr; gap: 21px; padding-block: 22px; }
.forge-footer-bottom { border-top: 1px solid #806356; text-align: center; padding: 12px 18px; }
.gauge-row { display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: center; gap: 6px; font-size: .88rem; }
.gauge-track { height: 6px; background: #664b3e; }
.gauge-fill { height: 100%; background: var(--gold); }
.cookie-notice { position: fixed; z-index: 3; inset: auto 12px 12px; padding: 10px 15px; color: #fff3e8; background: #312522; border: 1px solid var(--copper); font-size: .92rem; }
.cookie-notice[hidden] { display: none; }
.cookie-accept-btn { background: #e8be87; color: var(--ink); border: 0; padding: 5px 10px; }
@media (max-width: 820px) {
  .masthead-inner { flex-wrap: wrap; padding-block: 10px; }
  .nav-toggle { display: block; margin-left: auto; }
  .craft-nav ul { display: none; }
  .craft-nav.is-open { flex-basis: 100%; }
  .craft-nav.is-open ul { display: grid; gap: 5px; padding-block: 8px; }
  .dual-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .masthead-inner, .page-shell, .forge-footer-widgets { width: calc(100% - 28px); }
  .masthead-search { flex-basis: 100%; }
  .lookup-field { width: min(260px, 65vw); }
  .forge-footer-widgets { grid-template-columns: minmax(0, 1fr); }
}
