@import url("palette.css");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600&display=swap");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ak-bone);
  color: var(--ak-charcoal);
  font-family: var(--ak-font-body);
  font-size: 1.06rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--ak-earth-red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--ak-font-header);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--ak-charcoal);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--ak-earth-red); }
h3 { font-size: 1.15rem; letter-spacing: 0.04em; }

p { margin: 0 0 1.2em; }

.eyebrow {
  font-family: var(--ak-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--ak-clay);
  margin-bottom: 0.9em;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.narrow { max-width: 760px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ak-hairline);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}
.brand-mark img {
  height: 24px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--ak-font-ui);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
nav.main-nav a {
  color: var(--ak-charcoal);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--ak-earth-red);
  text-decoration: none;
  border-bottom-color: var(--ak-earth-red);
}

.nav-toggle { display: none; }

@media (max-width: 780px) {
  nav.main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem 0 0.5rem;
  }
  nav.main-nav.open { display: flex; }
  .site-header .container { flex-wrap: wrap; }
  .nav-toggle {
    display: inline-block;
    font-family: var(--ak-font-ui);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    background: none;
    border: 1px solid var(--ak-charcoal);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    color: var(--ak-charcoal);
  }
}

/* ---------- Hero (full-bleed, cinematic, viewport-fit) ---------- */
.hero-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(calc(100svh - 84px), 840px);
  overflow: hidden;
  background: var(--ak-charcoal);
}

.hero-wrap video,
.hero-wrap .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 45%;
}

.hero-wrap .hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,32,30,0.08) 0%, rgba(32,32,30,0.4) 38%, rgba(32,32,30,0.88) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem clamp(1.75rem, 5vw, 4.5rem) 3.4rem;
  display: flex;
  justify-content: flex-start;
}

.hero-card {
  width: 100%;
  max-width: 580px;
  background: rgba(253, 249, 240, 0.85);
  padding: 2.4rem 30px 2.6rem;
  text-align: center;
}

.hero-card .eyebrow {
  color: var(--ak-ochre);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  display: block;
  width: min(440px, 90%);
  margin: 0.5rem auto 1.2rem;
}

.hero-card .lede {
  font-size: 1.1rem;
  color: var(--ak-earth-red);
  opacity: 1;
  max-width: 44ch;
  margin: 0 auto;
}

.hero-card .btn-row { justify-content: center; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero-anim {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade-up 0.8s ease forwards;
}
@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim { opacity: 1; transform: none; animation: none; }
}

.hero-card .btn-row { margin-top: 1.8rem; }
.hero-card .btn.on-dark {
  border-color: var(--ak-earth-red);
  color: var(--ak-earth-red);
}
.hero-card .btn.on-dark:hover {
  background: var(--ak-earth-red);
  color: var(--ak-bone);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  color: var(--ak-bone);
  opacity: 0.8;
  animation: hero-bob 2.2s ease-in-out infinite;
}
@keyframes hero-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}

@media (max-width: 700px) {
  .hero-wrap { min-height: min(calc(100svh - 64px), 640px); align-items: flex-end; }
  .hero-copy { padding: 2rem 1.5rem 2.4rem; }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.8rem); max-width: 12ch; }
  .hero-copy .lede { max-width: none; font-size: 1rem; }
  .hero-copy .btn-row { margin-top: 1.3rem; gap: 0.7rem; }
}

/* ---------- Hand-drawn accent marks (small, restrained — from the zine) ---------- */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.55em;
  background: url("../motifs/dot-clay.png") no-repeat center / contain;
  vertical-align: middle;
  transform: translateY(-1px);
}
section.charcoal .eyebrow::before,
.hero-copy .eyebrow::before {
  background-image: url("../motifs/dot-ochre.png");
}

.rule-accent {
  display: block;
  width: 130px;
  height: auto;
  margin: 0.9rem 0 1.5rem;
  opacity: 0.9;
}
.rule-accent.center { margin-left: auto; margin-right: auto; }
section.charcoal .rule-accent,
.poem-section .rule-accent { filter: brightness(1.6); }

