/* Shiva Skanda Vel — shivaskandavel.com
   FF Meta Serif (body/display) + Brandon Grotesque (labels/nav)
   served via Adobe Fonts kit fvv5bro. */

:root {
  --paper: #FAF7F1;
  --ink: #211C17;
  --ink-soft: #75695C;
  --umber: #2B221B;       /* deep warm dark — reflection + footer */
  --umber-text: #EDE4D7;
  --umber-soft: #BCAE9C;
  --kumkum: #B0481E;
  --kumkum-light: #DB8E5C;
  --hairline: #E5DFD4;

  --serif: "ff-meta-serif-web-pro", "Meta Serif Pro", Georgia, serif;
  --sans: "brandon-grotesque", "Brandon Grotesque", "Avenir Next", "Segoe UI", Helvetica, sans-serif;

  --space-section: clamp(5rem, 11vw, 9rem);
  --space-block: clamp(3rem, 6vw, 5rem);
}

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

body {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--kumkum); outline-offset: 3px; }

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* ---------- Grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: 2rem;
}

.col-label { grid-column: 1 / 4; }
.col-body  { grid-column: 4 / 12; }

@media (max-width: 860px) {
  .col-label, .col-body { grid-column: 1 / -1; }
  .grid { row-gap: 1rem; }
}

/* ---------- Label / eyebrow ---------- */

.label {
  font-family: var(--sans);
  font-weight: 420;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Header ---------- */

.site-header { padding-block: clamp(1.5rem, 3vw, 2.25rem); }

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

.wordmark { display: block; }
.wordmark .word { height: 1.7rem; width: auto; display: block; }
@media (max-width: 600px) { .wordmark .word { height: 1.55rem; } }

.site-nav { display: flex; flex-wrap: wrap; gap: 1.1rem 1.9rem; }

.site-nav a {
  font-family: var(--sans);
  font-weight: 420;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 3px;
}
.site-nav a:hover, .site-nav a:focus { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--kumkum); }

.nav-toggle { display: none; }

@media (max-width: 600px) {
  .site-header .container {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--ink);
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
    margin: 0;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { font-size: 1.1rem; letter-spacing: 0.18em; color: var(--ink); }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--kumkum); }

  .nav-close {
    position: absolute;
    top: 1.4rem;
    right: 1.5rem;
    width: 2.6rem;
    height: 2.6rem;
    background: none;
    border: 0;
    font-family: var(--serif);
    font-size: 2rem;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
    padding: 0;
    letter-spacing: 0;
  }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 601px) { .nav-close { display: none; } }

/* ---------- Hero (home): title band over a full image band ---------- */

.hero-head {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem clamp(2rem, 5vw, 3.5rem);
  max-width: 52rem;
  margin: 0 auto;
}
.hero-head .hero-sd {
  height: clamp(4.5rem, 9vw, 6.5rem);
  width: auto;
  margin: 0 auto clamp(1.4rem, 3vw, 2.2rem);
  display: block;
}
.hero-head .label { margin-bottom: 1.1rem; }
.hero-head .display {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.06;
}
.hero-head .descriptor {
  margin: 1.2rem auto 0;
  max-width: 46ch;
}

.hero-band {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}
.hero-frame {
  background: #F1EADD;
  padding: clamp(0.6rem, 1.4vw, 1.1rem);
  box-shadow: 0 1px 0 rgba(33, 28, 23, 0.06);
}
.hero-frame img {
  width: 100%;
  height: min(64vh, 40rem);
  object-fit: cover;
  object-position: center 44%;
  display: block;
  outline: 1px solid rgba(33, 28, 23, 0.09);
  outline-offset: -1px;
}
.hero-band figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0.8rem 0.15rem 0;
  text-align: center;
}

@media (max-width: 560px) {
  .hero-frame img { height: 54vh; }
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
}

.descriptor {
  margin-top: 1.6rem;
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 26ch;
}


/* ---------- Page title block (inner pages) ---------- */

.page-title { margin-top: clamp(2rem, 6vw, 5rem); }
.page-title .label { margin-bottom: 1.4rem; }
.page-title .display { max-width: 14ch; }

/* ---------- The record — mounted documentary figures ---------- */

.record {
  background: #F1EADD;
  padding: clamp(0.45rem, 0.9vw, 0.75rem);
  box-shadow: 0 1px 0 rgba(33, 28, 23, 0.06);
}
.record figcaption { padding-inline: 0.15rem; }

