/* ============================================================
   Queens Redoubt – Shared Stylesheet
   ============================================================ */


/* ── 1. Variables ─────────────────────────────────────────── */

:root {
  --reddish: #b00b0b;
  --redearth: #8f1a1a;
  --ochre: #b8860b;
  --ochre-lt: #d4a017;
  --ochre-pale: #f0e0a0;
  --earth: #1e1508;
  --earth-mid: #3a2e1a;
  --earth-lt: #6b5d44;
  --cream: #faf7f0;
  --parchment: #f2ead8;
  --white: #ffffff;
  --r-card: 24px;
  --r-pill: 9999px;
  --pg-width: 1440px;
}


/* ── 2. Base Reset & Body ─────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--earth);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--earth);
  color: var(--cream);
  padding: .5rem 1rem;
  z-index: 9999;
  font-size: 13px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .2s
}

.skip-link:focus {
  top: 0
}


/* ── 3. Navigation ────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 2.5rem;
  transition: background .4s, backdrop-filter .4s;
  display: flex;
  justify-content: center;
}

/* .site-nav.scrolled {
  background: rgba(18, 11, 4, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06)
} */

.site-nav.scrolled .nav-inner {
  background: rgba(18, 11, 4, .9);
  backdrop-filter: blur(10px);
  /* border-bottom: 1px solid rgba(255, 255, 255, .06) */
}

.nav-inner {
  /* max-width: 1400px; */
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, backdrop-filter .4s;
  height: 72px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  opacity: 1;
  flex: 0 0 200px;
}

.nav-logo img {
  width: 46px;
  height: auto
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1
}

.nav-logo-text .t1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1875rem;
  font-weight: 500;
  color: rgba(245, 240, 232, .95);
  letter-spacing: .03em
}

.nav-logo-text .t2 {
  font-size: 9.3px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ochre-lt);
  margin-top: 0.4em
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0
}

.nav-links a {
  display: block;
  padding: 0 1rem;
  height: 72px;
  line-height: 72px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(245, 240, 232, .72);
  text-decoration: none;
  transition: color .2s;
  position: relative
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--ochre-lt);
  transform: scaleX(0);
  transition: transform .2s
}

