:root {
    --bg: #070811;
    --panel: #11131e;
    --panel2: #191b28;
    --ink: #f4f0e9;
    --muted: #b7b4bc;
    --gold: #d9b976;
    --line: #34323d;
    --header: 68px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header)
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6
}

a {
    color: inherit
}

button,
input,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    line-height: 1.15
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    letter-spacing: .12em;
    font-weight: normal;
    color: var(--gold)
}

h3 {
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-weight: normal;
    letter-spacing: .035em
}

.eyebrow {
    font-family: Arial, sans-serif;
    color: var(--gold);
    font-size: .75rem;
    letter-spacing: .22em;
    font-weight: 700
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header);
    background: rgba(7, 8, 17, .94);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 5vw, 5rem);
    font-family: Arial, sans-serif
}

.brand {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .15em
}

.brand span {
    color: var(--gold)
}

.site-header nav {
    display: flex;
    gap: clamp(1rem, 3vw, 3rem)
}

.site-header nav a {
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .16em;
    font-weight: 700
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
    color: var(--gold)
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: .45rem .7rem
}

.entrance {
    min-height: 100svh;
    padding: calc(var(--header) + 2rem) 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 85px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%, #161a2b 0%, #090a15 60%, #05050a 100%)
}

.crest {
    position: absolute;
    pointer-events: none;
    font-size: min(65vw, 34rem);
    opacity: .045;
    line-height: 1;
    top: 12%;
    color: #fff
}
.crest img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.entrance>*:not(.crest) {
    position: relative
}

.entrance h1 {
    font-size: clamp(1.9rem, 4vw, 4rem);
    font-weight: normal;
    margin: .3rem 0
}

.entrance h1 span,
.four-vs span {
    color: var(--gold)
}

.intro {
    color: var(--muted)
}

.symbols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.5rem, 3vw, 3rem);
    width: min(900px, 100%);
    margin: 2.5rem auto 2.8rem
}

.symbols>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem
}

.symbol {
    display: grid;
    place-items: center;
    height: clamp(90px, 13vw, 160px);
    width: 100%;
    border: 1px solid #3b3941;
    border-radius: 4px;
    background: rgba(255, 255, 255, .025);
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: var(--gold)
}

.symbols b {
    font: 700 .8rem Arial, sans-serif;
    letter-spacing: .15em
}

.symbols small {
    color: var(--muted);
    font-style: italic
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 45px;
    padding: .75rem 1.4rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    text-decoration: none;
    font: 700 .75rem Arial, sans-serif;
    letter-spacing: .14em;
    transition: background .2s, color .2s
}

.button:hover,
.button:focus-visible {
    background: var(--gold);
    color: #111
}

.button.primary {
    background: var(--gold);
    color: #111
}

.button.primary:hover {
    background: #f2dba5
}

.chapter {
    min-height: 100svh;
    padding: calc(var(--header) + 3rem) clamp(1rem, 5vw, 5rem) 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #242430;
    background: radial-gradient(circle at 50% 55%, #10111c 0%, #080911 72%)
}

.chapter-heading {
    text-align: center
}

.chapter-heading h2 {
    margin-bottom: 10px
}

.slideshow {
    width: min(1120px, 100%)
}

.slide-window {
    min-height: 380px
}

.slide {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    background: rgba(18, 19, 29, .8);
    border: 1px solid var(--line);
    min-height: 380px
}

.slide[hidden] {
    display: none
}

.slide-media {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #191b27
}

.slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: contain
}

.slide-media.empty {
    background: repeating-linear-gradient(135deg, #1b1d2a, #1b1d2a 18px, #202231 18px, #202231 19px);
    color: #8b8997;
    font: 700 .8rem Arial, sans-serif;
    letter-spacing: .2em
}

.slide-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(1.5rem, 4vw, 4rem)
}
.slide {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    background: rgba(18, 19, 29, .8);
    border: 1px solid var(--line);
    min-height: 380px
}

.slide[hidden] {
    display: none
}

.slide-media {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #191b27
}

.slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: contain
}

.slide-media.empty {
    background: repeating-linear-gradient(135deg, #1b1d2a, #1b1d2a 18px, #202231 18px, #202231 19px);
    color: #8b8997;
    font: 700 .8rem Arial, sans-serif;
    letter-spacing: .2em
}

.slide-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(1.5rem, 4vw, 4rem)
}
.slide-copy h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    white-space: nowrap;
}
.slide-copy p {
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 38ch
}

.slide-cta {
    margin-top: 1rem
}

.slide-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1.25rem 0 1rem
}

.slide-copy p {
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 38ch
}

.slide-cta {
    margin-top: 1rem
}

.slide-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1.25rem 0 1rem
}

.arrow {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 1
}

.arrow:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.dots {
    display: flex;
    gap: .85rem
}

.dot {
    width: 11px;
    height: 11px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    padding: 0;
    background: transparent
}

.dot.active {
    background: var(--gold)
}

.next-section {
    font: 700 .72rem Arial, sans-serif;
    letter-spacing: .15em;
    color: var(--gold);
    text-decoration: none;
    margin-top: 2rem;
    text-align: center
}

