:root {
    --ink: rgb(25 55 39);
    --gold: #97753b;
    --paper: #fcfaf5;
    --line: #d8d1c0;
    --muted: #526258;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.55 Georgia,'Times New Roman',serif;
	--green-50: rgb(236 253 245);
    --green-100: rgb(209 250 229);
    --green-200: rgb(167 243 208);
    --green-300: rgb(110 231 183);
    --green-400: rgb(52 211 153);
    --green-500: rgb(16 185 129);
    --green-600: rgb(5 150 105);
    --green-700: rgb(4 120 87);
    --green-800: rgb(6 95 70);
    --green-900: rgb(6 78 59);
    --green-950: rgb(25 55 39);
}

* {
    box-sizing: border-box;
}

body,h1,h2,h3,p,figure {
    margin: 0;
}

a {
    color: inherit;
}

button {
    color: inherit;
    cursor: pointer;
}

a,button {
    touch-action: manipulation;
}

a:focus-visible,button:focus-visible {
    outline: 3px solid #a46d16;
    outline-offset: 4px;
}

button,nav,.button,.read,small,figcaption,.controls,footer span,aside {
    font-family: system-ui,sans-serif;
}

.wrap {
    width: min(1440px,92%);
    margin-inline: auto;
}

[hidden] {
    display: none!important;
}

.genblock {
            width: 90vw;        /* 100% of the viewport width */
            position: relative;  /* Needed if you add absolute positioning later */
            box-sizing: border-box; /* Ensures padding doesn't add width */
			margin:auto;
        }

        /* The image styled to fit the container perfectly */
        .genblock img {
            display: block;      /* Removes default bottom whitespace for images */
            width: 100%;         /* Image stretches to fill the container width */
            height: auto;        /* Maintains the image's aspect ratio */
            object-fit: cover;   /* Ensures the image covers the area without stretching */
        }