.nav-links a:hover,
.nav-links a.active {
  color: rgba(245, 240, 232, 1)
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1)
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(245, 240, 232, .9);
  transition: transform .3s, opacity .3s
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg)
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg)
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(18, 11, 4, .98);
  backdrop-filter: blur(20px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity .3s ease, visibility .3s ease;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-inner {
  min-height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 7rem 3.5rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.mobile-nav-links a {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: rgba(245, 240, 232, .92);
  text-decoration: none;
  padding: .35rem 0;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

.mobile-nav.open .mobile-nav-links a {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1), color .2s ease;
}

.mobile-nav.open .mobile-nav-links li:nth-child(1) a {
  transition-delay: .08s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(2) a {
  transition-delay: .14s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(3) a {
  transition-delay: .20s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(4) a {
  transition-delay: .26s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(5) a {
  transition-delay: .32s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(6) a {
  transition-delay: .38s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(7) a {
  transition-delay: .44s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(8) a {
  transition-delay: .50s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  color: var(--ochre-lt);
  transform: translateX(10px);
}

.mobile-nav-contact {
  border-left: 1px solid rgba(245, 240, 232, .12);
  padding-left: 2.5rem;
  color: rgba(245, 240, 232, .78);
}

.mobile-nav-contact .mn-block {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .2s ease, transform .2s ease;
}

.mobile-nav.open .mobile-nav-contact .mn-block {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}

.mobile-nav.open .mobile-nav-contact .mn-block:nth-child(1) {
  transition-delay: .40s;
}

.mobile-nav.open .mobile-nav-contact .mn-block:nth-child(2) {
  transition-delay: .48s;
}

.mobile-nav.open .mobile-nav-contact .mn-block:nth-child(3) {
  transition-delay: .56s;
}

.mobile-nav-contact .mn-block+.mn-block {
  margin-top: 1.75rem;
}

@media (prefers-reduced-motion: reduce) {

  .mobile-nav-links a,
  .mobile-nav.open .mobile-nav-links a,
  .mobile-nav-contact .mn-block,
  .mobile-nav.open .mobile-nav-contact .mn-block {
    opacity: 1;
    transform: none;
    transition: color .2s ease;
    transition-delay: 0s;
  }
}

.mobile-nav-contact h3 {
  margin: 0 0 .5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre-lt);
}

.mobile-nav-contact p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, .82);
}

.mobile-nav-contact a {
  color: rgba(245, 240, 232, .92);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 240, 232, .2);
  transition: color .2s ease, border-color .2s ease;
}

.mobile-nav-contact a:hover {
  color: var(--ochre-lt);
  border-bottom-color: var(--ochre-lt);
}

@media (max-width: 720px) {
  .mobile-nav-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 8rem 3.5rem 2.5rem;
  }

  .mobile-nav-contact {
    border-left: none;
    border-top: 1px solid rgba(245, 240, 232, .12);
    padding-left: 0;
    padding-top: 2rem;
  }
}

@media(max-width:1024px) {
  .nav-links {
    display: none
  }

  .nav-toggle {
    display: flex
  }

  .nav-inner {
    padding-right: 20px;
  }
}

@media(max-width:600px) {
  .site-nav {
    padding: 0 1.25rem
  }
}


/* ── 4. Buttons ───────────────────────────────────────────── */

.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.25rem;
  background: var(--ochre);
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(184, 134, 11, .3)
}

.btn-fill:hover {
  background: var(--ochre-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(184, 134, 11, .45)
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.25rem;
  background: transparent;
  color: var(--ochre);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ochre);
  transition: background .2s, transform .15s
}

.btn-outline:hover {
  background: rgba(184, 134, 11, .08);
  transform: translateY(-2px)
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.25rem;
  background: transparent;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .3);
  transition: border-color .2s, background .2s, transform .15s
}

.btn-ghost-dark:hover {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px)
}


/* ── 5. Section Typography ────────────────────────────────── */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(184, 134, 11, .1);
  color: var(--ochre);
  font-size: 0.6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .4rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184, 134, 11, .22);
  margin-bottom: 1.25rem
}

.section-tag-dark {
  background: rgba(212, 160, 23, .14);
  color: var(--ochre-lt);
  border-color: rgba(212, 160, 23, .25)
}

.section-tag-light {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
  border-color: rgba(255, 255, 255, .2)
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em
}

.section-heading-sm {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em
}

.lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--earth-lt);
  line-height: 1.8;
  font-weight: 300
}

.hero-letter:first-letter {
  font-size: 3.6em;
  font-weight: bold;
  font-style: italic;
  color: var(--earth-mid);
  float: left;
  line-height: 1;
  margin-right: 10px;
  font-family: 'Cormorant Garamond', serif;
}


/* ── 6. Page Hero (inner pages) ───────────────────────────── */

.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 45%
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(12, 8, 2, .55) 0%, rgba(12, 8, 2, .72) 60%, rgba(12, 8, 2, .92) 100%)
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--pg-width);
  margin: 0 auto;
  padding: 0 2.5rem 3.5rem
}

.page-hero-breadcrumb {
  font-size: 0.6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: fadeUp .9s .25s ease both
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, .45);
  text-decoration: none;
  transition: color .2s
}

.page-hero-breadcrumb a:hover {
  color: var(--ochre-lt)
}

.page-hero-breadcrumb .sep {
  color: rgba(255, 255, 255, .25)
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: .85rem;
  animation: fadeUp .9s .35s ease both
}

.page-hero h1 em {
  font-style: italic;
  color: var(--ochre-pale)
}

.page-hero-sub {
  font-size: clamp(0.875rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  max-width: 560px;
  animation: fadeUp .9s .45s ease both
}

@media(max-width:600px) {
  .page-hero-content {
    padding: 0 1.25rem 2.5rem
  }
}


/* ── 7. Site Footer ───────────────────────────────────────── */

.site-footer {
  background: var(--earth);
  padding: 4.5rem 2.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .05)
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 2rem
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: .85rem
}

.footer-badge {
  width: 60px;
  height: auto
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: rgba(245, 240, 232, .88);
  letter-spacing: .02em
}

.footer-sub-text {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ochre-lt)
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(245, 240, 232, .33);
  line-height: 1.7;
  max-width: 300px
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ochre-lt);
  margin-bottom: 1rem
}