.next-section span {
    margin-left: .8rem
}

.next-section:hover {
    text-decoration: underline
}

.support-section {
    padding: calc(var(--header) + 4rem) clamp(1rem, 8vw, 8rem) 6rem;
    max-width: 1400px;
    margin: auto;
    min-height: 65vh
}

.support-section>p:not(.eyebrow) {
    color: var(--muted);
    max-width: 60ch
}

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

.gallery-grid a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: .7rem;
    font-family: Arial, sans-serif;
    font-size: .8rem;
    letter-spacing: .07em
}

.gallery-placeholder {
    aspect-ratio: 4/5;
    display: grid;
    place-items: center;
    background: var(--panel2);
    border: 1px solid var(--line);
    font: normal 3rem Georgia, serif;
    color: #5b5860
}

.gallery-grid a:hover .gallery-placeholder {
    border-color: var(--gold)
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) 1.3fr;
    gap: 3rem;
    align-items: center
}

.portrait-placeholder {
    aspect-ratio: 4/5;
    background: var(--panel2);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--muted);
    font: 700 .8rem Arial, sans-serif;
    letter-spacing: .15em
}

.about-layout p {
    font-size: 1.1rem;
    color: var(--muted)
}

.about-layout .four-vs {
    color: var(--ink);
    font-size: .9rem;
    letter-spacing: .12em;
    margin-top: 2rem
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2rem, 6vw, 7rem);
    margin-top: 2rem
}

.contact-layout form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem
}

.contact-layout label {
    font: 700 .75rem Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase
}

.contact-layout input,
.contact-layout textarea {
    width: 100%;
    background: #181a25;
    color: var(--ink);
    border: 1px solid #565360;
    padding: .8rem;
    margin-bottom: .7rem;
    border-radius: 0
}

.contact-layout input:focus,
.contact-layout textarea:focus {
    outline: 2px solid var(--gold)
}
.contact-layout h3 {
    font-size: 1.4rem
}
.newsletter {
    padding: 2rem;
    background: var(--panel);
    border: 1px solid var(--line);
    align-self: start
}

.newsletter h3 {
    font-size: 1.4rem
}

.newsletter p {
    color: var(--muted)
}

.small-note {
    font: italic .8rem Arial, sans-serif;
    color: var(--muted)
}

footer {
    border-top: 1px solid var(--line);
    padding: 2rem clamp(1rem, 5vw, 5rem);
    font: .75rem Arial, sans-serif;
    color: var(--muted);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between
}

footer a {
    color: var(--gold)
}

@media(max-width:760px) {
    :root {
        --header: 60px
    }

    .menu-toggle {
        display: block
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #0b0c15;
        border-bottom: 1px solid var(--line)
    }

    .site-header.menu-open nav {
        display: flex
    }

    .site-header nav a {
        padding: 1rem 1.5rem;
        border-top: 1px solid var(--line)
    }

    .symbols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 450px;
        gap: 1.3rem
    }

    .symbol {
        height: 105px
    }

    .entrance {
        padding-top: calc(var(--header) + 2rem)
    }

    .chapter {
        padding: calc(var(--header) + 2rem) 1rem 3rem
    }

    .chapter-heading h2 {
        margin-bottom: 1.5rem
    }

    .slide {
        grid-template-columns: 1fr
    }

    .slide-window {
        min-height: 0
    }

    .slide-media {
        height: min(50vh, 340px);
        min-height: 230px
    }

    .slide-copy {
        padding: 1.5rem;
        min-height: 220px
    }

    .slide-copy h3 {
        font-size: 1.8rem
    }

    .slide-controls {
        gap: 1.2rem
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr
    }

    .portrait-placeholder {
        max-width: 350px
    }

    .support-section {
        padding: calc(var(--header) + 3rem) 1.25rem 4rem
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

/* JJN illustrated navigation and entrance-only header visibility */
.site-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease
}

.site-header.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.illustrated-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 227px;
    height: 117px;
    max-width: 100%;
    text-decoration: none;
    border: 0;
    background: transparent;
    transition: filter .2s ease, transform .2s ease
}

.illustrated-button:hover,
.illustrated-button:focus-visible {
    filter: brightness(1.18);
    transform: translateY(-2px);
    text-decoration: none
}

.illustrated-button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px
}

.enter-button img {
    display: block;
    width: 227px;
    max-width: 100%;
    height: auto
}

.next-section.illustrated-button {
    margin-top: 1rem;
    background: url('assets/button.png') center/contain no-repeat;
    color: #ffdf71;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1.12rem;
    letter-spacing: .09em;
    text-shadow: 1px 2px 1px #4e2404
}

.next-section .wing-label {
    position: relative;
    top: -12px;
    margin: 0
}

@media(max-width:760px) {
    .next-section.illustrated-button {
        margin-top: .5rem
    }
}
.symbol img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.symbols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
    max-width: 1000px;
    margin: 30px auto;
}

.symbols > div {
    text-align: center;
}

