/* =========================================================
   THE RIVERAINE MUSE — forest & parchment theme
========================================================= */
:root {
   --forest: #16332c;
   --forest-2: #1d4438;
   --forest-deep: #0e2622;
   --cream: #f7f4ec;
   --cream-2: #efe9db;
   --ink: #1c1c1a;
   --text-muted: #5c655e;
   --line: rgba(28, 28, 26, .12);
   --gold: #c9a55c;

   --display: 'Fraunces', Georgia, serif;
   --ui: 'Inter', system-ui, sans-serif;

   --container: 1240px;
   --dur-fast: .25s;
   --dur: .6s;
   --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after {
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
   html {
      scroll-behavior: auto;
   }

   *,
   *::before,
   *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
   }
}

body {
   margin: 0;
   background: var(--cream);
   color: var(--ink);
   font-family: var(--ui);
   font-size: 16px;
   line-height: 1.65;
   -webkit-font-smoothing: antialiased;
}

body.no-scroll {
   overflow: hidden;
}

h1,
h2,
h3,
h4 {
   font-family: var(--display);
   font-weight: 480;
   color: var(--ink);
   margin: 0;
}

a {
   color: inherit;
   text-decoration: none;
}

img,
svg {
   display: block;
   max-width: 100%;
}

address {
   font-style: normal;
}

ul,
ol {
   margin: 0;
   padding: 0;
   list-style: none;
}

::selection {
   background: var(--gold);
   color: var(--forest-deep);
}

.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
}

.section {
   padding: 50px 0;
}

.section__frame {
   max-width: var(--container);
   margin: 0 auto;
   padding: 0 40px;
}

.two-col {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 48px;
}

.eyebrow {
   font-family: var(--ui);
   font-size: 18px;
   font-weight: 700;
   letter-spacing: .08em;
   text-transform: uppercase;
   color: var(--forest);
   margin: 0 0 34px;
   display: flex;
   align-items: center;
   gap: 10px;
}

.eyebrow--light {
   color: rgba(255, 255, 255, .7);
   margin-bottom: 8px;
}

.section__intro {
   max-width: 640px;
   color: var(--text-muted);
   margin-bottom: 28px;
}

.muted {
   color: var(--text-muted);
}

code {
   background: rgba(28, 28, 26, .06);
   padding: .1em .4em;
   border-radius: 3px;
   font-size: .9em;
}

.btn {
   font-family: var(--ui);
   font-size: 14px;
   font-weight: 600;
   padding: 14px 24px;
   border-radius: 3px;
   display: inline-flex;
   align-items: center;
   white-space: nowrap;
   flex-shrink: 0;
   line-height: 1.2;
   transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.btn--solid {
   background: var(--forest);
   color: #fff;
}

.btn--solid:hover {
   background: var(--forest-2);
}

.btn--outline {
   background: var(--cream);
   color: var(--forest);
}

.btn--outline:hover {
   background: #fff;
}

.btn--sm {
   padding: 11px 18px;
   font-size: 13px;
}

/* =========================================================
   MASTHEAD
========================================================= */
.masthead {
   position: sticky;
   top: 0;
   z-index: 100;
   background: rgba(247, 244, 236, .94);
   backdrop-filter: blur(8px);
   border-bottom: 1px solid var(--line);
}

.masthead__bar {
   max-width: var(--container);
   margin: 0 auto;
   display: flex;
   align-items: center;
   gap: 28px;
   padding: 14px 40px;
}

.brand {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-right: auto;
   min-width: 0;
}

.brand__seal {
   width: 56px;
   height: 56px;
   flex: 0 0 56px;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
   border-radius: 50%;
}

.brand__seal img {
   width: 100%;
   height: 100%;
   display: block;
   object-fit: cover;
   object-position: center;
}

.brand__seal--sm {
   width: 46px;
   height: 46px;
   flex: 0 0 46px;
}

.brand__type {
   min-width: 0;
}

.brand__type strong {
   font-family: var(--display);
   font-size: 16px;
   line-height: 1.15;
   display: block;
   font-weight: 600;
}

.brand__type em {
   font-style: normal;
   font-family: var(--ui);
   font-size: 10.5px;
   letter-spacing: .05em;
   text-transform: uppercase;
   color: var(--text-muted);
   display: block;
   margin-top: 3px;
}

.primary-nav {
   display: flex;
   gap: 26px;
}

.primary-nav a {
   font-family: var(--ui);
   font-size: 14px;
   font-weight: 500;
   color: var(--ink);
   position: relative;
   padding: 4px 0;
}

.primary-nav a::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   height: 2px;
   width: 0;
   background: var(--forest);
   transition: width var(--dur-fast) var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
   width: 100%;
}