.record a { display: block; }
.record a:hover img, .record a:focus img { filter: sepia(0.1) saturate(0.95) contrast(1.04); }

.record img {
  width: 100%;
  filter: sepia(0.22) saturate(0.78) contrast(1.04) brightness(1.01);
  outline: 1px solid rgba(33, 28, 23, 0.09);
  outline-offset: -1px;
  transition: filter 0.25s ease;
}

.record figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  padding-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.9rem;
}
.record figcaption .credit {
  font-size: 0.66rem;
  opacity: 0.75;
  white-space: nowrap;
}
.record figcaption .when {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 420;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kumkum);
  white-space: nowrap;
}

/* The gallery: staggered stacks, like plates laid on a desk.
   Three uneven columns; the middle sits lower, the third lower still.
   Records keep their natural heights, so the edges stay ragged. */

.gallery {
  display: grid;
  grid-template-columns: 7fr 6fr 4fr;
  column-gap: clamp(0.8rem, 1.4vw, 1.3rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.stack { display: flex; flex-direction: column; gap: clamp(0.8rem, 1.4vw, 1.3rem); }
.stack:nth-child(2) { margin-top: clamp(1.2rem, 3vw, 2.2rem); }
.stack:nth-child(3) { margin-top: clamp(2rem, 4.5vw, 3.5rem); }

/* scale modulation: minors pull in, keys fill the wide first column */
.record--minor { width: 90%; }
.record--minor.alt { align-self: flex-end; }

.gallery--feature { grid-template-columns: 6fr 5fr 5fr; }
.gallery--feature .stack:nth-child(1) { margin-top: 0; }
.gallery--feature .stack:nth-child(2) { margin-top: clamp(1.2rem, 3vw, 2.2rem); }
.gallery--feature .stack:nth-child(3) { margin-top: clamp(0.6rem, 1.5vw, 1.2rem); }

.gallery--sprawl { grid-template-columns: 7fr 6fr; }
.gallery--sprawl .stack:nth-child(2) { margin-top: clamp(3rem, 7vw, 6rem); }

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .stack { display: contents; }
  .stack .record { width: 100% !important; margin-bottom: 1rem; }
}

/* ---------- Prose sections — ruled like a ledger ---------- */

.section { margin-top: var(--space-section); }
.section > .container > .grid {
  border-top: 1px solid var(--hairline);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
}

.prose p { margin-bottom: 1.5rem; max-width: 50rem; }
.prose p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  line-height: 1.5;
  max-width: none !important;
}

.prose a { color: var(--kumkum); text-decoration: none; border-bottom: 1px solid currentColor; }
.prose a:hover { border-bottom-width: 2px; }

/* ---------- Onward links ---------- */

.onward { list-style: none; margin-top: var(--space-block); }
.onward li { border-top: 1px solid var(--hairline); }
.onward li:last-child { border-bottom: 1px solid var(--hairline); }
.onward a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.4rem 0.25rem;
  text-decoration: none;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.onward a .label { transition: color 0.15s ease; }
.onward a:hover, .onward a:focus { color: var(--kumkum); }
.onward a:hover .label { color: var(--kumkum); }

/* ---------- Figures within pages ---------- */

.figure { margin-top: var(--space-block); }
.figure img { width: 100%; }
.figure figcaption {
  font-family: var(--sans);
  font-weight: 420;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}

.figure--left  { grid-column: 4 / 9; }
.figure--right { grid-column: 7 / 12; }
.figure--wide  { grid-column: 4 / 11; }

@media (max-width: 860px) {
  .figure--left, .figure--right, .figure--wide { grid-column: 1 / -1; }
}

/* ---------- Reflection (Swami Suryananda) — signature section ---------- */

.reflection {
  background: linear-gradient(160deg, #352A21 0%, #2B221B 48%, #231B15 100%);
  color: var(--umber-text);
  margin-top: var(--space-section);
  padding-block: var(--space-section);
  position: relative;
  overflow: hidden;
}
.reflection::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' fill='%23EDE4D7' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.reflection::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -6rem;
  width: 26rem;
  height: 27rem;
  background: url("../images/sd-cream.svg") no-repeat center / contain;
  opacity: 0.055;
  pointer-events: none;
}
.reflection .container { position: relative; z-index: 1; }

.reflection .attribution {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kumkum-light);
  grid-column: 1 / 4;
}

.reflection .words { grid-column: 4 / 12; }