.sr,.skip:not(:focus) {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip:focus {
    position: fixed;
    top: 0;
    left: 1rem;
    padding: 1rem;
    background: white;
    z-index: 100;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fcfaf5fa;
    border-block: 3px solid var(--ink);
    border-bottom: 1px solid var(--line);
}

.mast,nav,footer .wrap,.sectionhead,.controls,.welcome,.pair {
    display: flex;
    align-items: center;
}

.mast {
    min-height: 82px;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    font-size: clamp(1.2rem,2vw,2.1rem);
    letter-spacing: -.045em;
    white-space: nowrap;
}

.brand img {
    width: 50px;
    height: 50px;
    mix-blend-mode: multiply;
}

.brand em {
    font-weight: 400;
}

.mast nav {
    gap: clamp(12px,1.4vw,24px);
}

nav a,.read,.button {
    text-decoration: none;
    font-weight: 600;
    font-size: .86rem;
}

nav a:hover,.read:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

nav a[aria-current] {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.login,.button {
    background: var(--ink);
    color: white;
    padding: .8rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    border-radius: 3px;
}

.button:hover,.login:hover {
    background: #295143;
}

#menu,.controls button {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 3px;
    padding: .6rem;
}

.album {
    position: relative;
    margin-top: clamp(18px,2.4vw,40px);
    border: 1px solid var(--line);
    background: #f3eddf;
    box-shadow: 0 4px 0 -1px var(--paper),0 5px 0 var(--line),0 9px 0 -3px var(--paper),0 10px 0 -3px var(--line);
}

.sheets {
    position: relative;
    perspective: 1800px;
    overflow: hidden;
}

.sheet {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: clamp(400px,35vw,520px);
    background: #f3eddf;
    transform-origin: left center;
    backface-visibility: hidden;
}

.sheet-copy {
    padding: clamp(30px,4.3vw,75px);
    align-self: center;
}

.sheet figure {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.sheet figure img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
}

.sheet figure:before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 14px;
    z-index: 1;
    background: linear-gradient(90deg,#382c2136,transparent);
	
}

.sheet figcaption {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: #fcfaf5e8;
    color: #4c493d;
    padding: 2px 7px;
    font-size: .66rem;
}

small {
    display: block;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .67rem;
    font-weight: 750;
    color: #745b30;
}

.rule {
    display: inline-block;
    background: var(--gold);
    width: 24px;
    height: 1px;
    vertical-align: middle;
    margin-right: 10px;
}

h1,h2,h3 {
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.048em;
}

.sheet h2 {
    font-size: clamp(3.2rem,4.9vw,5.2rem);
    margin: .28em 0;
	color:var(--green-950);
	text-shadow: 
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 18px rgba(255, 255, 255, 0.3);
	
}

.sheet h2 em {
    display: block;
    color: #536d50;
}

.sheet-copy p {
    max-width: 35em;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.55;
}

.button {
    margin-top: 1.4rem;
}

.controls {
    min-height: 48px;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    padding: 4px 1rem;
    background: #f8f5ec;
}

.controls button {
    width: 38px;
    height: 38px;
    font-size: .92rem;
    border-radius: 50%;
    padding: 0;
}

.controls button:hover {
    background: #e5dfce;
}

.controls span {
    margin-right: auto;
    font-size: .72rem;
    letter-spacing: .14em;
}

.tracks {
    display: flex;
    gap: 4px;
    margin-right: 1em;
}

.tracks b {
    width: 22px;
    height: 2px;
    background: #cdc8b8;
}

.tracks b.on {
    background: var(--ink);
}

.block,.reading {
    padding-block: clamp(44px,5vw,78px);
}

.sectionhead {
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.sectionhead h2,.welcome h2,.pair h2,.prose h2,.empty h2 {
    font-size: clamp(2rem,3vw,3.4rem);
    margin-top: .15em;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: clamp(16px,2vw,36px);
}

.card {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.4rem;
}

.card img {
    display: block;
    width: 100%;
    height: clamp(150px,15vw,240px);
    object-fit: cover;
}

.card img.crest,.reading img.crest {
    object-fit: contain;
    background: #f0ebdf;
    mix-blend-mode: multiply;
    padding: 10px;
}

.cardbody {
    padding-top: 1.1rem;
}

.card h3 {
    font-size: clamp(1.6rem,2vw,2.2rem);
    margin: .3em 0;
}

.card p,.pair p,.reading aside,.prose p {
    color: var(--muted);
}

.read {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

.card .read,.green .read,.empty .read {
    margin-top: 1rem;
}

.card:hover h3,.pair a:hover h2 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.green {
    background: var(--green-950);
    color: #fffaf0;
}

.green small {
    color: #d7c696;
}

.welcome,.pair {
    align-items: flex-start;
    gap: 8%;
    padding-block: 3.5rem;
}

.welcome>*,.pair>* {
    flex: 1;
}

.welcome p,.prose p {
    font-size: 1.16rem;
}

.pair>a {
    display: block;
    text-decoration: none;
    border-top: 2px solid var(--line);
    padding-top: 1.4rem;
}

.pair>a>.bi {
    color: var(--gold);
    font-size: 1.4rem;
}

.pair p {
    margin: .65em 0;
}

.pagehead {
    background: #f3eddf;
    padding: 2.8rem 0;
    border-bottom: 1px solid var(--line);
}

.pagehead h1,.reading h1,.block>h1 {
    font-size: clamp(2.8rem,5vw,5rem);
    margin: .4em 0 .18em;
}

.pagehead p,.standfirst {
    font-size: 1.25rem;
    max-width: 650px;
}

.reading {
    max-width: 820px;
}

.reading small {
    margin-top: 2rem;
}

.reading>p,.prose p {
    margin: 1em 0;
    line-height: 1.7;
}

.reading>p:not(.standfirst) {
    font-size: 1.15rem;
}

.reading figure {
    margin: 2rem 0;
}

.reading img {
    width: 100%;
    max-height: 410px;
    object-fit: cover;
}

.reading figcaption,aside {
    font-size: .85rem;
    color: var(--muted);
}

.reading aside,.empty {
    padding: 1.5rem;
    border: 1px solid var(--line);
    background: #f6f2e8;
}

.prose {
    max-width: 700px;
}

.prose .button {
    margin: 0 0 2rem;
}

.filters {
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filters a {
    border: 1px solid var(--line);
    padding: .45rem .85rem;
    border-radius: 20px;
}

.filters a[aria-current] {
    background: var(--ink);
    color: white;
    text-decoration: none;
}

.empty p {
    margin-top: .6rem;
}

footer {
    border-top: 1px solid var(--line);
}

footer .wrap {
    gap: 1.2rem;
    flex-wrap: wrap;
    padding-block: 1.5rem;
}

footer span,footer a:last-child {
    font-size: .84rem;
}

footer a:last-child {
    margin-left: auto;
}

@media(max-width:1100px) {
    .mast {
        flex-wrap: wrap;
        min-height: 68px;
        padding-block: .5rem;
    }

    .mast nav {
        width: 100%;
        flex-wrap: wrap;
        padding: .6rem 0;
    }

    .enhanced #menu {
        display: block!important;
    }

    .enhanced #primary:not(.open) {
        display: none;
    }

    .enhanced #primary.open {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-height: 70vh;
        overflow: auto;
    }

    .mast nav a {
        padding: .7rem;
    }

    .brand img {
        width: 41px;
        height: 41px;
    }
.hero-logo{
	width:150px;
	right:50px;
	top:50px;
}
}

@media(max-width:720px) {
    .sheet {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .sheet figure {
        grid-row: 1;
        height: clamp(155px,45vw,260px);
    }

    .sheet-copy {
        padding: 1.5rem;
    }

    .sheet h2 {
        font-size: clamp(2.7rem,8vw,3.6rem);
    }

    .sheet-copy p {
        font-size: 1rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card img {
        height: clamp(170px,46vw,280px);
    }

    .welcome,.pair {
        display: grid;
        gap: 2rem;
    }

    .sectionhead {
        align-items: flex-end;
    }

    .sectionhead .read {
        font-size: .75rem;
    }

    .brand {
        font-size: 1.4rem;
    }

    footer a:last-child {
        margin-left: 0;
    }

    .wrap {
        width: 92%;
    }
}

/* Contemporary public archive */

:root {
    --ink: #102f2d;
    --gold: #08765c;
    --paper: #fff;
    --line: #dbe4e1;
    --muted: #475b59;
    font-family: Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
}

header {
    background: rgba(255,255,255,.97);
    border-top: 0;
}

.mast {
    min-height: 76px;
}

.brand {
    font-weight: 750;
    letter-spacing: -.055em;
}

.brand em {
    font-weight: 450;
    font-style: normal;
}

.login,.button {
    border-radius: 100px;
}

.album {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: #0b212c;
    color: #fff;
    isolation: isolate;
}

.sheets {
    perspective: none;
}

.sheet {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(540px,72svh,810px);
    background: #112937;
    isolation: isolate;
}

.hero-logo{
	width:200px;
	position:absolute;
	right:100px;
	top:100px;
	z-index:999;
	display: block;
  animation: slowSpin 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slowSpin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}


/* Optional: Respects user accessibility settings for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-logo {
    animation: none;
  }
  
  .hero-logo{
	width:150px;
	right:50px;
	top:50px;
}

}




.sheet figure {
    position: absolute;
    inset: 0;
    z-index: -1;
    height: auto;
}

.sheet figure img {
    inset: 0;
    object-position: 50% 30%;
}

.sheet figure:before {
    inset: 0;
    width: auto;
    /* background: linear-gradient(90deg,rgba(4,22,30,.88),rgba(4,22,30,.58) 38%,transparent 78%), linear-gradient(0deg,rgba(4,20,28,.72),transparent 30%); */
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.30) 40%,
        transparent 65%
    );
}