.primary-nav__close {
   display: none;
}

.nav-search {
   display: none;
}

.nav-backdrop {
   display: none;
}

.masthead__right {
   display: flex;
   align-items: center;
   gap: 14px;
   flex-shrink: 0;
   position: relative;
}

.masthead__right .btn {
   padding: 10px 18px;
   font-size: 13px;
   border-radius: 4px;
}

.icon-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 38px;
   height: 38px;
   border-radius: 50%;
   border: 1px solid var(--line);
   background: transparent;
   color: var(--forest);
   cursor: pointer;
   flex: 0 0 auto;
   transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.icon-btn svg {
   width: 17px;
   height: 17px;
}

.icon-btn:hover,
.icon-btn[aria-expanded="true"] {
   background: var(--forest);
   border-color: var(--forest);
   color: #fff;
}

/* ---- expanding search dropdown, anchored at the icon's position ----
   Sits absolutely inside .masthead__right (not a full-width bar under
   the whole header) and grows outward from the search icon. */
.site-search {
   position: absolute;
   top: calc(100% + 12px);
   right: 0;
   width: 0;
   max-height: none;
   overflow: hidden;
   background: var(--cream);
   border: 1px solid var(--line);
   border-radius: 8px;
   box-shadow: 0 18px 40px -14px rgba(14, 38, 34, .3);
   transition: width var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
   opacity: 0;
   z-index: 120;
}

.site-search:not([hidden]) {
   width: min(380px, 90vw);
   opacity: 1;
}

.site-search form {
   width: 100%;
   margin: 0;
   padding: 14px;
   display: flex;
   align-items: center;
   gap: 10px;
}

.site-search__icon {
   width: 18px;
   height: 18px;
   color: var(--text-muted);
   flex: 0 0 auto;
}

.site-search input[type="search"] {
   flex: 1;
   min-width: 0;
   font-family: var(--ui);
   font-size: 14.5px;
   padding: 8px 4px;
   border: none;
   border-bottom: 1px solid var(--line);
   background: transparent;
   color: var(--ink);
}

.site-search input[type="search"]:focus {
   outline: none;
   border-bottom-color: var(--forest);
}

.site-search__close {
   background: none;
   border: 0;
   color: var(--text-muted);
   font-size: 22px;
   line-height: 1;
   cursor: pointer;
   flex: 0 0 auto;
   padding: 0 2px;
}

.site-search__results {
   max-height: 320px;
   overflow-y: auto;
   border-top: 1px solid var(--line);
}

.site-search__results:empty {
   border-top: none;
}

.site-search__result {
   display: flex;
   flex-direction: column;
   gap: 2px;
   width: 100%;
   text-align: left;
   background: none;
   border: 0;
   border-bottom: 1px solid var(--line);
   padding: 12px 16px;
   cursor: pointer;
   font-family: var(--ui);
   color: var(--ink);
   transition: background var(--dur-fast) var(--ease);
}

.site-search__result:last-child {
   border-bottom: none;
}

.site-search__result:hover,
.site-search__result:focus-visible {
   background: var(--cream-2);
}

.site-search__result strong {
   font-size: 14px;
   font-weight: 600;
}

.site-search__result span {
   font-size: 12px;
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: .04em;
}

.site-search__empty {
   padding: 14px 16px;
   font-size: 13px;
   color: var(--text-muted);
}

.nav-toggle {
   display: none;
   flex-direction: column;
   gap: 5px;
   background: none;
   border: 0;
   cursor: pointer;
   padding: 6px;
}