.reflection p {
  font-style: normal;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.reflection p:last-child { margin-bottom: 0; }

.reflection .lead {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.45;
  max-width: 34ch;
  margin-bottom: 2.4rem;
  grid-column: 4 / 11;
}

/* Two-column body for the long testimony (desktop only) */
.reflection .words--cols {
  columns: 2;
  column-gap: clamp(2rem, 4vw, 3.5rem);
}
.reflection .words--cols p { break-inside: avoid; }
@media (max-width: 760px) {
  .reflection .words--cols { columns: 1; }
}

.reflection .accent { color: var(--kumkum-light); }

.aside-record {
  grid-column: 10 / 13;
  align-self: start;
  margin-top: 0.5rem;
  transform: rotate(-0.7deg);
}
@media (max-width: 860px) {
  .aside-record { grid-column: 1 / -1; max-width: 16rem; }
}

.reflection .reflection-aside {
  grid-column: 10 / 13;
  align-self: end;
  margin-bottom: 0.5rem;
  transform: rotate(0.8deg);
}
.reflection .reflection-aside--top {
  align-self: start;
  margin-bottom: 0;
  margin-top: 1rem;
  transform: rotate(-0.7deg);
}
.reflection .reflection-aside figcaption { color: #BCAE9C; }
.reflection .reflection-aside figcaption .when { color: var(--kumkum-light); }

@media (max-width: 860px) {
  .reflection .attribution { grid-column: 1 / -1; margin-bottom: 0.5rem; }
  .reflection .words { grid-column: 1 / -1; }
  .aside-record {
  grid-column: 10 / 13;
  align-self: start;
  margin-top: 0.5rem;
  transform: rotate(-0.7deg);
}
@media (max-width: 860px) {
  .aside-record { grid-column: 1 / -1; max-width: 16rem; }
}

.reflection .reflection-aside { grid-column: 1 / -1; max-width: 17rem; margin-top: 1rem; }
}

/* ---------- Pull-quote: the founder's voice ---------- */

.pullquote {
  margin-top: var(--space-section);
  background: #F1EADD;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  box-shadow: inset 0 1px 0 rgba(33, 28, 23, 0.05), inset 0 -1px 0 rgba(33, 28, 23, 0.05);
}
.pullquote blockquote::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--kumkum);
  margin-bottom: 2.2rem;
}
.pullquote blockquote p {
  font-style: italic;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.5;
  max-width: 40ch;
  margin-bottom: 1.6rem;
}
/* Two-line variant for short quotes that shouldn't wrap tight */
.pullquote--two blockquote p { max-width: 30ch; }
.pullquote--long blockquote p {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: 1.5rem;
}
.pullquote--long blockquote p:last-of-type { margin-bottom: 1.6rem; }

.pullquote cite {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 420;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--kumkum);
}

main:has(> .pullquote:last-child) + .site-footer { margin-top: 0; }
main > .pullquote:last-child { margin-bottom: 0; }

/* ---------- Story reflection: large single-column close ---------- */

.reflection .words-close {
  grid-column: 4 / 12;
  margin-top: clamp(2.4rem, 5vw, 3.5rem);
}
.reflection .words-close p {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.5;
  max-width: 42ch;
  margin: 0;
}
@media (max-width: 860px) {
  .reflection .words-close { grid-column: 1 / -1; }
}

/* ---------- Closing line ---------- */

.closing {
  margin-top: var(--space-section);
}
.closing p {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  max-width: 42ch;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 3rem;
  margin-top: var(--space-block);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form label {
  display: block;
  font-family: var(--sans);
  font-weight: 420;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-soft);
  padding: 0.35rem 0 0.6rem;
  margin-bottom: 2rem;
  border-radius: 0;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--kumkum);
}
.contact-form textarea { min-height: 7.5rem; resize: vertical; }
.contact-form .hint {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: -1.4rem 0 2rem;
  max-width: 30rem;
}

button {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  padding: 1.05rem 2.6rem;
  cursor: pointer;
}
button:hover, button:focus { background: var(--kumkum); }

address { font-style: normal; display: block; margin-bottom: 1.6rem; }
.trust-details p { margin-bottom: 1.4rem; max-width: 28rem; }
.trust-details strong { font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--umber);
  color: var(--umber-text);
  margin-top: var(--space-section);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 3rem;
  align-items: start;
}
.site-footer .footer-body { grid-column: 1; }
.site-footer .footer-sd {
  grid-column: 2;
  height: clamp(10rem, 19vw, 15rem);
  width: auto;
  display: block;
  justify-self: end;
  opacity: 0.09;
}
.site-footer .footer-mark { margin-bottom: 2.4rem; }
.site-footer .footer-mark img { height: 2rem; width: auto; display: block; opacity: 0.72; }
@media (max-width: 640px) {
  .site-footer .container { grid-template-columns: 1fr; }
  .site-footer .footer-sd { grid-column: 1; justify-self: start; margin-top: 2.5rem; height: 6rem; }
}