/* Heading + inline trailing rule (Join Us, Contributed designs, Recognition levels) */
.heading-with-rule {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.rule-accent.inline {
  display: inline-block;
  width: 130px;
  margin: 0.2rem 0 0;
  flex: 0 0 auto;
}

/* ---------- Donate card with QR ---------- */
.donate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}
.donate-card > div:first-child { flex: 1 1 auto; }
.donate-qr {
  flex: 0 0 auto;
  text-align: center;
}
.donate-qr img {
  border: 1px solid var(--ak-hairline);
  padding: 6px;
  background: var(--ak-bone);
}
.donate-qr .small {
  display: block;
  margin-top: 0.5rem;
}
@media (max-width: 700px) {
  .donate-card { flex-direction: column; text-align: center; }
  .donate-card > div:first-child { text-align: center; }
}

/* ---------- Osage design (text + drawing side by side, ribbon full-bleed edge) ---------- */
.osage-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 2.5rem;
}
.osage-layout {
  padding-top: 1rem;
}
.osage-drawing {
  margin: 0;
  text-align: left;
}
.osage-drawing img { max-width: 280px; width: 100%; margin: 0; }
.osage-caption {
  color: var(--ak-ochre);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-top: 3rem;
}
/* Invisible wrapper matching .container's exact box (max-width/margin/padding),
   stretched full section height, so the ribbon's position is tied to the same
   coordinate system as the grid content above it — not to viewport width. */
.osage-ribbon-wrap {
  position: absolute;
  inset: 0;
  max-width: 1120px;
  margin: 0 auto;
  pointer-events: none;
}
.osage-ribbon-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.75rem;
  width: 110px;
  overflow: hidden;
  opacity: 0.95;
}
.osage-ribbon-edge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 700px) {
  .osage-layout { padding-bottom: 0; }
  .osage-ribbon-wrap {
    position: static;
    max-width: none;
    padding: 0;
    margin: 2.5rem 0 0;
  }
  .osage-ribbon-edge {
    position: static;
    display: block;
    width: 100%;
    height: 130px;
  }
}

/* ---------- Why Here (cinematic, corner-anchored composition) ---------- */
.why-here-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(90vh, 820px);
  overflow: hidden;
  background: var(--ak-charcoal);
}
.why-here-wrap video,
.why-here-wrap .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
/* Faint overall mood darkening only — legibility comes from the solid card below. */
.why-here-wrap .hero-scrim {
  background: linear-gradient(0deg, rgba(20,20,18,0.25) 0%, rgba(20,20,18,0) 45%);
}
.why-here-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  margin: 2.5rem;
  padding: 2.5rem 30px;
  text-align: left;
  background: rgba(88, 106, 68, 0.85);
}
.why-here-copy .eyebrow {
  color: var(--ak-ochre);
}
.why-here-copy .eyebrow::before { background-image: url("../motifs/dot-ochre.png"); }
.why-here-copy h2 {
  color: var(--ak-bone);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 0.7em;
}
.why-here-copy p {
  color: var(--ak-bone);
  opacity: 0.96;
}
.why-here-copy .btn.on-dark {
  margin-top: 0.5rem;
  border-color: var(--ak-bone);
  color: var(--ak-bone);
}
.why-here-copy .btn.on-dark:hover {
  background: var(--ak-bone);
  color: var(--ak-woodland);
}
@media (max-width: 800px) {
  .why-here-wrap { min-height: min(94vh, 680px); }
  .why-here-copy { margin: 1.25rem; padding: 1.75rem 1.5rem 2rem; max-width: none; }
  .why-here-copy h2 { max-width: none; }
}