.nav-toggle span {
   width: 20px;
   height: 1.5px;
   background: var(--ink);
   display: block;
   transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

/* =========================================================
   HERO
========================================================= */
.hero {
   position: relative;
   min-height: 640px;
   display: flex;
   align-items: center;
   overflow: hidden;
   color: #fff;
}

.hero__slides {
   position: absolute;
   inset: 0;
}

.hero__slide {
   position: absolute;
   inset: 0;
   opacity: 0;
   transition: opacity 1.1s var(--ease);
}

.hero__slide.is-active {
   opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* =========================================================
   RIVERAINE MUSE HERO SLIDE
   Keeps the portrait artwork from being zoomed/cropped
========================================================= */

/* .hero__slide--riveraine img {
    object-fit: contain;
    object-position: center center;
} */

.hero__scrim {
   position: absolute;
   inset: 0;
   background: linear-gradient(100deg, rgba(9, 20, 17, .75) 0%, rgba(9, 20, 17, .42) 45%, rgba(9, 20, 17, .15) 75%);
}

.hero__vnav {
   position: absolute;
   left: 40px;
   top: 50%;
   transform: translateY(-40%);
   display: flex;
   flex-direction: column;
   gap: 10px;
   z-index: 2;
   border-left: 1px solid rgba(255, 255, 255, .3);
   padding-left: 16px;
}

.hero__vnav span {
   font-family: var(--ui);
   font-size: 11px;
   letter-spacing: .08em;
   text-transform: uppercase;
   color: rgba(255, 255, 255, .75);
}

.hero__content {
   position: relative;
   z-index: 2;
   max-width: 640px;
   padding: 0 40px 0 92px;
   margin-left: 100px;
}

.hero__kicker {
   font-family: var(--ui);
   font-size: 12.5px;
   letter-spacing: .1em;
   text-transform: uppercase;
   margin: 0 0 18px;
   color: rgba(255, 255, 255, .75);
}

.hero__title {
   font-size: clamp(34px, 5vw, 58px);
   line-height: 1.06;
   font-weight: 600;
   letter-spacing: -.01em;
}

.hero__sub {
   font-family: var(--ui);
   font-size: 16.5px;
   color: rgba(255, 255, 255, .82);
   max-width: 44ch;
   margin: 22px 0 30px;
}

.hero__script {
   position: absolute;
   right: 56px;
   top: 64px;
   z-index: 2;
   font-family: var(--display);
   font-style: italic;
   font-size: 19px;
   line-height: 1.4;
   color: rgba(255, 255, 255, .88);
   text-align: right;
}

.hero__script em {
   font-style: italic;
   opacity: .8;
}

.hero__controls {
   position: absolute;
   right: 40px;
   bottom: 34px;
   z-index: 2;
   display: flex;
   align-items: center;
   gap: 16px;
}

.hero__dots {
   display: flex;
   gap: 6px;
}

.hero__dots button {
   width: 22px;
   height: 2px;
   background: rgba(255, 255, 255, .4);
   border: 0;
   padding: 0;
   cursor: pointer;
   transition: background var(--dur-fast);
}

.hero__dots button.is-active {
   background: #fff;
}

.hero__arrow {
   background: none;
   border: 1px solid rgba(255, 255, 255, .5);
   color: #fff;
   width: 34px;
   height: 34px;
   border-radius: 50%;
   cursor: pointer;
   transition: all var(--dur-fast);
}

.hero__arrow:hover {
   background: #fff;
   color: var(--forest);
}

/* =========================================================
   FEATURED
========================================================= */
.featured__head {
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   gap: 24px;
   margin-bottom: 8px;
   flex-wrap: wrap;
}

.featured__head .eyebrow {
   margin-bottom: 0;
}

.featured__note {
   color: var(--text-muted);
   font-size: 14px;
   max-width: 36ch;
   margin: 0 0 34px;
}

.featured__grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 24px;
   align-items: stretch;
}

.fcard {
   display: flex;
   flex-direction: column;
   gap: 12px;
   opacity: 0;
   transform: translateY(20px);
   transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fcard.is-in {
   opacity: 1;
   transform: none;
}

.fcard__art {
   position: relative;
   border-radius: 4px;
   overflow: hidden;
   aspect-ratio: 4/3;
   background: var(--cream-2);
}

.fcard__art img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .6s var(--ease);
}

.fcard:hover .fcard__art img {
   transform: scale(1.04);
}

.fcard__tag {
   position: absolute;
   top: 12px;
   left: 12px;
   background: var(--forest);
   color: #fff;
   font-family: var(--ui);
   font-size: 10.5px;
   letter-spacing: .04em;
   text-transform: uppercase;
   padding: 5px 10px;
   border-radius: 20px;
}

.fcard h3 {
   font-size: 19px;
   line-height: 1.25;
}

.fcard p {
   font-size: 14px;
   color: var(--text-muted);
   margin: 0;
}

.fcard__link {
   font-family: var(--ui);
   font-size: 13px;
   font-weight: 600;
   color: var(--forest);
   margin-top: auto;
}

.fcard--issue {
   background: var(--cream-2);
   border-radius: 4px;
   padding: 26px 22px;
   position: relative;
   overflow: hidden;
}

.fcard__eyebrow {
   font-family: var(--ui);
   font-size: 11px;
   letter-spacing: .06em;
   text-transform: uppercase;
   color: var(--text-muted);
}

.fcard--issue h3 {
   font-size: 26px;
   margin: 6px 0 10px;
}

.fcard--issue p {
   margin-bottom: 18px;
}

.fcard--issue .btn {
   align-self: flex-start;
}

.fcard__cover {
   position: absolute;
   right: -5px;
   bottom: 0px;
   width: 92px;
   aspect-ratio: 200 / 260;
   object-fit: cover;
   border-radius: 3px;
   opacity: .95;
   box-shadow: 0 14px 24px -8px rgba(0, 0, 0, .35);
   filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .18));
}