.footer-col ul {
  list-style: none
}

.footer-col li {
  margin-bottom: .5rem
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(245, 240, 232, .38);
  text-decoration: none;
  transition: color .2s
}

.footer-col a:hover {
  color: rgba(245, 240, 232, .85)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(245, 240, 232, .25)
}

.footer-bottom a {
  color: rgba(245, 240, 232, .25);
  text-decoration: none
}

.footer-bottom a:hover {
  color: rgba(245, 240, 232, .55)
}

@media(max-width:960px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem
  }
}

@media(max-width:600px) {
  .site-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem
  }
}


/* ── 8. Shared: Form Elements ─────────────────────────────── */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem
}

.form-group label {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .38)
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(245, 240, 232, .9);
  padding: .85rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  border-radius: 12px;
  outline: none;
  width: 100%;
  transition: border-color .2s
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ochre)
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 232, .18)
}

.form-group textarea {
  min-height: 140px;
  resize: vertical
}

.form-group-light label {
  color: var(--earth-lt)
}

.form-group-light input,
.form-group-light select,
.form-group-light textarea {
  background: var(--white);
  border: 1.5px solid rgba(44, 36, 22, .15);
  color: var(--earth);
  border-radius: 12px
}

.form-group-light input:focus,
.form-group-light textarea:focus {
  border-color: var(--ochre)
}

.form-group-light input::placeholder,
.form-group-light textarea::placeholder {
  color: rgba(44, 36, 22, .3)
}

@media(max-width:600px) {
  .form-row {
    grid-template-columns: 1fr
  }
}


/* ── 9. Shared: Layout Helpers ────────────────────────────── */

.page-content {
  max-width: var(--pg-width);
  margin: 0 auto;
  padding: 0 2.5rem
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start
}

@media(max-width:1024px) {

  .two-col,
  .sidebar-layout {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .three-col {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .page-content {
    padding: 0 1.25rem
  }

  .three-col {
    grid-template-columns: 1fr
  }
}


/* ── 10. Shared: Cards ────────────────────────────────────── */

.card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 2px 16px rgba(44, 36, 22, .06);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(44, 36, 22, .1)
}

.card-parchment {
  background: var(--parchment)
}

.card-earth {
  background: var(--earth-mid)
}

.card-body {
  padding: 2rem
}

.card-body-sm {
  padding: 1.5rem
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: .75rem
}


/* ── 11. Shared: Objective Card ───────────────────────────── */

.obj-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: .85rem;
  background: var(--parchment);
  border-radius: var(--r-card);
  transition: transform .2s, box-shadow .2s
}

.obj-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 36, 22, .08)
}

.obj-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--ochre);
  line-height: 1;
  min-width: 2rem;
  flex-shrink: 0;
  padding-top: .05rem
}

.obj-text {
  font-size: 1rem;
  color: var(--earth-mid);
  line-height: 1.7;
  padding-top: .2rem
}


/* ── 12. Shared: Utilities ────────────────────────────────── */

.divider {
  width: 48px;
  height: 2px;
  background: var(--ochre);
  margin: 1.25rem 0 1.75rem
}

.info-box {
  background: var(--parchment);
  border-left: 3px solid var(--ochre);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem
}

.info-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: .5rem
}

.info-box p {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.7
}


/* ── 13. Back-to-top button ────────────────────────────────── */

html {
  scroll-padding-top: 100px;
}

.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  mix-blend-mode: difference;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear 0s;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.back-to-top:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity .2s linear;
    transform: none;
  }

  .back-to-top:hover {
    transform: none;
  }
}


/* ── 14. Header search button ────────────────────────────────── */

.nav-right {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-search-btn {
  background: none;
  border: none;
  color: rgba(245, 240, 232, .72);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  margin-left: .5rem;
  transition: color .2s ease, background .2s ease;
}

.nav-search-btn:hover,
.nav-search-btn:focus-visible {
  color: rgba(245, 240, 232, 1);
  background: rgba(255, 255, 255, .08);
  outline: none;
}

@media (max-width: 768px) {
  .nav-search-btn {
    margin-left: 0;
    margin-right: .25rem;
  }
}

/* Search overlay (backdrop) */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 15, 8, 0);
  visibility: hidden;
  transition: background .35s ease, visibility 0s linear .35s;
}

