body.dw-archive-page {
    --ink: #331b12;
    --paper: #f4e8d1;
    --wine: #943523;
    --cream: #fff0d5;
    --heading: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
.dw-sitebar, #dw-main { box-sizing: border-box; }
.dw-sitebar *, #dw-main * { box-sizing: border-box; }
#dw-main [hidden] { display: none !important; }
.dw-sitebar {
    display: flex; justify-content: space-between; align-items: center;
    background: #241710; color: var(--cream); padding: .45rem clamp(1rem, 4vw, 4rem);
    border-bottom: 1px solid #9a6449;
}
.dw-sitebar a { color: inherit; font-family: var(--heading); text-decoration: none; }
.dw-sitebar a:first-child { font-size: clamp(1.15rem, 2.4vw, 1.85rem); font-weight: 700; }
.dw-sitebar a:last-child { text-decoration: underline; text-decoration-color: #cf7352; text-underline-offset: .3em; }
#dw-main h1, #dw-main h2 { font-family: var(--heading); color: inherit; font-weight: 700; line-height: 1.03; margin: 0; }
#dw-main h1 { font-size: clamp(2.8rem, 6.25vw, 6.25rem); letter-spacing: -.055em; }
#dw-main h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); letter-spacing: -.035em; }
.dw-hero {
    display: grid; grid-template-columns: 43fr 57fr; align-items: center;
    color: var(--cream); background: radial-gradient(ellipse at 82% 5%, #543022, transparent 72%), #261811;
    border-bottom: 4px solid #6d3e2d;
}
.dw-hero-copy { padding: clamp(1.65rem, 4.7vw, 5rem) 0 clamp(1.65rem, 4.7vw, 5rem) clamp(1rem, 5.5vw, 6rem); }
.dw-hero-copy p { font: italic clamp(1.05rem, 2vw, 1.65rem)/1.35 var(--heading); margin: .5rem 0 1.2rem; }
.dw-hero-art {
    align-self: center; background-image: url(scrapbook.webp);
    background-repeat: no-repeat; background-size: 174.55% auto; background-position: 100% 6%;
    aspect-ratio: 2.94; width: 100%;
}
#dw-main a { text-underline-offset: .18em; }
#dw-main a:focus-visible, #dw-main button:focus-visible, #dw-main input:focus-visible,
#dw-main select:focus-visible, #dw-main textarea:focus-visible { outline: 3px solid #1d6870; outline-offset: 3px; }
#dw-main .dw-button, #dw-main .dw-outline {
    display: inline-block; width: fit-content; cursor: pointer; text-decoration: none;
    border-radius: .3rem; border: 1px solid #8b6951; padding: .5rem .9rem;
    font: 700 1rem/1.35 system-ui, sans-serif; text-transform: none;
}
#dw-main .dw-button { background: var(--wine); color: #fff5e2; border-color: #a9523e; padding: .7rem 1.1rem; }
#dw-main .dw-button:hover { background: #742719; }
#dw-main .dw-outline { background: #fdf2dd; color: var(--ink); }
#dw-main .dw-outline:hover { background: #eddbc0; }
.dw-wrap {
    max-width: 1500px; margin: 0 auto; padding: 1.45rem clamp(1rem, 3.2vw, 3.5rem) 4rem;
    background: radial-gradient(ellipse at 13% 15%, #fff7e7a8, transparent 69%);
}
.dw-section-head { display: flex; gap: .75rem 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.dw-section-head a { color: #733021; }
.dw-filter { display: flex; gap: .4rem; align-items: center; margin: 0; }
.dw-filter select { width: auto; min-height: 2.5rem; padding: .35rem 1.65rem .35rem .65rem; background: #fff3dd; border: 1px solid #8b6951; border-radius: .3rem; color: var(--ink); font: inherit; }
.dw-albums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.45vw, 1.4rem); }
#dw-main .dw-album {
    display: grid; align-content: start; grid-template-rows: auto 1fr; color: var(--ink);
    text-decoration: none; padding: .55rem; background: var(--cover-frame, #a47342);
    border: 1px solid #77513c; border-radius: .52rem; box-shadow: 0 .25rem .6rem #38201430, inset 0 0 0 2px #fff2d044;
}
#dw-main .dw-album:hover, #dw-main .dw-album[aria-current] { box-shadow: 0 0 0 3px #8f412b, 0 .3rem .6rem #38201430; }
.dw-cover { display: block; aspect-ratio: 2; border: 1px solid #39271650; background-image: url(scrapbook.webp); background-size: 465.45% auto; background-position: var(--image-x) 48.9%; }
.dw-album-family { --image-x: 4.2%; --cover-frame: #c59864; }
.dw-album-oklahoma { --image-x: 36%; --cover-frame: #646247; }
.dw-album-events { --image-x: 66.2%; --cover-frame: #933e32; }
.dw-album-clippings { --image-x: 96.5%; --cover-frame: #9a6a3b; }
.dw-album-name {
    display: grid; place-items: center; text-align: center; padding: .5em .3em; min-height: 2.5em;
    background: #f2dfbb; color: #361c11; font: 700 clamp(.9rem, 1.74vw, 1.6rem)/1.12 var(--heading);
}
.dw-gallery, .dw-share { margin-top: clamp(1.7rem, 4vw, 3.3rem); scroll-margin-top: 3.75rem; }
.dw-prints { display: grid; align-items: start; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
#dw-main .dw-print {
    margin: 0; padding: .65rem; min-width: 0; background: #fff2d9;
    border: 1px solid #c5a784; border-radius: .3rem; box-shadow: 0 .22rem .48rem #38201425;
}
.dw-print.dw-wide { grid-column: span 2; }
.dw-enlarge { display: block; text-align: center; background: #efe0c5; }
#dw-main .dw-enlarge img { display: block; width: 100%; height: auto; max-height: 29rem; object-fit: contain; }
.dw-print figcaption { padding: .5rem .2rem .08rem; line-height: 1.4; overflow-wrap: anywhere; }
.dw-print strong { font: 700 1.2rem var(--heading); }
.dw-print p { margin: .25rem 0; }
.dw-print .dw-people { white-space: pre-line; }
.dw-print a { color: #733021; }
.dw-print small { color: #614b40; }
.dw-new { background: #943523; color: #fff5e2; padding: .1rem .35rem; margin-left: .35rem; border-radius: .18rem; font-size: .78rem; }
.dw-more { margin-top: 1rem; }
.dw-empty { padding: .8rem 1rem; background: #fff2d9; border-left: 3px solid #ad6b46; }
.dw-share { max-width: 49rem; margin-inline: auto; border-top: 1px solid #b79a79; padding-top: 1.4rem; }
.dw-form { display: grid; gap: 1rem; margin: 1rem 0 0; padding: clamp(.8rem, 2vw, 1.6rem); background: #fff4de; border: 1px solid #c6a585; border-radius: .45rem; }
.dw-form label { display: grid; gap: .25rem; font-weight: 600; }
.dw-form small { font-weight: 400; display: block; }
.dw-form :is(input:not([type=checkbox], [type=radio]), select, textarea) {
    width: 100%; min-width: 0; color: #302018; font: inherit; font-weight: 400;
    background: #fffaf0; border: 1px solid #9c7b61; border-radius: .25rem; padding: .55rem;
}
.dw-form fieldset { border: 1px solid #b69576; padding: .65rem .8rem; margin: 0; min-width: 0; }
.dw-form legend { font-weight: 700; padding-inline: .25rem; }
.dw-form .dw-choice { display: flex; gap: .45rem; align-items: baseline; margin: .25rem 0; font-weight: 400; }
.dw-form .dw-choice input { flex: 0 0 auto; }
.dw-form fieldset textarea { margin-top: .2rem; }
.dw-form fieldset label:has(textarea) { margin-top: .65rem; }
.dw-contact, #dw-clipping-fields { display: grid; gap: .8rem; }
.dw-contact { grid-template-columns: 1fr 1fr; }
.dw-notice { background: #e8edd7; border-left: 4px solid #5e713b; padding: .75rem 1rem; }
.dw-error { background: #f8dacf; border-color: #943523; }
.dw-trap, .dw-sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
#dw-viewer { position: fixed; inset: 0; margin: auto; border: 1px solid #8b6951; border-radius: .4rem; padding: .65rem; background: #fff2d9; max-width: 94vw; max-height: 94vh; }
#dw-viewer::backdrop { background: #241711db; }
#dw-viewer img { display: block; max-width: 88vw; max-height: 80vh; object-fit: contain; margin-top: .45rem; }
#dw-viewer form { display: flex; justify-content: flex-end; margin: 0; }
@media (max-width: 770px) {
    .dw-hero { grid-template-columns: 1fr; }
    .dw-hero-copy { padding: 1.5rem 1.15rem; }
    .dw-albums { grid-template-columns: 1fr 1fr; }
    .dw-album-name { font-size: clamp(.95rem, 3.2vw, 1.35rem); }
    .dw-prints { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 500px) {
    .dw-prints, .dw-contact { grid-template-columns: 1fr; }
    .dw-print.dw-wide { grid-column: auto; }
}