/* =========================================================
   SUBMIT BANNER
========================================================= */
.submit-banner {
   position: relative;
   background: var(--forest);
   color: #fff;
   overflow: hidden;
   margin: 0 auto;
   max-width: calc(var(--container) + 80px);
   border-radius: 6px;
   padding: 44px 48px;
   margin-top: 0;
}

.submit-banner__frame {
   display: grid;
   grid-template-columns: 1fr 1.3fr auto;
   gap: 32px;
   align-items: center;
   position: relative;
   z-index: 2;
}

.submit-banner h2 {
   font-size: 26px;
   color: #fff;
}

.submit-banner__copy {
   font-size: 14.5px;
   color: rgba(255, 255, 255, .82);
   margin: 0;
   padding: 0 16px;
   border-left: 1px solid rgba(255, 255, 255, .25);
}

.submit-banner__leaf {
   position: absolute;
   left: 20px;
   bottom: -20px;
   width: 150px;
   color: rgba(255, 255, 255, .25);
}

.submit-banner__mountain {
   position: absolute;
   right: 24px;
   bottom: 14px;
   width: 170px;
   color: rgba(255, 255, 255, .3);
}

/* =========================================================
   ARCHIVE STRIP + NEWSLETTER
========================================================= */
.archive-strip {
   padding-top: 64px;
}

.archive-strip__frame {
   display: grid;
   grid-template-columns: 2.1fr 1fr;
   gap: 56px;
}

.archive-strip__head {
   display: flex;
   justify-content: space-between;
   align-items: baseline;
   margin-bottom: 6px;
}

.archive-strip__head .eyebrow {
   margin-bottom: 0;
}

.archive-strip__view {
   font-family: var(--ui);
   font-size: 13px;
   font-weight: 600;
   color: var(--forest);
}

.archive-strip__row {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 18px;
}