.search-overlay.open {
  background: rgba(20, 15, 8, .72);
  visibility: visible;
  transition: background .35s ease, visibility 0s linear 0s;
}

/* Search panel - fades and slides from the top */
.search-panel {
  position: relative;
  width: 100%;
  background: var(--cream);
  box-shadow: 0 12px 40px rgba(20, 15, 8, .25);
  transform: translateY(-30px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2, .7, .3, 1), opacity .35s ease;
}

.search-overlay.open .search-panel {
  transform: translateY(0);
  opacity: 1;
}

.search-panel-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 2.75rem;
  position: relative;
}

.search-eyebrow {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 500;
  margin-bottom: .75rem;
}

.search-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--earth);
  margin: 0 0 1.5rem;
  letter-spacing: -.005em;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--earth);
  padding: .65rem 0;
}

.search-form svg.search-icon-lead {
  flex: 0 0 auto;
  color: var(--earth-lt);
}

.search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 300;
  color: var(--earth);
  padding: .5rem 0;
  outline: none;
}

.search-input::placeholder {
  color: var(--earth-lt);
  opacity: .8;
  font-style: italic;
}

.search-submit {
  flex: 0 0 auto;
  background: var(--earth);
  color: var(--cream);
  border: none;
  padding: .85rem 1.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--r-pill);
  transition: background .25s ease, transform .15s ease;
}

.search-submit:hover {
  background: var(--ochre);
}

.search-submit:active {
  transform: scale(.97);
}

.search-hint {
  font-size: 13px;
  color: var(--earth-lt);
  margin-top: 1.1rem;
  line-height: 1.6;
}

.search-hint strong {
  color: var(--earth);
  font-weight: 500;
  margin-right: .35rem;
}

.search-suggest {
  display: inline-block;
  margin: 0 .35rem .35rem 0;
  padding: .25rem .7rem;
  border: 1px solid rgba(44, 36, 22, .15);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 12px;
  color: var(--earth);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease;
}

.search-suggest:hover {
  border-color: var(--ochre);
  background: var(--parchment);
}

.search-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--earth);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}

.search-close:hover {
  background: rgba(44, 36, 22, .08);
  transform: rotate(90deg);
}