.site-footer .footer-email {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 2.2rem;
}
.site-footer .footer-email a { color: var(--umber-text); text-decoration: none; border-bottom: 1px solid var(--kumkum-light); }
.site-footer .footer-email a:hover { color: var(--kumkum-light); }

.site-footer .small {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #BCAE9C;
  max-width: 34rem;
  margin-bottom: 0.9rem;
}
.site-footer .small:last-child { margin-bottom: 0; }
.site-footer .small a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .small a:hover { color: var(--umber-text); }

/* ---------- Page load fade ---------- */

@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.site-header, main, .site-footer { animation: pageFade 0.8s ease both; }
main { animation-delay: 0.08s; }
.site-footer { animation-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .site-header, main, .site-footer { animation: none; }
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ---------- Video record ---------- */

.record--video .frame {
  aspect-ratio: 9 / 16;
  width: 100%;
  outline: 1px solid rgba(33, 28, 23, 0.09);
  outline-offset: -1px;
}
.record--video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Plate breakout: Guru bridging the page and the testimony ---------- */

.plate-breakout {
  max-width: clamp(15rem, 28vw, 22rem);
  margin-left: auto;
  margin-right: clamp(1.5rem, 8vw, 7rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  margin-bottom: calc(-1 * clamp(4rem, 9vw, 7rem));
  position: relative;
  z-index: 2;
  transform: rotate(1.4deg);
  box-shadow: 0 16px 36px rgba(33, 28, 23, 0.22);
}
@media (max-width: 640px) {
  .plate-breakout {
    max-width: 14rem;
    margin-right: 1.25rem;
    margin-bottom: -3rem;
  }
}

/* ---------- Map (contact) ---------- */

.map-mount {
  background: #F1EADD;
  padding: clamp(0.45rem, 0.9vw, 0.75rem);
  box-shadow: 0 1px 0 rgba(33, 28, 23, 0.06);
  margin-top: var(--space-block);
}
.map-mount iframe {
  width: 100%;
  height: clamp(20rem, 46vw, 28rem);
  border: 0;
  display: block;
  filter: sepia(0.28) saturate(0.62) contrast(1.02);
  outline: 1px solid rgba(33, 28, 23, 0.09);
  outline-offset: -1px;
}
.map-mount figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0.7rem 0.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.9rem;
}
.map-mount figcaption a {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 420;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kumkum);
  text-decoration: none;
  white-space: nowrap;
}
.map-mount figcaption a:hover { text-decoration: underline; }

/* ---------- Caption action (full screen) ---------- */

.cap-action {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 420;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kumkum);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}
.cap-action:hover, .cap-action:focus { background: none; color: var(--ink); text-decoration: underline; }

/* ---------- Share link ---------- */

.share-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-weight: 420;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kumkum) !important;
  border-bottom: 1px solid currentColor;
  text-decoration: none !important;
  cursor: pointer;
}
.share-link:hover { color: var(--ink) !important; }

/* ---------- Scroll to top ---------- */

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 40;
  box-shadow: 0 4px 14px rgba(33, 28, 23, 0.25);
}
.to-top.show { opacity: 0.85; pointer-events: auto; }
.to-top:hover, .to-top:focus { opacity: 1; background: var(--kumkum); }

/* ---------- Skip link ---------- */

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.8rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- Lightbox ---------- */

.lb {
  position: fixed;
  inset: 0;
  background: rgba(33, 26, 20, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: clamp(1rem, 4vw, 3rem);
}
.lb[hidden] { display: none; }

.lb img {
  max-width: min(92vw, 70rem);
  max-height: 78vh;
  width: auto;
  height: auto;
  outline: 1px solid rgba(237, 228, 215, 0.12);
}

.lb .lb-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--umber-text);
  margin-top: 1.1rem;
  text-align: center;
}
.lb .lb-caption .when {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 420;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kumkum-light);
  margin-left: 0.9rem;
}

.lb button {
  position: absolute;
  background: transparent;
  color: var(--umber-text);
  border: 0;
  padding: 1rem;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.lb button:hover, .lb button:focus { background: transparent; color: var(--kumkum-light); }
.lb .lb-close { top: 1rem; right: 1.25rem; }
.lb .lb-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