/* ---------- Poem section ---------- */
.poem-section {
  position: relative;
  background: var(--ak-charcoal);
  color: var(--ak-sage);
  padding: 5.5rem 0;
  overflow: hidden;
  text-align: center;
}
.poem-section .blob {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,156,88,0.30), rgba(193,156,88,0) 68%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.poem-section .mark {
  position: relative;
  z-index: 1;
  font-family: var(--ak-font-header);
  font-size: 3.4rem;
  color: var(--ak-clay);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.poem-section .poem {
  position: relative;
  z-index: 1;
}
.poem-section .poem-attrib {
  position: relative;
  z-index: 1;
  font-family: var(--ak-font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ak-ochre);
  margin-top: 1.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--ak-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--ak-earth-red);
  color: var(--ak-earth-red);
  background: transparent;
  border-radius: 1px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--ak-earth-red); color: var(--ak-bone); text-decoration: none; }

.btn.solid { background: var(--ak-earth-red); color: var(--ak-bone); }
.btn.solid:hover { background: var(--ak-charcoal); border-color: var(--ak-charcoal); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
section.spacious { padding: 6.5rem 0; }
section.tinted { background: #f6efe0; }
section.charcoal { background: var(--ak-charcoal); color: var(--ak-bone); }
section.charcoal h2 { color: var(--ak-sage); }
section.charcoal .eyebrow { color: var(--ak-ochre); }
section.charcoal a { color: var(--ak-sage); }

.hr {
  border: none;
  border-top: 1px solid var(--ak-hairline);
  margin: 0;
}

.section-head { max-width: 640px; margin-bottom: 2.6rem; }

/* ---------- Cards / grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--ak-hairline);
  padding: 1.8rem;
  background: var(--ak-bone);
}
.card h3 { color: var(--ak-earth-red); }
.card .num {
  font-family: var(--ak-font-header);
  font-size: 2rem;
  color: var(--ak-sage);
  -webkit-text-stroke: 1px var(--ak-woodland);
  margin-bottom: 0.3rem;
}

figure { margin: 0; }
figcaption {
  font-family: var(--ak-font-ui);
  font-size: 0.82rem;
  color: var(--ak-ink-soft);
  margin-top: 0.6rem;
  line-height: 1.4;
}
figcaption .attrib { color: var(--ak-earth-red); font-weight: 600; }

.concept-plan {
  align-self: center;
  text-align: center;
}
.concept-plan img {
  display: block;
  width: 100%;
  margin: 0 auto;
}
.concept-plan figcaption { text-align: left; }

.bone-card img { border: 1px solid var(--ak-hairline); }

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

.timeline .step {
  border-top: 3px solid var(--ak-earth-red);
  padding-top: 1rem;
}
.timeline .step .when::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.5em;
  vertical-align: middle;
  transform: translateY(-1px);
  background: url("../motifs/dot-clay.png") no-repeat center / contain;
}
.timeline .step:nth-child(2) .when::before { background-image: url("../motifs/dot-earthred.png"); }
.timeline .step:nth-child(3) .when::before { background-image: url("../motifs/dot-ochre.png"); }
.timeline .step:nth-child(4) .when::before { background-image: url("../motifs/dot-sage.png"); }
.timeline .step:nth-child(5) .when::before { background-image: url("../motifs/dot-turquoise.png"); }
.timeline .step .when {
  font-family: var(--ak-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--ak-clay);
  display: block;
  margin-bottom: 0.5rem;
}

/* ---------- Recognition levels ---------- */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2rem; }
@media (max-width: 900px) { .levels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .levels { grid-template-columns: 1fr; } }
.level {
  border: 1px solid var(--ak-hairline);
  padding: 1.5rem 1.4rem;
}
.level .amount {
  font-family: var(--ak-font-header);
  font-size: 1.6rem;
  color: var(--ak-earth-red);
  display: block;
  margin-bottom: 0.2rem;
}
.level .tier {
  font-family: var(--ak-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--ak-ink-soft);
  display: block;
  margin-bottom: 0.8rem;
}
.level ul { margin: 0; padding-left: 1.1rem; font-size: 0.92rem; }
.level li { margin-bottom: 0.35rem; }

.donate-note {
  font-family: var(--ak-font-ui);
  font-size: 0.85rem;
  color: var(--ak-ink-soft);
  max-width: 60ch;
}

/* ---------- Pull quote ---------- */
blockquote.pull {
  font-family: var(--ak-font-body);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ak-earth-red);
  border-left: 3px solid var(--ak-earth-red);
  padding-left: 1.4rem;
  margin: 2rem 0;
}
blockquote.pull.no-border {
  border-left: none;
  padding-left: 0;
}
blockquote.pull.with-side-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: left;
}
blockquote.pull.with-side-rule .side-rule {
  flex: 0 0 auto;
  width: 70px;
  filter: brightness(1.6);
}
@media (max-width: 640px) {
  blockquote.pull.with-side-rule { flex-direction: column; text-align: center; }
}