@media (max-width: 600px) {
  .search-panel-inner {
    padding: 2.5rem 1.25rem 2rem;
  }

  .search-form {
    flex-wrap: wrap;
  }

  .search-submit {
    width: 100%;
    margin-top: .5rem;
  }

  .search-close {
    top: .75rem;
    right: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .search-overlay,
  .search-panel {
    transition: opacity .15s linear, background .15s linear, visibility 0s linear;
  }

  .search-overlay.open .search-panel {
    transform: none;
  }

  .search-close:hover {
    transform: none;
  }
}


/* ── 15. Mock-up Notice ────────────────────────────────── */

.mockup-notice {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  row-gap: 0.5rem;
  justify-content: flex-start;
  padding: 1.5rem 3rem;
  background-color: var(--redearth)
}

.mockup-notice .btn-ghost-dark {
  padding: .5rem 1.5rem
}

.mockup-notice .mockup-updated {
  margin-top: -0.25rem;
  font-size: 0.65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

/* ══════════════════════════════════════════════════════════
   HOME PAGE  (index.html)
══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1504892978-ddd7e26d7e19?w=1920&q=80');
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.06);
  transition: transform 9s ease
}

.hero-bg.loaded {
  transform: scale(1)
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(12, 8, 2, .72) 0%, rgba(12, 8, 2, .38) 40%,
      rgba(12, 8, 2, .52) 70%, rgba(12, 8, 2, .88) 100%)
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem 2rem 10rem;
  max-width: 1100px
}

.hero-badge {
  width: clamp(100px, 14vw, 160px);
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, .55));
  animation: fadeUp .9s ease both
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ochre-lt);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp .9s .15s ease both
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ochre-lt);
  opacity: .6
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 1.75rem;
  animation: fadeUp .9s .25s ease both
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ochre-pale)
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 300;
  color: rgba(255, 255, 255, .65);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.75rem;
  animation: fadeUp .9s .35s ease both
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .9s .45s ease both
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(10, 6, 2, .55);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex
}

.hero-stat {
  flex: 1;
  padding: 1.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .06)
}

.hero-stat:last-child {
  border-right: none
}

.hero-stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  display: block
}

.hero-stat .lbl {
  font-size: 0.6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  display: block;
  margin-top: .3rem
}

.marquee-strip {
  background: var(--ochre);
  padding: .95rem 0;
  overflow: hidden;
  white-space: nowrap
}

.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite
}

.marquee-track span {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255, 255, 255, .9);
  padding: 0 2.5rem
}

.marquee-track .sep {
  color: rgba(255, 255, 255, .4);
  padding: 0
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.mission-section {
  background: var(--white);
  padding: 7rem 2.5rem
}

.mission-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start
}

.mission-left .section-heading {
  color: var(--earth);
  margin: .75rem 0 1.5rem
}

.mission-left p {
  font-size: 1.2rem;
  color: var(--earth-lt);
  line-height: 1.8;
  margin-bottom: 1.1rem
}

.mission-right h3 {
  font-size: 0.6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--earth-lt);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(44, 36, 22, .12)
}

.history-section {
  position: relative;
  background: var(--earth);
  padding: 8rem 2.5rem;
  overflow: hidden
}

.history-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1528360983277-13d401cdc186?w=1920&q=80');
  background-size: cover;
  background-position: center 35%;
  opacity: .18
}

.history-bg-num {
  position: absolute;
  right: -.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 28vw;
  font-weight: 600;
  color: rgba(255, 255, 255, .03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1
}

.history-inner {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto
}

.history-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem
}

.history-header .section-heading {
  color: #fff
}

.history-header p {
  max-width: 360px;
  font-size: 1rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.8
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem
}

.tl-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-card);
  padding: 1.75rem 1.5rem;
  transition: background .2s, transform .2s
}

.tl-card:hover {
  background: rgba(255, 255, 255, .09);
  transform: translateY(-3px)
}

.tl-card.featured {
  background: var(--ochre);
  border-color: var(--ochre)
}

.tl-card.featured .tl-year {
  color: rgba(255, 255, 255, .7)
}

.tl-card.featured .tl-text {
  color: rgba(255, 255, 255, .9)
}

.tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ochre-lt);
  margin-bottom: 1rem
}

.tl-card.featured .tl-dot {
  background: rgba(255, 255, 255, .7)
}

.tl-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .5rem
}

.tl-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65
}

.history-quote-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-card);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden
}

.history-quote-card::before {
  content: '"';
  position: absolute;
  top: -.15em;
  left: .5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 9rem;
  color: var(--ochre);
  opacity: .25;
  line-height: 1
}

.history-quote-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6;
  position: relative;
  margin-bottom: 1rem
}

.history-quote-card cite {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ochre-lt);
  font-style: normal
}

.visit-section {
  background: var(--parchment);
  padding: 8rem 2.5rem
}

.visit-inner {
  max-width: 1360px;
  margin: 0 auto
}

.visit-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem
}

.visit-header .section-heading {
  color: var(--earth)
}

.visit-header p {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.8;
  max-width: 340px
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem
}

.v-card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(44, 36, 22, .06)
}

.v-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(44, 36, 22, .14)
}

.v-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0
}

.v-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column
}

.v-card-icon {
  color: var(--ochre);
  margin-bottom: .75rem
}

.v-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: .5rem
}

.v-card p {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.65;
  flex: 1
}

.v-card-link {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s
}

.v-card:hover .v-card-link {
  gap: .6rem
}

.site-section {
  background: var(--cream);
  padding: 8rem 2.5rem
}

.site-inner {
  max-width: 1360px;
  margin: 0 auto
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem
}

.sf-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 2rem 1.75rem;
  border-top: 3px solid var(--ochre);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(44, 36, 22, .05)
}

.sf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(44, 36, 22, .1)
}

.sf-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.72rem;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: .65rem
}

.sf-card p {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.7;
  margin-bottom: 1rem
}

.sf-link {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ochre);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s
}

.sf-link:hover {
  border-color: var(--ochre)
}

.community-section {
  position: relative;
  padding: 9rem 2.5rem;
  overflow: hidden
}

.community-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1507699622108-4be3abd695ad?w=1920&q=80');
  background-size: cover;
  background-position: center 40%
}

.community-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(18, 11, 3, .92) 0%, rgba(58, 46, 26, .82) 100%)
}

.community-inner {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto
}

.community-header {
  max-width: 640px;
  margin-bottom: 3.5rem
}

.community-header .section-heading {
  color: #fff;
  margin-bottom: 1rem
}

.community-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.8
}

.community-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 800px
}

.comm-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-card);
  padding: 2.25rem;
  backdrop-filter: blur(8px)
}

.comm-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: .65rem
}

.comm-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-bottom: 1.5rem
}

.contact-section {
  background: var(--earth-mid);
  padding: 7rem 2.5rem
}

.contact-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start
}

.contact-detail svg {
  flex-shrink: 0;
  color: var(--ochre-lt);
  margin-top: 2px
}

.contact-detail span,
.contact-detail a {
  font-size: 1rem;
  color: rgba(245, 240, 232, .65);
  line-height: 1.65;
  text-decoration: none
}

.contact-detail a:hover {
  color: var(--ochre-lt)
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

@media(max-width:1024px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .history-header {
    flex-direction: column
  }

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

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

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .visit-header {
    flex-direction: column
  }
}

@media(max-width:600px) {

  .mission-section,
  .visit-section,
  .site-section,
  .community-section,
  .contact-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem
  }

  .visit-grid,
  .sf-grid {
    grid-template-columns: 1fr
  }

  .hero-stats {
    flex-wrap: wrap
  }

  .hero-stat {
    flex: 1 1 33%
  }
}


/* ══════════════════════════════════════════════════════════
   ABOUT PAGE  (qr-about.html)
══════════════════════════════════════════════════════════ */

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  padding: 6rem 0
}

.about-intro-grid p {
  color: var(--earth-lt);
  line-height: 1.8;
  margin-bottom: 1.1rem
}

.about-intro-grid p:first-of-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--earth);
  line-height: 1.65
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 4rem 0 6rem
}