.mini-issue {
   display: flex;
   flex-direction: column;
   gap: 10px;
   opacity: 0;
   transform: translateY(16px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.mini-issue.is-in {
   opacity: 1;
   transform: none;
}

.mini-issue img {
   border-radius: 3px;
   aspect-ratio: 200 / 260;
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

.mini-issue span {
   display: flex;
   flex-direction: column;
   font-size: 13px;
}

.mini-issue strong {
   font-family: var(--display);
   font-size: 15px;
   margin-bottom: 2px;
}

.mini-issue em {
   font-style: normal;
   color: var(--text-muted);
   font-size: 12px;
   margin-top: 2px;
}

.newsletter {
   position: relative;
   background: var(--cream-2);
   border-radius: 6px;
   padding: 32px;
   opacity: 0;
   transform: translateY(16px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.newsletter.is-in {
   opacity: 1;
   transform: none;
}

.newsletter h3 {
   font-size: 22px;
   margin: 6px 0 12px;
}

.newsletter__copy {
   font-size: 13.5px;
   color: var(--text-muted);
   margin: 0 0 20px;
}

.newsletter__form {
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.newsletter__form input {
   font-family: var(--ui);
   font-size: 14px;
   padding: 12px 14px;
   border: 1px solid var(--line);
   border-radius: 3px;
   background: #fff;
}

.newsletter__note {
   font-size: 12.5px;
   color: var(--forest);
   margin: 10px 0 0;
   min-height: 1em;
}

.newsletter__botanical {
   position: absolute;
   right: 14px;
   bottom: 10px;
   width: 46px;
   color: var(--forest);
   opacity: .4;
}

/* =========================================================
   ABOUT
========================================================= */
.about__body {
   max-width: 70ch;
   opacity: 0;
   transform: translateY(20px);
   transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.about__body.is-in {
   opacity: 1;
   transform: none;
}

.about__body p {
   margin: 0 0 20px;
}

.dropcap::first-letter {
   font-family: var(--display);
   font-size: 60px;
   font-weight: 600;
   float: left;
   line-height: .8;
   margin: 6px 10px 0 0;
   color: var(--forest);
}

.stat-strip {
   margin-top: 56px;
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   border-top: 1px solid var(--line);
   border-bottom: 1px solid var(--line);
   opacity: 0;
   transform: translateY(20px);
   transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s;
}

.stat-strip.is-in {
   opacity: 1;
   transform: none;
}

.stat {
   padding: 22px 18px;
   border-right: 1px solid var(--line);
}

.stat:last-child {
   border-right: none;
}

.stat__num {
   display: block;
   font-family: var(--display);
   font-size: 28px;
   color: var(--forest);
}

.stat--text .stat__num {
   font-size: 20px;
}

.stat__label {
   font-family: var(--ui);
   font-size: 12px;
   color: var(--text-muted);
}

/* =========================================================
   AIMS / SUBSCRIPTION
========================================================= */
.notecard {
   background: var(--cream-2);
   padding: 30px;
   border-left: 3px solid var(--forest);
   border-radius: 2px;
   opacity: 0;
   transform: translateY(20px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.notecard.is-in {
   opacity: 1;
   transform: none;
}

.notecard h3 {
   font-size: 19px;
   margin-bottom: 10px;
}

.notecard p {
   margin: 0;
}

.subscribe-band {
   margin-top: 44px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 24px;
   flex-wrap: wrap;
   padding: 30px 34px;
   background: var(--forest);
   color: #fff;
   border-radius: 6px;
   opacity: 0;
   transform: translateY(20px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.subscribe-band.is-in {
   opacity: 1;
   transform: none;
}

.subscribe-band h3 {
   color: #fff;
   font-size: 21px;
}

.subscribe-band__rates {
   display: flex;
   gap: 40px;
   flex-wrap: wrap;
}

.subscribe-band__rates strong {
   display: block;
   font-family: var(--ui);
   font-size: 11.5px;
   color: var(--gold);
   margin-bottom: 4px;
   letter-spacing: .03em;
   text-transform: uppercase;
}

.subscribe-band__rates span {
   font-size: 14.5px;
}

.subscription-heading {
   margin-top: 40px;
}

/* =========================================================
   BOARD
========================================================= */
.masthead-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1px;
   background: var(--line);
   margin-bottom: 34px;
}

.role-card {
   background: var(--cream);
   padding: 26px 30px;
   display: flex;
   flex-direction: column;
   gap: 6px;
   opacity: 0;
   transform: translateY(16px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.role-card.is-in {
   opacity: 1;
   transform: none;
}

.role-card__role {
   font-family: var(--ui);
   font-size: 11.5px;
   letter-spacing: .05em;
   text-transform: uppercase;
   color: var(--forest);
}

.role-card__name {
   font-family: var(--display);
   font-size: 21px;
}

.role-card__meta {
   font-size: 13.5px;
   color: var(--text-muted);
   margin-top: 6px;
}

.board-list {
   border-top: 1px solid var(--line);
}

.board-list li {
   display: flex;
   justify-content: space-between;
   padding: 15px 4px;
   border-bottom: 1px solid var(--line);
   font-size: 16.5px;
   opacity: 0;
   transform: translateX(-14px);
   transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.board-list li.is-in {
   opacity: 1;
   transform: none;
}

.board-list__place {
   font-family: var(--ui);
   font-size: 12.5px;
   color: var(--text-muted);
   align-self: center;
}

/* =========================================================
   ISSUES
========================================================= */
.issue-shelf {
   display: flex;
   gap: 32px;
   flex-wrap: wrap;
   perspective: 1400px;
}

.issue-card {
   width: 210px;
   display: flex;
   flex-direction: column;
   gap: 14px;
   opacity: 0;
   transform: rotateY(16deg) translateY(10px);
   transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.issue-card.is-in {
   opacity: 1;
   transform: none;
}

.issue-card__cover {
   border-radius: 3px;
   overflow: hidden;
   box-shadow: 0 18px 34px -18px rgba(14, 38, 34, .5);
   transition: transform .5s var(--ease);
}

.issue-card__cover img {
   width: 100%;
   height: auto;
   aspect-ratio: 200 / 260;
   object-fit: cover;
   display: block;
}

.issue-card:hover .issue-card__cover {
   transform: translateY(-4px) scale(1.02);
}

.issue-card__vol {
   font-family: var(--display);
   font-size: 16.5px;
}

.issue-card__date {
   font-family: var(--ui);
   font-size: 12px;
   color: var(--text-muted);
}

.issue-card__link {
   font-family: var(--ui);
   font-size: 12.5px;
   color: var(--forest);
   margin-top: 8px;
   font-weight: 600;
}

/* =========================================================
   ARCHIVE TABLE + GALLERY
========================================================= */
.chip {
   font-family: var(--ui);
   font-size: 12.5px;
   padding: 8px 16px;
   border: 1px solid var(--line);
   background: transparent;
   border-radius: 20px;
   cursor: pointer;
   color: var(--text-muted);
   transition: all var(--dur-fast) var(--ease);
}

.chip.is-active,
.chip:hover {
   background: var(--forest);
   color: #fff;
   border-color: var(--forest);
}

.archive__controls {
   display: flex;
   gap: 10px;
   margin-bottom: 26px;
   opacity: 0;
   transform: translateY(16px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.archive__controls.is-in {
   opacity: 1;
   transform: none;
}

.archive-table {
   width: 100%;
   border-collapse: collapse;
   opacity: 0;
   transform: translateY(16px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.archive-table.is-in {
   opacity: 1;
   transform: none;
}

.archive-table th {
   text-align: left;
   font-family: var(--ui);
   font-size: 11.5px;
   text-transform: uppercase;
   letter-spacing: .04em;
   color: var(--text-muted);
   padding: 10px 12px;
   border-bottom: 1px solid var(--forest);
}

.archive-table td {
   padding: 16px 12px;
   border-bottom: 1px solid var(--line);
   font-size: 14.5px;
}

.archive-table tbody tr:hover {
   background: var(--cream-2);
}

.archive-table td a {
   color: var(--forest);
   font-family: var(--ui);
   font-size: 13px;
   font-weight: 600;
}

.archive-table__pending td {
   color: var(--text-muted);
   font-style: italic;
   text-align: center;
}

.archive-row-hidden {
   display: none;
}

.gallery__filters {
   display: flex;
   gap: 10px;
   margin-bottom: 30px;
   opacity: 0;
   transform: translateY(16px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.gallery__filters.is-in {
   opacity: 1;
   transform: none;
}

.masonry {
   columns: 4 220px;
   column-gap: 18px;
}

.g-item {
   break-inside: avoid;
   margin-bottom: 18px;
   position: relative;
   cursor: pointer;
   border-radius: 4px;
   overflow: hidden;
   opacity: 0;
   transform: scale(.94) rotate(-.6deg);
   transition: transform .5s var(--ease);
}

.g-item.is-in {
   opacity: 1;
   transform: none;
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.g-item:hover {
   transform: translateY(-4px) rotate(-.4deg);
}

.g-item svg,
.g-item img {
   width: 100%;
   height: auto;
   display: block;
}

.g-item__label {
   position: absolute;
   left: 0;
   right: 0;
   bottom: 0;
   padding: 10px 12px;
   font-family: var(--ui);
   font-size: 12px;
   color: #fff;
   background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent);
}

.g-item[data-hidden] {
   display: none;
}

.g-item.is-search-match {
   outline: 3px solid var(--gold);
   outline-offset: 2px;
}

.lightbox {
   position: fixed;
   inset: 0;
   background: rgba(14, 38, 34, .95);
   z-index: 100;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 16px;
   opacity: 0;
   pointer-events: none;
   transition: opacity .3s var(--ease);
}

.lightbox.is-open {
   opacity: 1;
   pointer-events: auto;
}

.lightbox__stage {
   max-width: min(80vw, 560px);
}

.lightbox__stage svg,
.lightbox__stage img {
   border-radius: 4px;
   max-width: 100%;
   max-height: 80vh;
   display: block;
}

.lightbox__caption {
   color: rgba(255, 255, 255, .75);
   font-family: var(--ui);
   font-size: 13px;
}

.lightbox__close {
   position: absolute;
   top: 24px;
   right: 32px;
   background: none;
   border: 0;
   color: #fff;
   font-size: 32px;
   cursor: pointer;
   line-height: 1;
}

/* =========================================================
   SUBMISSIONS / ACCORDION
========================================================= */
.accordion {
   opacity: 0;
   transform: translateY(16px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.accordion.is-in {
   opacity: 1;
   transform: none;
}

.accordion details {
   border-bottom: 1px solid var(--line);
   padding: 20px 0;
}

.accordion summary {
   cursor: pointer;
   font-family: var(--display);
   font-size: 19px;
   list-style: none;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.accordion summary::-webkit-details-marker {
   display: none;
}

.accordion summary::after {
   content: "+";
   font-size: 20px;
   color: var(--forest);
}

.accordion details[open] summary::after {
   content: "\2212";
}

.accordion__body {
   padding-top: 16px;
   max-width: 70ch;
}

.lettered li {
   margin-bottom: 12px;
}

.submit-cta {
   margin-top: 46px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 20px;
   flex-wrap: wrap;
   padding-top: 30px;
   border-top: 1px solid var(--line);
   opacity: 0;
   transform: translateY(16px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.submit-cta.is-in {
   opacity: 1;
   transform: none;
}
.submit-cta p {
   font-family: var(--display);
   font-size: 21px;
   max-width: 36ch;
}

/* =========================================================
   CONTACT
========================================================= */
.contact__grid address {
   font-size: 15.5px;
   line-height: 1.8;
   margin: 16px 0;
}

.contact__lines {
   font-size: 15.5px;
   margin-bottom: 20px;
}

.contact__lines a {
   color: var(--forest);
}

.social-row {
   display: flex;
   gap: 14px;
}

.social-row a {
   width: 36px;
   height: 36px;
   border-radius: 50%;
   border: 1px solid var(--line);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all var(--dur-fast);
}

.social-row a:hover {
   background: var(--forest);
   border-color: var(--forest);
}

.social-row svg {
   width: 16px;
   height: 16px;
   fill: var(--forest);
}

.social-row a:hover svg {
   fill: #fff;
}

.map-frame {
   border-radius: 6px;
   overflow: hidden;
   height: 320px;
   filter: sepia(.1) saturate(1.05);
   opacity: 0;
   transform: translateY(20px);
   transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.map-frame.is-in {
   opacity: 1;
   transform: none;
}

.map-frame iframe {
   width: 100%;
   height: 100%;
   border: 0;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
   background: var(--forest);
   color: rgba(255, 255, 255, .72);
   padding: 64px 0 0;
   margin-top: 40px;
}

.site-footer__frame {
   max-width: var(--container);
   margin: 0 auto;
   padding: 0 40px;
   display: grid;
   grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
   gap: 40px;
   align-items: start;
}

.site-footer__mark {
   display: flex;
   align-items: center;
   gap: 12px;
}

.site-footer__mark .brand__seal {
   color: #fff;
}

.site-footer__wordmark {
   font-family: var(--display);
   font-size: 18px;
   color: #fff;
   display: flex;
   flex-direction: column;
}

.site-footer__wordmark em {
   font-style: normal;
   font-family: var(--ui);
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: .05em;
   color: rgba(255, 255, 255, .55);
   margin-top: 4px;
}

.site-footer__col h4 {
   color: #fff;
   font-size: 12.5px;
   font-family: var(--ui);
   text-transform: uppercase;
   letter-spacing: .05em;
   margin-bottom: 16px;
}

.site-footer__col a {
   display: block;
   font-size: 14px;
   margin-bottom: 10px;
   color: rgba(255, 255, 255, .72);
}

.site-footer__col a:hover {
   color: var(--gold);
}

.site-footer__quote {
   font-family: var(--display);
   font-style: italic;
   font-size: 18px;
   color: rgba(255, 255, 255, .85);
   line-height: 1.5;
   padding-left: 20px;
   border-left: 1px solid rgba(255, 255, 255, .25);
}

.site-footer__bottom {
   margin-top: 52px;
   border-top: 1px solid rgba(255, 255, 255, .15);
   padding: 22px 40px;
   max-width: var(--container);
   margin-left: auto;
   margin-right: auto;
   display: flex;
   justify-content: space-between;
   font-size: 12.5px;
}

.developed-by {
   color: rgba(255, 255, 255, .55);
}

.developed-by a {
   color: var(--gold);
   font-weight: 500;
   transition: color var(--dur-fast);
}

.developed-by a:hover {
   color: #fff;
}

.back-to-top {
   color: var(--gold);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:1100px) {
   .featured__grid {
      grid-template-columns: 1fr 1fr;
   }

   .archive-strip__frame {
      grid-template-columns: 1fr;
   }

   .archive-strip__row {
      grid-template-columns: repeat(2, 1fr);
   }

   .submit-banner__frame {
      grid-template-columns: 1fr;
      text-align: left;
   }

   .submit-banner__copy {
      border-left: none;
      padding: 0;
   }
}

@media (max-width:900px) {
   .section__frame {
      padding: 0 24px;
   }

   .two-col {
      grid-template-columns: 1fr;
   }

   .masthead__bar {
      padding: 10px 16px;
      gap: 10px;
   }

   .brand__seal {
      width: 40px;
      height: 40px;
      flex: 0 0 40px;
   }

   .brand__type strong {
      font-size: 13.5px;
      white-space: nowrap;
   }

   .brand__type em {
      display: none;
   }

   /* Hide the header CTA on small screens — it duplicates the hero button
      and was forcing the logo text to wrap onto three lines, which pushed
      the whole bar out of shape. */
   .masthead__right .btn--solid {
      display: none;
   }

   .masthead__right {
      gap: 8px;
   }

   .site-search {
      right: -8px;
   }

   .site-search:not([hidden]) {
      width: min(320px, 88vw);
   }

   /* ---- mobile slide-in menu: solid, full-height panel, stacked above
      everything, with its own close button and a backdrop so it can
      never blend into the hero image behind it ---- */
   .primary-nav {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(86vw, 360px);
      height: 100dvh;
      background: var(--cream);
      flex-direction: column;
      align-items: stretch;
      padding: 28px 28px 32px;
      gap: 6px;
      transform: translateX(100%);
      transition: transform .35s var(--ease);
      z-index: 210;
      overflow-y: auto;
      box-shadow: -12px 0 40px rgba(14, 38, 34, .25);
   }

   .primary-nav.is-open {
      transform: translateX(0);
   }

   .primary-nav__close {
      display: flex;
      align-items: center;
      justify-content: center;
      align-self: flex-end;
      width: 36px;
      height: 36px;
      margin-bottom: 12px;
      border-radius: 50%;
      border: 1px solid var(--line);
      background: transparent;
      color: var(--ink);
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
   }

   .primary-nav a {
      font-size: 18px;
      padding: 12px 4px;
      border-bottom: 1px solid var(--line);
   }

   .nav-search {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 20px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: #fff;
   }

   .nav-search input {
      flex: 1;
      min-width: 0;
      border: 0;
      background: transparent;
      font-family: var(--ui);
      font-size: 14px;
      color: var(--ink);
   }

   .nav-search input:focus {
      outline: none;
   }

   .nav-search button {
      display: flex;
      border: 0;
      background: transparent;
      color: var(--forest);
      cursor: pointer;
      padding: 2px;
   }

   .nav-search svg {
      width: 18px;
      height: 18px;
   }

   .nav-backdrop {
      display: block;
      position: fixed;
      inset: 0;
      background: rgba(14, 38, 34, .45);
      z-index: 205;
      opacity: 0;
      pointer-events: none;
      transition: opacity .35s var(--ease);
   }

   .nav-backdrop.is-open {
      opacity: 1;
      pointer-events: auto;
   }

   .nav-toggle {
      display: flex;
   }

   .hero__vnav {
      display: none;
   }

   .hero__script {
      display: none;
   }

   /* This was the main overlap bug: the hero copy kept a 100px left
      margin meant for desktop, which shoved the title far right and
      caused it to collide with everything around it on a narrow
      viewport. */
   .hero__content {
      margin-left: 0;
      padding: 0 24px;
      max-width: 100%;
   }

   .hero__scrim {
      background: linear-gradient(180deg, rgba(9, 20, 17, .78) 0%, rgba(9, 20, 17, .5) 55%, rgba(9, 20, 17, .35) 100%);
   }

   .stat-strip {
      grid-template-columns: 1fr 1fr;
   }

   .stat:nth-child(2n) {
      border-right: none;
   }

   .masthead-grid {
      grid-template-columns: 1fr;
   }

   .masonry {
      columns: 2 160px;
   }

   .site-footer__frame {
      grid-template-columns: 1fr 1fr;
   }

   .site-footer__quote {
      border-left: none;
      padding-left: 0;
      grid-column: 1/-1;
   }
}

@media (max-width:560px) {
   .featured__grid {
      grid-template-columns: 1fr;
   }

   .archive-strip__row {
      grid-template-columns: 1fr 1fr;
   }

   .site-footer__frame {
      grid-template-columns: 1fr;
   }

   .site-footer__bottom {
      flex-direction: column;
      gap: 10px;
   }

   .hero {
      min-height: auto;
      padding: 110px 0 80px;
   }

   .hero__content {
      padding: 0 20px;
   }

   .hero__controls {
      right: 20px;
      bottom: 20px;
   }
}

@media (max-width:400px) {
   .brand__type strong {
      font-size: 12.5px;
   }

   .icon-btn {
      width: 34px;
      height: 34px;
   }
}