/* ---------- Partner list ---------- */
.partner-list {
  columns: 2;
  column-gap: 3rem;
  margin-top: 1.5rem;
}
@media (max-width: 700px) { .partner-list { columns: 1; } }
.partner-list li { break-inside: avoid; margin-bottom: 0.55rem; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ak-charcoal);
  color: var(--ak-sage);
  padding: 3.5rem 0 2.5rem;
  font-family: var(--ak-font-ui);
  font-size: 0.88rem;
}
footer.site-footer a { color: var(--ak-bone); }
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 700px) { footer.site-footer .foot-grid { grid-template-columns: 1fr; } }
footer.site-footer h4 {
  color: var(--ak-bone);
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 0.5rem; }
footer.site-footer .signature { max-width: 160px; opacity: 0.9; margin-bottom: 1rem; filter: invert(1) brightness(1.6); }
footer.site-footer .fine { border-top: 1px solid rgba(187,198,166,0.25); padding-top: 1.5rem; color: rgba(187,198,166,0.7); font-size: 0.78rem; }

/* ---------- Closing poem ---------- */
.poem {
  font-family: var(--ak-font-body);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--ak-sage);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Contact form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.form-grid label {
  display: block;
  font-family: var(--ak-font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ak-ink-soft);
  margin-bottom: 0.4rem;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ak-hairline);
  background: var(--ak-bone);
  font-family: var(--ak-font-body);
  font-size: 1rem;
  color: var(--ak-charcoal);
  border-radius: 1px;
}
.form-grid textarea { min-height: 150px; resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--ak-earth-red);
}
.form-grid .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-submit-row { margin-top: 1.8rem; display: flex; align-items: center; gap: 1.2rem; }
.form-submit-row button {
  font-family: var(--ak-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border: 1px solid var(--ak-earth-red);
  background: var(--ak-earth-red);
  color: var(--ak-bone);
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.15s ease;
}
.form-submit-row button:hover { background: var(--ak-charcoal); border-color: var(--ak-charcoal); }
.form-submit-row button:disabled { opacity: 0.6; cursor: default; }
.form-status {
  font-family: var(--ak-font-ui);
  font-size: 0.9rem;
}
.form-status.success { color: var(--ak-woodland); }
.form-status.error { color: var(--ak-earth-red); }

/* ---------- Scroll reveal (subtle, respects reduced-motion) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.88rem; color: var(--ak-ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox-trigger { cursor: zoom-in; }
body.lightbox-open { overflow: hidden; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4.5rem;
  background: rgba(32, 32, 30, 0.94);
}
.lightbox-overlay[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  border: 1px solid var(--ak-hairline);
  background: var(--ak-bone);
}
.lightbox-caption {
  font-family: var(--ak-font-ui);
  font-size: 0.9rem;
  color: var(--ak-bone);
  margin-top: 0.9rem;
  text-align: center;
  line-height: 1.4;
}
.lightbox-caption .attrib { color: var(--ak-ochre); font-weight: 600; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--ak-earth-red);
  border-radius: 1px;
  background: transparent;
  color: var(--ak-bone);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--ak-earth-red); color: var(--ak-bone); }

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) {
  .lightbox-overlay { padding: 4.5rem 1rem 1rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
}