.activity-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 2rem;
  border-top: 3px solid var(--ochre);
  box-shadow: 0 2px 12px rgba(44, 36, 22, .05)
}

.activity-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: .6rem
}

.activity-card p {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.7
}

.trust-strip {
  background: var(--earth);
  padding: 5rem 2.5rem
}

.trust-strip-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center
}

.trust-strip h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem
}

.trust-strip p {
  color: rgba(255, 255, 255, .55);
  line-height: 1.8;
  margin-bottom: 1.75rem
}

.trust-stat-row {
  display: flex;
  gap: 2.5rem
}

.trust-stat .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--ochre-lt);
  line-height: 1;
  display: block
}

.trust-stat .l {
  font-size: 0.6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38)
}

@media(max-width:1024px) {

  .about-intro-grid,
  .trust-strip-inner {
    grid-template-columns: 1fr;
    gap: 3rem
  }

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

@media(max-width:600px) {
  .trust-strip {
    padding: 4rem 1.25rem
  }

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

  .trust-stat-row {
    flex-wrap: wrap
  }
}


/* ══════════════════════════════════════════════════════════
   BOOKS PAGE  (qr-books.html)
══════════════════════════════════════════════════════════ */

.books-intro {
  max-width: 700px;
  font-size: 1.2rem;
  color: var(--earth-lt);
  line-height: 1.8;
  padding: 3.5rem 0 1rem
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0 6rem
}

.book-card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 36, 22, .08);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(44, 36, 22, .16)
}

.book-cover {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.book-cover-inner {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%
}

.book-cover-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5)
}

.book-price-pill {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  padding: .4rem 1.25rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .25);
  font-family: 'Cormorant Garamond', serif
}

.book-body {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.book-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.72rem;
  font-weight: 500;
  color: var(--earth);
  line-height: 1.3
}

.book-price-row {
  display: flex;
  align-items: baseline;
  gap: .75rem
}

.book-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ochre)
}

.book-postage {
  font-size: 12px;
  color: var(--earth-lt)
}

.book-desc {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.75;
  flex: 1
}