.sheet-copy {
    width: min(1440px,90%);
    margin: auto;
    padding: 70px 0 110px;
}

.sheet small {
    color: white;
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .72rem;
}

.sheet .rule {
    width: 25px;
    height: 3px;
    background: #83f3c5;
    margin: 0;
}

.sheet h2 {
    font-size: clamp(4.4rem,7.8vw,8.1rem);
    line-height: .94;
    letter-spacing: -.075em;
    font-weight: 730;
    margin: .23em 0;
}

.sheet h2 em {
    color: #a7ffdb;
    font-style: normal;
    font-weight: inherit;
}

.sheet-copy p {
    max-width: 32em;
    color: #f1f7f6;
    font-size: clamp(1rem,1.35vw,1.23rem);
    line-height: 1.55;
}

.sheet .button {
    color: #073f35;
    background: #a7ffdb;
    padding: .85rem 1.3rem;
}

.sheet .button:hover {
    background: white;
}

.sheet figcaption {
    z-index: 2;
    background: transparent;
    color: white;
    font-size: .81rem;
    bottom: 28px;
    right: 5%;
    padding: 0;
}

.controls {
    position: absolute;
    z-index: 3;
    left: 5%;
    bottom: 18px;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 7px;
}

.controls span {
    font-weight: 650;
}

.tracks b {
    background: #ffffff6b;
}

.tracks b.on {
    background: #a7ffdb;
}

.controls button {
    background: #0a262bd9;
    border: 1px solid #ffffff70;
    color: white;
}

.controls button:hover {
    background: #16564c;
}

h1,h2,h3 {
    font-weight: 650;
    letter-spacing: -.055em;
}

small {
    color: #176850;
}

.accent-dot {
    color: #04a376;
}

.card img {
    border-radius: 12px;
}

.card img.crest,.reading img.crest {
    background: #edf5f3;
}

.card h3 {
    font-size: clamp(1.45rem,2vw,2rem);
}

.card p,.pair p {
    line-height: 1.55;
}

