:root { color-scheme: light; font-family: system-ui, sans-serif; color: #27332e; background: #faf9f5; line-height: 1.65; }
.site-header-links nav .site-search-trigger { display: inline-flex; gap: .35rem; align-items: center; min-height: 44px; }
.site-search-trigger svg { flex: none; }
.site-search-panel { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding-top: 14px; }
.site-search-panel[hidden] { display: none; }
.site-search-panel form { max-width: 420px; margin-left: auto; padding: 12px 16px 16px; border: 1px solid #d8ddd7; background: #fff; }
.site-search-panel-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-search-panel-label label { font-size: .9rem; }
.site-search-panel-label button { border: 0; background: transparent; font-size: .85rem; padding: .5rem; min-height: 44px; }
.site-search-input { display: flex; gap: .5rem; }
.site-search-input input { width: 100%; min-width: 0; flex: 1; font: inherit; padding: .55rem; border: 1px solid #9aa89c; border-radius: 3px; }
.site-search-input button { min-height: 44px; }
[id^="story-"], [id^="detail-"] { scroll-margin-top: 1rem; }
[id^="story-"]:target, [id^="detail-"]:target { background: #efe4b8; }
@media (max-width: 560px) { .site-header-links { flex-wrap: wrap; } .site-header-links nav { gap: .2rem .9rem; } .site-search-panel form { max-width: none; } }
@media (max-width: 359px) { .site-search-input { flex-wrap: wrap; } .site-search-input input { flex-basis: 100%; } }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #305d49; text-underline-offset: .2em; }
a:hover { color: #132c20; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #80702e; outline-offset: 4px; }
.site-header, main, .site-footer { width: min(920px, calc(100% - 40px)); margin: auto; }
.site-header { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid #d8ddd7; font-size: .9rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.site-header > a { font-weight: 650; text-decoration: none; }
.site-header span, .lede, figcaption, .site-footer { color: #5e6861; }
main { padding: 32px 0; }
.last-reviewed { margin: 28px 0 0; color: #5e6861; font-size: .75rem; text-align: center; }
h1, h2, h3 { line-height: 1.25; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 16px 0 10px; }
h2 { font-size: 1.6rem; margin: 0 0 20px; }
h3 { font-size: 1.05rem; margin: 0 0 12px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.lede { margin-bottom: 28px; }
.breadcrumbs { font-size: .85rem; }
.stamp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.stamp-card { display: block; border: 1px solid #d8ddd7; background: #fff; padding: 28px 20px; text-align: center; text-decoration: none; }
.stamp-card:hover { border-color: #728578; }
.stamp-card img { max-width: 100%; object-fit: contain; height: 230px; margin-bottom: 20px; }
.stamp-card h2 { font-size: 1.4rem; margin-bottom: 8px; text-transform: none; }
.stamp-card p { color: #5e6861; font-size: .9rem; }
.collection-illustrations { margin-bottom: 24px; }
.collection-illustration { margin: 0; min-width: 0; }
.collection-illustration > .image-info-media { width: fit-content; }
.collection-illustration img { display: block; width: 220px; height: 230px; margin: 0; object-fit: contain; }
.collection-illustration figcaption { margin-top: 20px; }
.collection-illustration h2 { color: #305d49; }
.stamp-figure { margin: 32px 0 38px; text-align: center; }
.stamp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.stamp-pair .stamp-figure { min-width: 0; }
.stamp-link { display: inline-block; cursor: zoom-in; }
.stamp-link img { display: block; height: 340px; width: auto; max-width: 100%; object-fit: contain; }
/* Follow transparent stamp edges in listings, articles, comparisons and magnifiers.
   Album-stage stamps already have a proportional shadow on their parent button. */
img[src*="/stamps/"]:not(.album-canvas-stamp > img) { filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / 28%)); }
.landscape .stamp-link { max-width: 100%; }
.landscape .stamp-link img { width: 554px; height: auto; }
figcaption { font-size: .85rem; margin-top: 12px; }
.story-illustration { margin: 20px 0 28px; text-align: center; }
.story-illustration > a { display: block; max-width: 680px; margin-inline: auto; cursor: zoom-in; }
.story-illustration img { display: block; width: 100%; height: auto; }
.illustrated-passage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.illustrated-passage-single { grid-template-columns: minmax(0, 1fr) 180px; }
.illustrated-passage > .story-illustration { width: 180px; max-width: 100%; margin: 0; justify-self: end; }
.illustrated-passage > .story-illustration img { max-height: 200px; object-fit: contain; }
.illustrated-passage > .story-illustration figcaption { font-size: .8rem; line-height: 1.45; }
.illustration-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.illustration-pair-stacked { grid-template-columns: minmax(0, 1fr); }
.illustration-pair-stacked .paired-illustration-upright { width: 70%; justify-self: center; }
.paired-illustration { min-width: 0; margin: 0; text-align: center; }
.paired-illustration-compact { width: 180px; max-width: 100%; margin-left: auto; }
.paired-illustration > a { display: block; cursor: zoom-in; }
.paired-illustration img { display: block; width: 100%; height: auto; }
/* Match the heraldic crown to the height of the landscape reconstruction. */
.illustration-pair-crowns .paired-illustration > a { aspect-ratio: 1447 / 1087; }
.illustration-pair-crowns .paired-illustration img { width: 100%; height: 100%; object-fit: contain; }

.paired-illustration figcaption { font-size: .8rem; line-height: 1.45; margin-top: 10px; }
.paired-illustration .illustration-credit { display: block; margin-top: 4px; font-size: .72rem; }
.illustration-pair-hint { grid-column: 1 / -1; margin: 0; text-align: center; color: #5e6861; font-size: .75rem; }
.illustrated-story { grid-template-columns: minmax(0, 1fr) clamp(240px, 25vw, 320px); }
.illustrated-story-portrait { grid-template-columns: minmax(0, 1fr) 180px; }
.story-illustration-aside { width: 100%; margin: 0; justify-self: end; }
.story-illustration-aside figcaption { font-size: .8rem; line-height: 1.45; margin-top: 10px; }
.story-illustration .illustration-credit { display: block; margin-top: 4px; font-size: .72rem; }
.story-comparison { min-width: 0; width: 100%; }
.story-comparison-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.story-comparison-stamp { margin: 0; min-width: 0; text-align: center; }
.story-comparison-stamp > a { display: flex; justify-content: center; height: 170px; cursor: zoom-in; }
.story-comparison-stamp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.story-comparison-stamp figcaption { font-size: .8rem; line-height: 1.45; margin-top: 10px; }
.story-comparison-stamp figcaption > * { display: block; margin-top: 4px; }
.story-comparison-stamp strong { color: #27332e; font-weight: 600; }
.story-comparison-stacked { grid-template-columns: minmax(0, 1fr); }
.story-comparison-stacked .story-comparison-stamp > a { height: auto; }
.story-comparison-stacked img { height: auto; }
.story-comparison-note { margin: 14px 0 0; font-size: .8rem; line-height: 1.45; color: #5e6861; }
.story-comparison-hint { margin: 10px 0 0; text-align: center; color: #5e6861; font-size: .75rem; }
.story-comparison-row + .illustrated-passage, .illustrated-passage + .story-comparison-row { margin-top: 24px; }
.story-comparison-single { grid-template-columns: minmax(0, 1fr) 160px; }
.story-comparison-single .story-comparison-pair { grid-template-columns: minmax(0, 1fr); }
.story-comparison-many { grid-template-columns: minmax(0, 1fr) 380px; }
.story-comparison-many .story-comparison-pair { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-comparison-many .story-comparison-stamp > a { height: 150px; }
.story-comparison-many-stacked { grid-template-columns: minmax(0, 1fr) 320px; }
.story-comparison-many-stacked .story-comparison-stamp { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; }
.story-comparison-many-stacked .story-comparison-stamp figcaption { margin-top: 0; }
@media (max-width: 740px) {
  .illustrated-passage { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .illustration-pair { width: min(300px, 100%); justify-self: end; }
  .illustrated-story .story-illustration-aside { max-width: 320px; }
  .illustrated-story-portrait .story-illustration-aside { max-width: 180px; }
  .story-comparison { max-width: 300px; justify-self: end; }
  .story-comparison-many .story-comparison { max-width: 380px; }
  .story-comparison-many .story-comparison-stamp > a { height: 120px; }
  .story-comparison-single .story-comparison { max-width: 160px; }
  .story-comparison-many-stacked .story-comparison { max-width: 320px; }
  .story-comparison-many-stacked .story-comparison-stamp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
.panel { background: #fff; border: 1px solid #d8ddd7; padding: 28px; margin-bottom: 24px; }
.collection-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 34%); align-items: center; gap: 24px; }
.collection-card:not(:has(.index-collage)) { grid-template-columns: 1fr; }
.collection-card-copy { min-width: 0; }
.collection-card-copy > a { display: inline-block; padding-block: 6px; }
.index-grid .collection-card { margin-bottom: 0; gap: 18px; padding: 24px; }
.index-grid { margin-bottom: 24px; }
.index-collage { margin: 0; width: 100%; max-width: 240px; justify-self: end; text-align: center; }
.index-collage > a { display: block; width: fit-content; max-width: 100%; margin-inline: auto; cursor: zoom-in; }
.index-collage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 280px; border: 1px solid #e4dfc7; box-shadow: 0 3px 8px rgb(57 52 31 / .09); }
.index-collage a:hover img { border-color: #8d987b; }
.index-collage figcaption { font-size: .72rem; line-height: 1.5; margin-top: 10px; }
.index-collage figcaption span { display: block; }
@media (max-width: 850px) {
  .stamp-grid.index-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .collection-card, .index-grid .collection-card { grid-template-columns: 1fr; gap: 20px; }
  .index-collage { max-width: 200px; }
  .index-collage img { max-height: 250px; }
}
.reveal { padding: 0; }
.reveal > summary { padding: 20px 28px; cursor: pointer; list-style-position: inside; color: #305d49; }
.reveal > summary h2, .reveal > summary h3 { display: inline; margin: 0; color: #27332e; }
.reveal > summary:hover { background: #f3f5f0; }
.reveal-with-teaser > summary { display: grid; grid-template-columns: .925rem max-content minmax(0, 1fr); align-items: baseline; list-style: none; }
.reveal-with-teaser > summary::-webkit-details-marker { display: none; }
.reveal-with-teaser > summary::before { content: ""; width: .65rem; height: .65rem; align-self: center; background: currentColor; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.reveal-with-teaser[open] > summary::before { transform: rotate(90deg); }
.reveal-teaser { min-width: 0; margin-left: .8rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #5e6861; font: .9rem/1.5 system-ui, sans-serif; }
.reveal-with-teaser[open] > summary > .reveal-teaser { display: none; }
@media (max-width: 560px) {
  .reveal-with-teaser > summary { grid-template-columns: .925rem minmax(0, 1fr); row-gap: 6px; }
  .reveal-teaser { grid-column: 2; margin-left: 0; }
}
.reveal-content { padding: 16px 28px 28px; }
.repeated-stories > summary h2 { font-size: 1.4rem; font-weight: 400; }
.repeated-stories > summary h3 { font-size: .95rem; font-weight: 400; }
.repeated-stories > .reveal-content { font-size: .9rem; }
.reveal-content > .story:last-child { margin-bottom: 0; }
.reveal h2[id], .design-contents ~ section h2[id] { scroll-margin-top: 24px; }
.design-overview { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; }
.design-figure { text-align: center; margin: 28px 0 36px; }
.design-image { display: inline-block; max-width: 100%; cursor: zoom-in; }
.design-image img { display: block; height: 440px; width: auto; max-width: 100%; object-fit: contain; }
.design-figure-compact { margin: 0; }
.design-figure-compact img { height: auto; max-height: 260px; }
.design-article-link, .design-return { display: inline-block; padding-block: 8px; }
.design-contents ul { margin: 0; padding-left: 24px; }
.design-contents li { margin-block: 6px; }
.design-comparison-row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 24px; margin-bottom: 20px; }
.design-comparison-row:last-child { margin-bottom: 0; }
.design-comparison { min-width: 0; }
.design-comparison-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.design-comparison-stamp { margin: 0; min-width: 0; text-align: center; }
.design-comparison-image { display: flex; align-items: center; justify-content: center; height: 140px; cursor: zoom-in; }
.design-comparison-image img { display: block; height: 140px; width: 100%; object-fit: contain; }
.design-comparison-pair-wide .design-comparison-image, .design-comparison-pair-wide .design-comparison-image img { height: auto; }
.design-comparison-pair-stacked { grid-template-columns: minmax(0, 1fr); }
.design-comparison-pair-stacked .design-comparison-image, .design-comparison-pair-stacked .design-comparison-image img { height: auto; }
.design-comparison-stamp figcaption { margin-top: 10px; font-size: .75rem; line-height: 1.45; overflow-wrap: anywhere; }
.design-comparison-stamp figcaption > * { display: block; margin-top: 4px; }
.design-comparison-stamp strong { color: #27332e; font-weight: 600; }
.design-comparison-current { font-style: italic; }
.design-comparison-hint { margin: 12px 0 0; text-align: center; color: #5e6861; font-size: .75rem; }
@media (max-width: 740px) {
  .design-comparison-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .design-comparison { width: min(280px, 100%); justify-self: end; }
}
@media (max-width: 680px) {
  .design-overview { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .panel.reveal { padding: 0; }
  .reveal > summary { padding: 18px 20px; }
  .reveal-content { padding: 16px 20px 20px; }
  .design-image img { height: auto; max-height: 360px; }
  .design-figure-compact img { max-height: 260px; }
}
.printer-comparison { background: #fff; border: 1px solid #d8ddd7; margin-bottom: 24px; }
.printer-comparison > summary { padding: 14px 20px; cursor: pointer; color: #305d49; font-weight: 600; }
.printer-comparison > summary:hover { background: #eef2ed; }
.comparison-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; padding: 28px; border-top: 1px solid #e2e6e3; }
.comparison-content .stamp-figure { margin: 0; }
.comparison-content h3 { margin-bottom: 6px; }
.detail-section + .detail-section { border-top: 1px solid #e2e6e3; padding-top: 24px; margin-top: 24px; }
.detail-section:has(.detail-stamp-thumbnail) { display: flow-root; }
.detail-stamp-thumbnail { float: right; display: block; width: min(160px, calc(100% / 3)); margin: 0 0 16px 20px; cursor: zoom-in; }
.detail-stamp-thumbnail img { display: block; width: 100%; height: auto; }
@media (max-width: 680px) {
  .reveal-content .detail-section:has(.detail-stamp-thumbnail) dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 560px) {
  .detail-stamp-thumbnail { margin-left: 12px; }
}
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 8px 0; }
dt { font-weight: 600; }
dd { margin: 0; }
.citations { display: none; font-size: .7em; white-space: nowrap; }
.citations a { color: #1769b3; text-decoration: none; }
.citations a:hover { color: #0b3d75; }
.references-visible .citations { display: inline; }
.sources-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 20px; }
.sources-heading h2 { margin: 0; }
.sources-heading .references-toggle { border: 0; background: transparent; color: #305d49; padding: 4px 0; text-decoration: underline; text-underline-offset: .2em; }
.sources-heading .references-toggle:hover { color: #132c20; }
.reference-popover { position: fixed; z-index: 100; width: max-content; max-width: min(360px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 14px 18px; border: 1px solid #d8ddd7; border-radius: 4px; background: #fff; color: #27332e; box-shadow: 0 0 20px rgb(20 35 25 / .22), 0 3px 8px rgb(20 35 25 / .16); font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.reference-popover[hidden], .references-toggle[hidden] { display: none; }
.reference-popover a { text-underline-offset: .2em; }
.eyebrow { color: #6d633d; font-size: .85rem; }
.sources { font-size: .875rem; overflow-wrap: anywhere; }
.sources li { margin: 10px 0; scroll-margin-top: 24px; }
.sources li:target { background: #f0efe3; }
.sources ol { padding-left: 24px; }
.page-navigation { display: flex; justify-content: space-between; gap: 24px; font-size: .9rem; }
.page-navigation a:last-child { text-align: right; }
.site-footer { border-top: 1px solid #d8ddd7; padding: 24px 0 36px; font-size: .8rem; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.site-footer-links a { display: inline-block; padding-block: 4px; }
.image-explanation { max-width: 74ch; margin: 0 auto; }
.image-explanation section { margin-top: 36px; }
.image-explanation section h2 { margin-bottom: 16px; }
.image-explanation-return { margin-top: 32px; }
.skip-link { position: absolute; top: -100px; padding: 12px; background: white; }
.skip-link:focus { top: 0; }
button { font: inherit; cursor: pointer; border: 1px solid #b8c2bb; border-radius: 3px; background: white; color: inherit; padding: 7px 14px; min-height: 44px; }
button:hover { background: #e9eee9; }
.has-development-tools { padding-bottom: 64px; }
.dev-copy-markdown { position: fixed; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50; font-size: .8rem; border-color: #728578; box-shadow: 0 2px 8px rgb(20 35 25 / .18); }
.dev-copy-markdown:disabled { cursor: wait; }
.dev-copy-markdown-message { position: fixed; left: 12px; bottom: 70px; z-index: 50; width: min(360px, calc(100vw - 24px)); margin: 0; padding: 12px; border: 1px solid #8d654e; background: #fff8f1; font-size: .8rem; }
@media print {
  .dev-copy-markdown, .dev-copy-markdown-message { display: none; }
  .has-development-tools { padding-bottom: 0; }
}
.lightbox { width: min(1100px, 96vw); height: 94dvh; max-height: 94dvh; padding: 0; border: 1px solid #8f9e93; background: #faf9f5; color: #27332e; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgb(15 25 20 / .8); }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; gap: 12px; }
.lightbox-toolbar h2 { margin: 0; font-size: 1.2rem; }
.collection-lightbox-subtitle { margin: -4px 18px 10px; font-size: .9rem; line-height: 1.4; }
.collection-image { position: relative; margin: auto; }
.collection-image > img { margin: 0; }
.collection-stamp-link { position: absolute; display: block; border-radius: 2px; cursor: pointer; -webkit-user-drag: none; }
.collection-stamp-link[hidden] { display: none; }
.collection-stamp-link:hover { outline: 2px solid #426c56; outline-offset: 2px; }
.collection-stamp-link:focus-visible { outline: 3px solid #245840; outline-offset: 3px; box-shadow: 0 0 0 6px #faf9f5; }
.zoom-controls { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 0 12px 6px; }
.zoom-controls output { min-width: 4em; text-align: center; font-variant-numeric: tabular-nums; }
.zoom-hint { margin: 0; padding: 0 12px 12px; text-align: center; font-size: .8rem; border-bottom: 1px solid #d8ddd7; }
.image-viewport { overflow: auto; flex: 1; min-height: 0; padding: 20px; }
.image-viewport img { display: block; max-width: none; margin: auto; }
.image-viewport img:not([src]) { display: none; }
.image-status { text-align: center; padding: 10px; }
.image-status[hidden] { display: none; }
@media (max-width: 560px) {
  .site-header { flex-direction: column; gap: 4px; padding: 16px 0; }
  main { padding-top: 20px; }
  .stamp-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .comparison-content { grid-template-columns: 1fr; padding: 20px; }
  dl > div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .stamp-link img { height: 300px; }
  .stamp-pair { gap: 12px; }
  .stamp-pair .stamp-link img { height: auto; width: 100%; max-height: 300px; }
  .stamp-pair figcaption { font-size: .75rem; }
  .lightbox-toolbar { padding: 10px; }
  .collection-lightbox-subtitle { margin-inline: 10px; }
  .lightbox-toolbar > button { flex-shrink: 0; white-space: nowrap; }
  .zoom-controls { gap: 6px; padding-inline: 6px; }
  .zoom-controls button { min-width: 44px; padding-inline: 8px; flex-shrink: 0; }
  .zoom-controls output { min-width: 3em; }
}
.comparison-images:has(> .stamp-figure + .stamp-figure) { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.comparison-content:has(.comparison-images > .stamp-figure + .stamp-figure) { grid-template-columns: 1fr; }

/* Originating stamp on company histories and biographies. */
.profile-stamp-context { display: flow-root; }
.profile-stamp-thumbnail { float: right; display: block; width: min(150px, 33.333%); margin: 0 0 16px 24px; }
.profile-stamp-thumbnail img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .profile-stamp-thumbnail { margin-left: 12px; } }

/* Explicit story exception: wide illustrations precede the prose. */
.story-illustration-wide { width: 100%; }
.story-illustration.story-illustration-wide > a,
.story-illustration.story-illustration-wide > .image-info-media { width: 100%; max-width: none; }
.story-illustration.story-illustration-wide .image-info-media img { width: 100%; }

/* Match the Fuchs / Edward VII thumbnails with a centred square display crop. */
.illustration-pair-square-portraits .paired-illustration img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center; }

/* Stunning Stamps identity. Content widths and article typography remain above. */
.branded-header { align-items: center; gap: 24px; }
.branded-header .site-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: #305d49; text-decoration: none; font-weight: normal; }
.site-brand img { flex: none; display: block; }
.site-brand .brand-type { display: block; min-width: 0; }
.site-brand .brand-name { display: block; color: #305d49; font: 26px/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.5px; }
.site-header-links { display: flex; align-items: center; gap: 24px; font-size: .85rem; }
.site-header-links nav { align-items: center; }
.site-header-links nav a { display: inline-block; padding-block: 8px; }
.site-header-links nav a[aria-current] { text-decoration-thickness: 2px; }
.homepage .site-header, .homepage main, .homepage .site-footer { width: min(1160px, calc(100% - 80px)); }
.home-header { padding: 38px 0 30px; }
.home-header .site-brand { gap: 18px; }
.home-header .brand-name { font-size: 40px; letter-spacing: -1.2px; }
.home-header .brand-descriptor { display: block; margin-top: 6px; font: 13px/1.5 system-ui, sans-serif; color: #59675e; }
.homepage main { padding: 0; }
.home-hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 44px; align-items: center; padding: 66px 0 60px; }
.home-hero-copy { min-width: 0; }
.home-eyebrow { color: #305d49; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 18px; }
.home-hero h1 { font: clamp(36px, 3.8vw, 46px)/1.16 Georgia, "Times New Roman", serif; letter-spacing: -.7px; margin: 0; }
.home-intro { font-size: 17px; max-width: 450px; margin: 22px 0 20px; }
.home-browse { display: inline-block; padding-block: 8px; text-underline-offset: 5px; }
.home-browse span { display: inline-block; margin-left: 5px; }
.home-art { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; margin: 0; padding-bottom: 84px; }
.home-stamp-link { display: block; min-width: 0; }
.home-stamp-link:hover:not(:focus-visible) { outline: 2px solid #305d49; outline-offset: 4px; }
.home-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 4px #27332e12); }
.home-stamp-link:nth-child(2) { transform: translateY(28px); }
.home-stamp-link:nth-child(3) { transform: translateY(56px); }
.home-stamp-link:nth-child(4) { transform: translateY(84px); }
/* Additional monarchs use two rows instead of making the stamps smaller. */
.home-art-expanded { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; padding-bottom: 0; max-width: 430px; justify-self: center; }
.home-art-expanded .home-stamp-link { grid-column: span 2; transform: none !important; }
.home-art-expanded:has(> :nth-child(5):last-child) .home-stamp-link:nth-child(4) { grid-column: 2 / span 2; }
.home-monarchs { border-top: 1px solid #d8ddd7; padding: 28px 0 44px; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.home-section-heading h2 { margin: 0; font: 13px/1.5 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #305d49; }
.home-section-heading p { margin: 0; font-size: 12px; color: #59675e; }
.home-monarchs ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.home-monarchs li { min-width: 0; }
.home-monarchs a { display: block; padding: 12px 0; text-decoration: none; }
.home-monarch-name { display: flex; justify-content: flex-start; align-items: baseline; gap: 10px; font: 23px/1.3 Georgia, "Times New Roman", serif; }
.home-monarch-name > span { font: 18px/1.5 system-ui, sans-serif; }
.home-reign { display: block; margin-top: 7px; font-size: 13px; color: #59675e; }
.home-monarchs a:hover .home-monarch-name { text-decoration: underline; text-underline-offset: 5px; }
.home-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0 32px; }
.home-footer .site-footer-links { flex-basis: 100%; margin-top: 0; }
.home-footer > span:first-child { color: #305d49; }
.collection-reign { color: #59675e; font-size: .85rem; }
.collection-card .collection-reign { margin-top: -10px; margin-bottom: 16px; }
.skip-link:focus { z-index: 100; }
@media (max-width: 900px) {
  .homepage .site-header, .homepage main, .homepage .site-footer { width: calc(100% - 48px); }
  .home-hero { gap: 26px; }
  .home-art { gap: 10px; }
  .home-monarch-name { font-size: 20px; }
}
@media (max-width: 760px) {
  .home-hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
  .home-hero h1 { font-size: 42px; max-width: 510px; }
  .home-art { width: 100%; max-width: 480px; margin-inline: auto; gap: 16px; }
  .home-monarchs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
  .home-monarch-name { font-size: 23px; }
  .home-monarchs { padding-bottom: 28px; }
  .home-header { align-items: flex-start; flex-direction: column; gap: 16px; padding: 26px 0 20px; }
}
@media (max-width: 560px) {
  .branded-header { align-items: flex-start; gap: 12px; }
  .site-header-links { width: 100%; justify-content: space-between; gap: 16px; }
  .site-header-links > nav:only-child { margin-left: auto; }
  .homepage .site-header, .homepage main, .homepage .site-footer { width: calc(100% - 40px); }
  .home-header .site-brand { gap: 12px; }
  .home-header .site-brand img { width: 46px; height: 46px; }
  .home-header .brand-name { font-size: 32px; letter-spacing: -.7px; }
  .home-header .brand-descriptor { font-size: 11px; }
  .home-header .site-header-links { width: auto; }
  .home-header { gap: 10px; }
  .home-hero h1 { font-size: clamp(32px, 8.5vw, 39px); }
  .home-intro { font-size: 16px; }
  .home-art, .home-art-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 276px; gap: 22px 24px; padding-bottom: 0; }
  .home-stamp-link { transform: none !important; grid-column: auto !important; }
  .home-art-expanded:has(> :nth-child(5):last-child) .home-stamp-link:last-child { grid-column: 1 / -1 !important; width: calc((100% - 24px) / 2); justify-self: center; }
  .home-monarchs ul { gap: 6px 24px; }
  .home-monarch-name { font-size: 21px; }
  .home-monarch-name > span { font-size: 15px; }
  .home-footer { flex-direction: column; gap: 4px; }
}
@media (max-width: 359px) {
  .home-header .brand-name { font-size: 28px; }
  .home-header .brand-descriptor { max-width: 190px; }
  .home-monarchs ul { column-gap: 16px; }
  .home-monarch-name { font-size: 18px; gap: 4px; }
}


/* Centred stamp actions: the entries are presentation-only until wired. */
.stamp-options { position: relative; width: max-content; max-width: 100%; margin: 8px auto 0; color: #27332e; }
.stamp-options > summary { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 6px 16px; border: 1px solid #97a49a; border-radius: 4px; background: #faf9f5; color: #305d49; font: inherit; line-height: 1.4; cursor: pointer; list-style: none; }
.stamp-options > summary::-webkit-details-marker { display: none; }
.stamp-options > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.stamp-options > summary:hover, .stamp-options[open] > summary { background: #eef2ed; }
.stamp-options[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.stamp-options[open] { z-index: 25; }
.stamp-options-panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(240px, calc(100vw - 32px)); padding: 6px 0; border: 1px solid #c5cdc5; border-radius: 4px; background: #fff; box-shadow: 0 5px 18px #27332e24; text-align: left; line-height: 1.45; }
.stamp-options-panel ul { list-style: none; padding: 0; margin: 0; }
.stamp-options-panel li { padding: 9px 16px; margin: 0; }
.stamp-options-above > .stamp-options-panel { top: auto; bottom: calc(100% + 8px); }

.download-page .site-header, .download-page main, .download-page .site-footer { width: min(1160px, calc(100% - 40px)); }
.download-page [hidden] { display: none !important; }
.download-intro { max-width: 740px; }
.download-intro .lede { margin-bottom: 28px; }
.download-workspace { display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-areas: "controls preview" "actions preview"; grid-template-rows: auto 1fr; gap: 24px 40px; align-items: start; }
.download-controls { grid-area: controls; }
.download-preview { grid-area: preview; }
.download-actions { grid-area: actions; }
.download-controls { border: 0; margin: 0; padding: 0; min-width: 0; }
.download-controls > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.download-controls fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.download-controls legend, .download-text-label { display: block; font-weight: 650; margin-bottom: 10px; font-size: .95rem; }
.download-format { display: block; border: 1px solid #c9d0c6; padding: 14px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.download-format:has(input:checked) { border-color: #305d49; background: #eef2e9; box-shadow: inset 3px 0 #305d49; }
.download-format small { display: block; padding-left: 24px; color: #5e6861; font-size: .8rem; line-height: 1.5; margin-top: 4px; }
.download-controls input[type=radio] { accent-color: #305d49; }
.download-choices { display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: .85rem; }
.download-choices label { cursor: pointer; padding: 5px 0; }
.download-text-label input { display: block; width: 100%; min-width: 0; margin-top: 6px; padding: 10px; border: 1px solid #aeb8ad; border-radius: 3px; background: #fff; color: #27332e; font: 400 .9rem/1.5 system-ui, sans-serif; }
.download-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.download-position { display: inline-flex; gap: 14px; }
.download-position button { padding: 0; border: 0; background: none; color: #305d49; font: 400 .8rem/1.5 system-ui, sans-serif; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.download-position button[aria-pressed="true"] { font-weight: 700; text-decoration-thickness: 2px; }

.download-reset { border: 0; padding: 0; background: none; text-decoration: underline; text-underline-offset: .2em; color: #305d49; cursor: pointer; font: inherit; font-size: .8rem; margin-bottom: 24px; }
.download-action { display: inline-block; background: #305d49; color: #fff; border: 1px solid #305d49; border-radius: 3px; padding: 11px 20px; font: 600 .95rem/1.5 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.download-action:hover { background: #203f31; color: #fff; }
.download-action:disabled { opacity: .6; cursor: wait; }
.download-preview { margin: 0; padding: 22px; border: 1px solid #d8ddd7; background: #e9ebe5; text-align: center; }
.download-preview canvas { display: block; max-width: 100%; max-height: 690px; width: auto; height: auto; margin: auto; box-shadow: 0 3px 14px #1b30221c; }
.download-preview figcaption { font-size: .8rem; margin-top: 16px; }
.download-status { margin-top: 14px; font-size: .85rem; }
.download-error { padding: 18px; border: 1px solid #b38e71; background: #fff8ed; }
.stamp-options-panel a { display: block; }
@media (max-width: 760px) { .download-workspace { grid-template-columns: 1fr; grid-template-areas: "controls" "preview" "actions"; grid-template-rows: auto; gap: 24px; } .download-preview { padding: 14px; } .download-preview canvas { max-height: 600px; } }

.image-use-agreement {display:flex;align-items:baseline;gap:.55em;margin:0 0 18px;font-size:.85rem;line-height:1.6;}
.image-use-agreement input {flex:none;accent-color:#305d49;}
.image-use-agreement label {cursor:pointer;}
.image-use-link {border:0;padding:0;background:none;color:#305d49;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
#image-use-dialog {box-sizing:border-box;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;background:#faf9f5;color:#27342e;border:1px solid #aab5aa;border-radius:4px;}
#image-use-dialog::backdrop {background:rgb(0 0 0 / .45);}
#image-use-dialog h2 {margin:0 0 20px;}
#image-use-dialog p {font-size:.9rem;line-height:1.65;margin:0 0 18px;}
.download-action[aria-disabled="true"],.download-action:disabled {opacity:.6;cursor:not-allowed;}

/* Credit the modern artwork separately from the historical stamp designers. */
.stamp-artwork-credit { display: block; margin: 8px 0 0; color: #5e6861; font-size: .75rem; line-height: 1.5; text-align: center; }

/* Victoria set navigation and the fifth monarch. */
.victoria-set-table table { width: 100%; border-collapse: collapse; text-align: left; }
.victoria-set-table th, .victoria-set-table td { padding: 10px 8px; vertical-align: top; border-bottom: 1px solid #d8ddd7; }
@media (min-width: 761px) { .home-monarchs ul:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