.book-enquire {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .9rem 1.5rem;
  background: var(--ochre);
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 18px rgba(184, 134, 11, .28)
}

.book-enquire:hover {
  background: var(--ochre-lt);
  transform: translateY(-2px)
}

.ordering-info {
  background: var(--earth);
  border-radius: var(--r-card);
  padding: 3rem 3.5rem;
  margin-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.ordering-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: .75rem;
  line-height: 1.2
}

.ordering-info p {
  font-size: 1rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.8;
  margin-bottom: 1rem
}

.ordering-steps {
  display: flex;
  flex-direction: column;
  gap: .85rem
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ochre);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem
}

.step-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65;
  padding-top: .35rem
}

@media(max-width:960px) {
  .books-grid {
    grid-template-columns: 1fr 1fr
  }

  .ordering-info {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem
  }
}

@media(max-width:600px) {
  .books-grid {
    grid-template-columns: 1fr
  }

  .ordering-info {
    padding: 2rem 1.5rem
  }
}


/* ══════════════════════════════════════════════════════════
   CONTACT PAGE  (qr-contact.html)
══════════════════════════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  padding: 5rem 0 7rem
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(44, 36, 22, .07);
  margin-bottom: 1.25rem
}

.contact-info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: 1.25rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(44, 36, 22, .1)
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem
}

.contact-row:last-child {
  margin-bottom: 0
}

.contact-row svg {
  color: var(--ochre);
  flex-shrink: 0;
  margin-top: 2px
}

.contact-row-text {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.65
}

.contact-row-text a {
  color: var(--ochre);
  text-decoration: none
}

.contact-row-text a:hover {
  text-decoration: underline
}

.contact-row-text strong {
  color: var(--earth)
}

.hours-table {
  width: 100%;
  font-size: 1rem;
  margin-top: .5rem
}

.hours-table tr td {
  padding: .4rem 0;
  border-bottom: 1px solid rgba(44, 36, 22, .07);
  color: var(--earth-lt)
}

.hours-table tr td:last-child {
  text-align: right;
  color: var(--earth-mid);
  font-weight: 500
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--parchment);
  border-radius: var(--r-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
  border: 2px dashed rgba(184, 134, 11, .25)
}

.form-section {
  background: var(--earth-mid);
  padding: 7rem 2.5rem
}

.form-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start
}

.form-description h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin: .75rem 0 1.25rem
}

.form-description p {
  font-size: 1rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.8;
  margin-bottom: 1.25rem
}

.form-row-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.form-g {
  display: flex;
  flex-direction: column;
  gap: .4rem
}

.form-g label {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .38)
}

.form-g input,
.form-g select,
.form-g textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(245, 240, 232, .9);
  padding: .85rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  border-radius: 12px;
  outline: none;
  width: 100%;
  transition: border-color .2s
}

.form-g input:focus,
.form-g textarea:focus {
  border-color: var(--ochre)
}

.form-g input::placeholder,
.form-g textarea::placeholder {
  color: rgba(245, 240, 232, .18)
}

.form-g textarea {
  min-height: 160px;
  resize: vertical
}

.form-g select option {
  background: #3a2e1a;
  color: #f2ead8
}

.volunteers-section {
  background: var(--parchment);
  padding: 5rem 2.5rem
}

.volunteers-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center
}

.volunteers-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--earth);
  line-height: 1.2;
  margin: .75rem 0 1.25rem
}

.volunteers-text p {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.8;
  margin-bottom: 1.25rem
}

.volunteers-img {
  border-radius: var(--r-card);
  overflow: hidden;
  height: 340px;
  background-size: cover;
  background-position: center
}

@media(max-width:1024px) {

  .contact-layout,
  .form-inner,
  .volunteers-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }
}

@media(max-width:600px) {

  .form-section,
  .volunteers-section {
    padding: 4rem 1.25rem
  }

  .form-row-g {
    grid-template-columns: 1fr
  }
}


/* ══════════════════════════════════════════════════════════
   EVENTS PAGE  (qr-events.html)
══════════════════════════════════════════════════════════ */

.events-layout {
  padding: 5rem 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start
}

.event-card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(44, 36, 22, .07);
  margin-bottom: 1.5rem;
  display: flex;
  transition: transform .2s, box-shadow .2s
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(44, 36, 22, .12)
}