.pagehead,.empty,.reading aside {
    background: #eff6f4;
}

.green {
    background: #073d36;
}

.green small {
    color: #a7ffdb;
}

.pair>a {
    border-color: #c4dfd6;
}

.credits-link {
    font-size: .84rem;
}

@media(max-width:720px) {
    .mast {
        min-height: 64px;
    }

    .sheet {
        min-height: clamp(520px,75svh,690px);
    }

    .sheet figure {
        height: auto;
    }

    .sheet figure:before {
        /* background: linear-gradient(90deg,#061e2bc9,transparent 120%),linear-gradient(0deg,#061e2beb,transparent 83%); */
		    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.30) 40%,
        transparent 65%
    );
    }

    .sheet-copy {
        padding: 70px 0 115px;
    }

    .sheet h2 {
        font-size: clamp(3.6rem,11.5vw,5.7rem);
    }

    .sheet figcaption {
        bottom: 12px;
        font-size: .66rem;
    }

    .controls {
        bottom: 27px;
    }
	
	.hero-logo{
	width:100px;
	right:50px;
	top:50px;
}
}

/* Forest green type, white surfaces and a neutral green photographic overlay. */

:root {
    --ink: #153e29;
    --muted: #48604e;
    --gold: #266d40;
    --line: #d9e3d9;
}

.album,.sheet {
    background: #132e1d;
}

.sheet figure:before {
    /* background: linear-gradient(90deg,#092613ed,#1227189c 42%,transparent 85%),linear-gradient(0deg,#071a0fc4,transparent 42%); */
	    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.30) 40%,
        transparent 65%
    );
}

.sheet h2 em {
    color: #e3f6d8;
}

.sheet .rule,.tracks b.on {
    background: #b7dfaa;
}

.sheet .button {
    background: white;
    color: #164e2d;
}

.sheet .button:hover {
    background: #e2f2df;
}

.controls button {
    background: #122f1cc9;
}

.controls button:hover,.button:hover,.login:hover {
    background: #235536;
}

.sheet .button:hover {
    color: #153e29;
}

.green,.filters a[aria-current] {
    background: #17482c;
}

.green small {
    color: #c9e6c7;
}

.accent-dot,small {
    color: #326d39;
}

.pagehead,.empty,.reading aside,.research-band,.emblem-panel {
    background: #f1f6ee;
}

.chapter {
    padding-block: clamp(3rem,6.6vw,6.5rem);
}

.chapter-heading {
    max-width: 720px;
}

.chapter-heading h2 {
    font-size: clamp(2.15rem,4.2vw,4.25rem);
    margin: .23em 0;
}

.chapter-heading p,.places p,.evidence p {
    color: var(--muted);
    line-height: 1.7;
}

.chapter-heading p {
    font-size: clamp(1.02rem,1.35vw,1.24rem);
}

.place-feature,.emblem-feature {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(2rem,6vw,6rem);
}

.place-feature {
    margin-top: 2.4rem;
}

.place-feature img {
    width: 100%;
    height: clamp(230px,29vw,390px);
    object-fit: cover;
    border-radius: 12px;
}

.place-feature figcaption {
    font-size: .78rem;
    color: var(--muted);
}

.places article {
    border-left: 3px solid #b0cbaa;
    padding-left: 1.3rem;
    margin-bottom: 1.5rem;
}

.chapter h3 {
    font-size: clamp(1.35rem,2vw,1.95rem);
    margin: .45rem 0;
}

.evidence {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
    margin: 2.5rem 0;
}

.evidence article {
    padding-top: 1.4rem;
    border-top: 1px solid #9fbb9f;
}

.evidence .bi {
    font-size: 1.6rem;
    color: #367340;
}

.emblem-panel {
    display: grid;
    place-items: center;
    padding: 2rem;
    border-radius: 1rem;
}

.emblem-panel img {
    max-width: 100%;
    width: 285px;
    mix-blend-mode: multiply;
}

.contribute {
    border-block: 1px solid var(--line);
    background: #f7faf6;
}

.contribute .read {
    margin-top: 1.2rem;
}

@media(max-width:720px) {
    .place-feature,.emblem-feature,.evidence {
        grid-template-columns: 1fr;
    }

    .sheet figure:before {
        /* background: linear-gradient(90deg,#0a281ac9,transparent 125%),linear-gradient(0deg,#0a2010eb,transparent 90%); */
		    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.30) 40%,
        transparent 65%
    );
    }

    .emblem-panel img {
        width: 205px;
    }
	
	.hero-logo{
	width:100px;
	right:50px;
	top:50px;
}
}