.symbol {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
}

.symbol img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.symbols b,
.symbols small {
    display: block;
    position: relative;
    margin-top: 8px;
}
@media (max-width: 700px) {
    .symbols {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .symbol {
        height: 150px;
    }

    .entrance {
        padding-top: 40px;
    }
}
.symbol[data-symbol="valor"] img,
.symbol[data-symbol="vision"] img {
    transform: scale(1.2);
}
.crest {
    transform: translateY(-200px);
}
.symbols {
    margin-top: 55px;
}
.entrance h1 {
    color: #D6B56E;
}
.entrance .eyebrow {
    font-size: 1.1rem;
    letter-spacing: 0.18em;
}
.symbol[data-symbol="valor"] img {
    transform: translateY(12px) scale(1.2);
}
.entrance .eyebrow {
    margin-bottom: 0;
}

.entrance h1 {
    margin-top: 0;
}
.entrance .eyebrow {
    margin-bottom: 0;
}

.entrance .symbols {
    margin-top: 15px;
}
.entrance .eyebrow {
    transform: translateY(120px);
}

/* Lower the Four Vs and illustrations */
.entrance .symbols {
    transform: translateY(60px);
}

/* Lower the ENTER button */
.entrance .enter-button {
    transform: translateY(60px);
}
.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: 260px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}
.home-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(60px);
}

.home-logo img {
    display: block;
    width: 360px;
    max-width: 80%;
    height: auto;
}
@media (max-width: 600px) {
    .home-logo img {
        width: 260px;
        max-width: 90%;
    }
}
.chapter-heading .eyebrow {
    display: none;
}
.chapter {
    padding-top: 10px;
}
img {
    max-width: 100%;
    height: auto;
}
.support-section {
    padding-top: 10px;
}
.support-section > .next-section {
    display: flex;
    margin: 1rem auto 0;
}
#galleries,
#about {
    padding-top: 20px;
    padding-bottom: 30px;
}

#galleries .gallery-grid {
    margin: 1rem 0;
    gap: 1rem;
}

#galleries .gallery-placeholder {
    aspect-ratio: 4 / 5;
}
#galleries h2,
#about h2 {
    margin-bottom: 20px;
}

#galleries .eyebrow,
#about .eyebrow {
    margin-bottom: 8px;
}

#galleries .small-note {
    margin-bottom: 0;
}
.gallery-placeholder {
    overflow: hidden;
}

.gallery-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#about .portrait-placeholder {
    max-height: 420px;
    overflow: hidden;
}

#about .portrait-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.contact-message {
    padding: 0;
    background: transparent;
    border: none;
    align-self: start;
}

.contact-message h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.contact-message p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.contact-message {
    padding-top: 2rem;
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-copyright {
    display: block;
}

.footer-divider {
    color: var(--gold);
    margin: 0 .5rem;
}

@media (max-width: 600px) {
    footer {
        flex-direction: column;
        text-align: center;
        gap: .75rem;
    }
}
#books .slide-copy p {
    line-height: 1.4;
}
#books .slide-copy {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#books .slide-copy h3 {
    margin-bottom: 1rem;
}

#books .slide-copy p {
    margin-bottom: 1.25rem;
    line-height: 1.4;
}
#highlights .slide-copy {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#highlights .slide-copy h3 {
    margin-bottom: 1rem;
}

#highlights .slide-copy p {
    margin-bottom: 1.25rem;
    line-height: 1.4;
}
.next-section.illustrated-button .wing-label {
    position: relative;
    top: -15px;
}
#shop .slide-copy p {
    line-height: 1.4;
}
#shop .slide-copy {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#shop .slide-copy h3 {
    margin-bottom: 1rem;
}

#shop .slide-copy p {
    margin-bottom: 1.25rem;
    line-height: 1.4;
}
.graphic-poems .portrait-placeholder {
    aspect-ratio: auto;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
}

.graphic-poems .portrait-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: none;
}
.graphic-poems .about-layout {
    grid-template-columns: 45% 55%;
    align-items: start;
    gap: 2rem;
}

.graphic-poems .portrait-placeholder {
    width: 100%;
    max-height: none;
    aspect-ratio: auto;
    align-self: start;
}

.graphic-poems .portrait-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
@media (max-width: 768px) {
    .graphic-poems .about-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .graphic-poems .portrait-placeholder {
        width: 100%;
    }

    .graphic-poems .portrait-placeholder img {
        width: 100%;
        height: auto;
    }
}
.graphic-poems-gallery .symbols {
    column-gap: 20px;
}
.entrance .symbols {
    gap: 24px;
}
.poem-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: min(100%, 940px);
    margin-inline: auto;
}

.poem-thumbnails > div {
    min-width: 0;
}

.poem-thumbnails .symbol {
    width: 100%;
}

.poem-thumbnails .symbol img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .poem-thumbnails {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.poem-thumbnails .symbol img {
    transform: none;
}
body.subpage .site-header {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
body.subpage #galleries.standalone-intro {
    padding-top: 120px;
}
.standalone-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 650px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}