.event-date-col {
  background: var(--ochre);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  text-align: center;
  flex-shrink: 0
}

.event-date-col .day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 300;
  color: #fff;
  line-height: 1
}

.event-date-col .month {
  font-size: 0.6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-top: .25rem
}

.event-date-col .year {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, .55);
  margin-top: .1rem
}

.event-body {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.event-tag {
  display: inline-flex;
  background: rgba(184, 134, 11, .1);
  color: var(--ochre);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .3rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184, 134, 11, .2);
  align-self: flex-start
}

.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--earth)
}

.event-time {
  font-size: 13px;
  color: var(--earth-lt);
  display: flex;
  align-items: center;
  gap: .5rem
}

.event-desc {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.75;
  margin-top: .25rem
}

.event-koha {
  display: inline-flex;
  align-items: center;
  margin-top: .5rem;
  background: rgba(61, 74, 46, .08);
  color: #3d4a2e;
  font-size: 12px;
  letter-spacing: .08em;
  padding: .4rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(61, 74, 46, .15);
  align-self: flex-start
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(44, 36, 22, .06);
  margin-bottom: 1.25rem
}

.sidebar-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.72rem;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(44, 36, 22, .1)
}

.sidebar-card p {
  font-size: 1rem;
  color: var(--earth-lt);
  line-height: 1.7;
  margin-bottom: 1rem
}

.past-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 3rem 0 5rem
}

.past-event {
  background: var(--parchment);
  border-radius: var(--r-card);
  padding: 1.5rem;
  border-left: 3px solid rgba(184, 134, 11, .4)
}

.past-event .yr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--ochre);
  margin-bottom: .35rem
}

.past-event h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: .35rem
}

.past-event p {
  font-size: 13px;
  color: var(--earth-lt);
  line-height: 1.6
}

@media(max-width:1024px) {
  .events-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .past-events-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:600px) {
  .event-card {
    flex-direction: column
  }

  .events-layout {
    padding: 3rem 0
  }
}


/* ══════════════════════════════════════════════════════════
   GALLERY PAGE  (qr-gallery.html)
══════════════════════════════════════════════════════════ */

.gallery-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  padding: 3rem 0 2.5rem
}

.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid rgba(44, 36, 22, .18);
  background: transparent;
  color: var(--earth-lt);
  font-family: 'DM Sans', sans-serif;
  transition: all .2s
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #fff
}

.gallery-intro {
  font-size: 1.2rem;
  color: var(--earth-lt);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 1rem
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-bottom: 5rem
}

.gallery-item {
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--earth-mid);
  box-shadow: 0 2px 12px rgba(44, 36, 22, .1);
  transition: transform .25s, box-shadow .25s
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 36, 22, .18)
}

.gallery-item.tall {
  grid-row: span 2
}

.gallery-item.wide {
  grid-column: span 2
}

.gallery-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  display: block;
  transition: transform .4s ease
}

.gallery-item:hover .gallery-img {
  transform: scale(1.04)
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 6, 2, .85) 0%, transparent 100%);
  padding: 2rem 1.25rem .9rem;
  opacity: 0;
  transition: opacity .25s
}

.gallery-item:hover .gallery-caption {
  opacity: 1
}

.gallery-caption-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  display: block;
  margin-bottom: .2rem
}

.gallery-caption-date {
  font-size: 0.6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55)
}

.gallery-category-label {
  position: absolute;
  top: .85rem;
  left: .85rem;
  background: rgba(10, 6, 2, .6);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .8);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--r-pill)
}

.aerial-section {
  background: var(--earth);
  padding: 6rem 2.5rem
}

.aerial-inner {
  max-width: 1360px;
  margin: 0 auto
}

.aerial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem
}

.aerial-card {
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9
}

.aerial-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center
}

.aerial-card-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10, 6, 2, .65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: var(--r-pill)
}

@media(max-width:960px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr
  }

  .gallery-item.tall {
    grid-row: span 1
  }

  .gallery-item.wide {
    grid-column: span 1
  }

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

@media(max-width:600px) {
  .gallery-grid {
    grid-template-columns: 1fr
  }

  .aerial-section {
    padding: 4rem 1.25rem
  }
}