/* ==========================================================================
   Eco Farm Living — public site
   index.php · walk/index.php · walk/view.php

   Visual direction: "नील और हल्दी" (Indigo & Turmeric).
   Khadi-paper ground, indigo ink, turmeric as the single loud colour, and one
   hand-painted signboard plate per page. Depth comes from hard offset blocks,
   never blurred shadows or gradients. Green appears in exactly one place on
   the whole site: the WhatsApp action.
   Type: Mukta (Devanagari + Latin in one family) with Baloo 2 for the boards.
   ========================================================================== */

:root {
  /* ground */
  --paper:       #f5f1e6;
  --paper-deep:  #ebe4d2;
  --card:        #ffffff;

  /* indigo ink */
  --ink:         #16233c;
  --ink-soft:    #2b3d5e;
  --muted:       #55637b;
  --indigo:      #1f3a68;
  --indigo-dark: #132444;
  --indigo-pale: #e3e8f1;

  /* turmeric */
  --haldi:       #f2b208;
  --haldi-deep:  #a87500;
  --haldi-pale:  #fbeec4;

  /* the only green on the site */
  --wa:          #0f7c41;
  --wa-dark:     #0b6435;

  /* used only where a brand demands it (PDF, YouTube) */
  --rust:        #b3391b;
  --rust-dark:   #8c2a11;

  --line:        #d8d1be;
  --line-strong: #b9b09a;

  --r:           6px;
  --r-lg:        10px;

  --font-ui:      "Mukta", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Baloo 2", "Mukta", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --wrap:   1080px;
  --gutter: clamp(16px, 4vw, 32px);
  --space:  clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  /* 17px floor on phones (requirement), 19px on wide screens */
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Mukta carries Devanagari and Latin in one family, so Hindi and English sit
   on the same metrics at the same size. Hindi only needs a little more air. */
html[lang="hi"] body,
[lang="hi"] { line-height: 1.72; }

img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }

a {
  color: var(--indigo);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--indigo-dark); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
details:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 3px;
}
.site-header a:focus-visible,
.site-footer a:focus-visible,
.home-hero a:focus-visible,
.board a:focus-visible,
.walk-nav a.is-active:focus-visible {
  outline-color: var(--haldi);
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
html[lang="hi"] h1, html[lang="hi"] h2,
html[lang="hi"] h3, html[lang="hi"] h4 { line-height: 1.35; }

h1 { font-size: clamp(1.65rem, 1.2rem + 2.1vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem); }
p  { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 100;
  background: var(--haldi);
  color: var(--ink);
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: var(--r);
  border: 2px solid var(--ink);
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   The signboard plate — the one loud thing, at most once per page
   -------------------------------------------------------------------------- */

.board {
  position: relative;
  background: var(--haldi);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1.1rem 1.15rem;
}
@media (min-width: 720px) {
  .board { box-shadow: 8px 8px 0 var(--ink); padding: 1.4rem 1.6rem; }
}
.board h1, .board h2, .board p { color: var(--ink); }
.board a { color: var(--ink); text-decoration-color: rgba(22, 35, 60, 0.45); }
.board a:hover { color: var(--ink); text-decoration-color: currentColor; }

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

.site-header {
  background: var(--indigo-dark);
  color: #fff;
  border-bottom: 4px solid var(--haldi);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  padding-block: 0.7rem;
  min-height: 56px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  text-decoration: none;
  min-height: 44px;
  padding-block: 0.35rem;
}
.wordmark:hover { color: var(--haldi); }
.wordmark .leaf { font-size: 1.1em; line-height: 1; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.site-nav > a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  padding: 0.55rem 0.2rem;
  border-bottom: 3px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav > a:hover { color: #fff; border-bottom-color: rgba(242, 178, 8, 0.6); }
.site-nav > a.is-active { color: #fff; border-bottom-color: var(--haldi); }

/* Language toggle: two real, tappable halves of one switch. */
.lang-toggle {
  display: inline-flex;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--r);
  overflow: hidden;
}
.lang-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.75rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}
.lang-toggle a + a { border-left: 2px solid rgba(255, 255, 255, 0.4); }
.lang-toggle a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.lang-toggle a.is-active { background: var(--haldi); color: var(--ink); }

/* --------------------------------------------------------------------------
   Main / sections
   -------------------------------------------------------------------------- */

main { flex: 1 0 auto; padding-block: clamp(1.25rem, 3vw, 2rem) var(--space); }
main.home { padding-block: 0; }
main.wrap > :last-child { margin-bottom: 0; }

.section { margin-bottom: var(--space); }
.section:last-child { margin-bottom: 0; }

.section-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.55rem;
  margin: 0 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--line);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
}
.section-title .fa-solid,
.section-title .fa-brands { color: var(--indigo); font-size: 0.85em; align-self: center; }
.section-title a { color: var(--ink); text-decoration: none; }
.section-title a:hover { color: var(--indigo); text-decoration: underline; }

.count {
  display: inline-block;
  background: var(--haldi);
  color: var(--ink);
  border-radius: 3px;
  padding: 0.05em 0.45em;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: 0.1em;
}

.prose { max-width: 66ch; }
.prose p:last-child { margin-bottom: 0; }
.prose a { overflow-wrap: anywhere; }

.eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.eyebrow-text { font-weight: 600; color: var(--muted); }

/* Worded "All 7 videos" link that closes every block. */
.more-link { margin: 0.9rem 0 0; }
.more-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--indigo);
}
.more-row { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.6rem 1.15rem;
  border: 2px solid var(--indigo);
  border-radius: var(--r);
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.btn:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); color: #fff; }
.btn .fa-brands, .btn .fa-solid { font-size: 1.1em; }

.btn-outline { background: transparent; color: var(--indigo); }
.btn-outline:hover { background: var(--indigo-pale); color: var(--indigo-dark); border-color: var(--indigo-dark); }

.btn-haldi { background: var(--haldi); border-color: var(--ink); color: var(--ink); }
.btn-haldi:hover { background: #ffc32a; border-color: var(--ink); color: var(--ink); }

.btn-youtube { background: var(--rust); border-color: var(--rust); }
.btn-youtube:hover { background: var(--rust-dark); border-color: var(--rust-dark); }

/* The WhatsApp action: the only green on the site, always the tallest button
   in its row, and full width where a thumb has to hit it. */
.btn-whatsapp {
  background: var(--wa);
  border-color: var(--wa);
  min-height: 54px;
  padding-inline: 1.35rem;
  font-size: 1.05rem;
  box-shadow: 3px 3px 0 rgba(11, 100, 53, 0.35);
}
.btn-whatsapp:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn-whatsapp .fa-brands { font-size: 1.35em; }
@media (max-width: 519px) {
  .btn-whatsapp { width: 100%; }
  .home-actions .btn { width: 100%; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  padding: 0.1rem 0.5rem;
  background: var(--card);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.badge-green { background: var(--haldi-pale); border-color: var(--haldi-deep); color: #5e4200; }
.badge-muted { background: var(--paper-deep); border-color: var(--line-strong); color: var(--muted); }
.badge-live  { background: var(--haldi); border-color: var(--ink); color: var(--ink); }

/* --------------------------------------------------------------------------
   Home page (index.php)
   -------------------------------------------------------------------------- */

.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 68svh;
  padding-block: clamp(2.5rem, 8vw, 5rem);
  border-bottom: 5px solid var(--haldi);
  overflow: hidden;
}
@media (min-width: 900px) { .home-hero { min-height: 74vh; } }

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
/* Flat legibility scrim — a working layer, not decoration. */
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(13, 23, 42, 0.66);
}

.home-hero-inner { width: 100%; }

.home-plate { max-width: 30rem; }
.home-plate h1 {
  margin: 0;
  font-size: clamp(1.7rem, 1rem + 3.6vw, 3rem);
  letter-spacing: -0.005em;
}

.home-lede {
  max-width: 34ch;
  margin: 1.4rem 0 0;
  color: #fff;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.home-actions { margin-top: 1.5rem; }
.home-actions .btn {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.home-actions .btn:hover { background: var(--haldi); border-color: var(--haldi); color: var(--ink); }
.home-actions .btn-youtube {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}
.home-actions .btn-youtube:hover { background: var(--rust-dark); border-color: var(--rust-dark); color: #fff; }

.home-social {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.home-social-label {
  flex-basis: 100%;
  margin: 0 0 0.15rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.home-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--r);
  color: #fff;
  font-size: 1.35rem;
  text-decoration: none;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.home-social a:hover { background: var(--haldi); border-color: var(--haldi); color: var(--ink); }

.home-main { padding-block: var(--space); }
.home-section-head { margin-bottom: 1.4rem; }
.home-section-head h2 { margin-bottom: 0.35rem; }
.home-section-head .prose { color: var(--ink-soft); }

.home-foot-links {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   Page intro (walk/index.php)
   -------------------------------------------------------------------------- */

.page-intro {
  display: grid;
  gap: 1.25rem;
  margin-bottom: var(--space);
}
@media (min-width: 820px) {
  .page-intro {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }
  /* Plate on the left, the sentence that explains it on the right. */
  .page-intro > div:first-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2.25rem;
  }
  .page-intro > div:first-child .prose { margin-top: 0; }
}
.page-intro .board { justify-self: start; }
.page-intro .board h1 { margin: 0; }
.page-intro .prose { margin-top: 1.1rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Walk cards (home + /walk/)
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 5px;
  background: var(--haldi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.16s ease;
}
.card:hover { border-color: var(--ink); color: inherit; }
.card:hover::after { transform: scaleX(1); }
.card:focus-visible { outline-offset: 2px; }

.card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--paper-deep);
  border-bottom: 2px solid var(--line);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

/* Pigment block + initial when a walk has no picture at all. */
.card-media .placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
}
.card-media .placeholder.tone-1 { background: var(--indigo); }
.card-media .placeholder.tone-2 { background: var(--rust); }
.card-media .placeholder.tone-3 { background: #6b2d4e; }
.card-media .placeholder.tone-4 { background: #5a4632; }
.card-media .placeholder.tone-5 { background: var(--haldi-deep); }

.card-media .badge {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  max-width: calc(100% - 1.3rem);
  white-space: normal;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem 1.15rem;
  flex: 1;
}
.card-title {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
}
.card:hover .card-title { color: var(--indigo); }
.card-person { display: block; margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-summary { display: block; margin: 0.3rem 0 0; font-size: 0.98rem; color: var(--ink-soft); }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.85rem;
}
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.15rem 0.45rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.card-meta .fa-solid, .card-meta .fa-brands { color: var(--indigo); font-size: 0.9em; }

.empty-state {
  border: 2px dashed var(--line-strong);
  border-radius: var(--r);
  background: var(--card);
  padding: 1.6rem 1.25rem;
  text-align: center;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb { margin-bottom: 1rem; font-size: 0.92rem; }
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.1rem;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-inline: 0.45rem;
  color: var(--line-strong);
}
.breadcrumb a {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  padding-block: 0.6rem;
  margin-block: -0.45rem;
}
.breadcrumb a:hover { color: var(--indigo); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
@media (max-width: 559px) {
  .breadcrumb li:last-child { display: none; }
  .breadcrumb a { max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* --------------------------------------------------------------------------
   Walk identity plate + sub-navigation
   -------------------------------------------------------------------------- */

.walk-plate { max-width: 44rem; margin-bottom: 1.25rem; }
.walk-plate .walk-plate-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(22, 35, 60, 0.72);
}
.walk-plate h1, .walk-plate .walk-plate-title { margin: 0; font-size: clamp(1.45rem, 1.1rem + 1.9vw, 2.25rem); }
.walk-plate a.walk-plate-title {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}
.walk-plate a.walk-plate-title:hover { text-decoration: underline; }
.walk-plate .walk-plate-person {
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
  color: rgba(22, 35, 60, 0.8);
}

/* Six destinations, all visible at 360px: 3 x 2 grid of tiles, then one row. */
.walk-nav { margin-bottom: var(--space); }
.walk-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.walk-nav li { display: flex; }
.walk-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 60px;
  padding: 0.45rem 0.25rem;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.walk-nav .wn-top {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1;
}
.walk-nav .wn-top .fa-solid,
.walk-nav .wn-top .fa-brands { font-size: 1.05rem; color: var(--indigo); }
.walk-nav .count { font-size: 0.72rem; padding: 0 0.35em; }
.walk-nav .wn-label { display: block; }
.walk-nav a:hover { border-color: var(--ink); color: var(--ink); background: var(--haldi-pale); }
/* A section with nothing in it stays reachable but stops asking for attention. */
.walk-nav a.is-empty { border-color: var(--line); color: var(--muted); background: transparent; }
.walk-nav a.is-empty .fa-solid,
.walk-nav a.is-empty .fa-brands { color: var(--muted); }
.walk-nav a.is-empty:hover { border-color: var(--line-strong); color: var(--ink-soft); background: var(--card); }
.walk-nav a.is-active {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  color: #fff;
}
.walk-nav a.is-active .fa-solid,
.walk-nav a.is-active .fa-brands { color: var(--haldi); }

@media (min-width: 620px) {
  .walk-nav ul { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .walk-nav a { min-height: 66px; font-size: 0.9rem; }
}

/* --------------------------------------------------------------------------
   Walk overview
   -------------------------------------------------------------------------- */

.walk-hero { margin-bottom: var(--space); }
.walk-hero-media {
  margin-bottom: 1.25rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-deep);
}
.walk-hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--paper-deep); }
@media (min-width: 900px) {
  .walk-hero.has-cover {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }
  .walk-hero.has-cover .walk-hero-media { grid-column: 2; grid-row: 1; margin-bottom: 0; }
  .walk-hero.has-cover .walk-hero-body { grid-column: 1; grid-row: 1; }
}
.walk-hero-visited {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.walk-hero-visited .fa-solid { color: var(--indigo); }
.walk-hero-summary {
  max-width: 62ch;
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.walk-hero .page-desc { margin-bottom: 1.1rem; }

/* --------------------------------------------------------------------------
   Section / detail page heads
   -------------------------------------------------------------------------- */

.page-head { margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; }
/* Video and event titles are full sentences from the owner, not short headlines. */
.video-page .page-head h1,
.event-page .page-head h1 {
  max-width: 24ch;
  font-size: clamp(1.35rem, 1.1rem + 1.25vw, 1.9rem);
}
.page-head h1 .fa-solid,
.page-head h1 .fa-brands { color: var(--indigo); font-size: 0.8em; }
.page-head .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.page-desc { color: var(--ink-soft); margin-top: 0.7rem; }

/* --------------------------------------------------------------------------
   Videos
   -------------------------------------------------------------------------- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item { display: flex; flex-direction: column; gap: 0.5rem; }
.video-caption { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

.video-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 0.9rem;
}
.video-thumbs.is-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

/* Overview: a swipeable rail on phones, a grid from tablet up. */
.thumb-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.thumb-rail > * { scroll-snap-align: start; }
@media (min-width: 760px) {
  .thumb-rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 1rem;
    padding-bottom: 0;
  }
}

.video-thumb {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.12s ease;
}
.video-thumb:hover { border-color: var(--ink); color: var(--ink); }
.video-thumb .thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #10161f;
  border-bottom: 2px solid var(--line);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  transition: color 0.12s ease;
}
.video-thumb:hover .play { color: var(--haldi); }
.video-thumb .label {
  display: block;
  padding: 0.6rem 0.7rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.video-thumb:hover .label { color: var(--indigo); }
.video-thumb .thumb-badge { position: absolute; left: 0.5rem; top: 0.5rem; }

.video-page .video-frame { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Events
   -------------------------------------------------------------------------- */

.events-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--muted);
}

.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }

.event {
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-left-width: 8px;
  border-left-color: var(--indigo);
  border-radius: var(--r);
  padding: 0.95rem 1.05rem;
}
.event.is-ongoing { border-left-color: var(--haldi); }
.event.is-past { border-left-color: var(--line-strong); background: #fcfaf4; }

.event-date {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.2;
}
.event.is-past .event-date { color: var(--muted); }

.event-title { margin: 0.25rem 0 0.55rem; font-size: 1.05rem; font-weight: 600; }
.event-title a {
  color: var(--indigo);
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(31, 58, 104, 0.35);
}
.event-title a:hover { color: var(--indigo-dark); text-decoration-color: currentColor; }
.event-title .badge { margin-right: 0.35rem; vertical-align: 0.05em; }

.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.event-meta .fa-solid { margin-right: 0.3rem; color: var(--indigo); }

.event-note { margin-top: 0.75rem; font-size: 0.97rem; color: var(--ink-soft); }
.event-note p:last-child { margin-bottom: 0; }

details.past-events { margin-top: 1.5rem; }
details.past-events > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.5rem 0.85rem;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
details.past-events > summary::-webkit-details-marker { display: none; }
details.past-events > summary::before {
  content: "\25B8";
  color: var(--indigo);
  transition: transform 0.14s ease;
}
details.past-events[open] > summary::before { transform: rotate(90deg); }
details.past-events > .event-list { margin-top: 0.9rem; }

.event-page .event-facts,
.event-facts {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
}
@media (min-width: 620px) {
  .event-facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem 1.75rem; }
}
.event-facts > div { min-width: 0; }
.event-facts dt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.event-facts dt .fa-solid { color: var(--indigo); }
.event-facts dd { margin: 0; font-weight: 600; font-size: 1.02rem; }
.event-page-note { margin-bottom: 1.25rem; }
.event-page.is-past { opacity: 0.97; }

/* Event attachments (A9) */
.event-attachments { display: grid; gap: 0.9rem; margin-top: 1rem; min-width: 0; }
.att-photos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.att-photos li { margin: 0; }
.att-photos a {
  display: block;
  width: 96px;
  aspect-ratio: 1;
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
}
.att-photos a:hover { border-color: var(--ink); }
.att-photos img { width: 100%; height: 100%; object-fit: cover; }

.att-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.att-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-size: 0.97rem;
  text-decoration: none;
  min-width: 0;
}
.att-link .fa-solid { color: var(--indigo); font-size: 0.85em; }
.att-link .att-label {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}
.att-link .att-host { color: var(--muted); font-size: 0.85rem; overflow-wrap: anywhere; }

.att-videos { display: grid; gap: 1rem; }
@media (min-width: 720px) { .att-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.att-video-thumbs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 0.65rem; }

/* --------------------------------------------------------------------------
   Documents
   -------------------------------------------------------------------------- */

.doc-group + .doc-group { margin-top: 1.75rem; }

.folder-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}
.folder-heading .fa-solid { color: var(--haldi-deep); }

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.doc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  padding: 0.7rem 0.8rem;
}
.doc-row:hover { border-color: var(--ink); }
.doc-icon {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: #fbeae6;
  border-radius: var(--r);
  color: var(--rust);
  font-size: 1.3rem;
}
.doc-icon.is-img { background: var(--indigo-pale); color: var(--indigo); }
.doc-main { flex: 1 1 12rem; min-width: 0; }
.doc-name {
  display: block;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
  padding-block: 0.3rem;
  margin-block: -0.15rem;
  overflow-wrap: anywhere;
}
.doc-name:hover { color: var(--indigo); text-decoration: underline; }
.doc-size {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.6rem;
  margin-top: 0.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.doc-kind {
  color: var(--rust);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.doc-actions { flex: 0 0 auto; display: flex; gap: 0.4rem; margin-left: auto; }
.doc-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.7rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--indigo);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}
.doc-actions a:hover { background: var(--indigo-pale); border-color: var(--indigo); }
.doc-list.is-compact .doc-row { padding: 0.55rem 0.7rem; }
.doc-list.is-compact .doc-icon { width: 2rem; height: 2rem; font-size: 1.1rem; }
.doc-list.is-compact .doc-name { font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Photos & folders
   -------------------------------------------------------------------------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 0.7rem;
}
.photo-grid.has-folders { margin-top: 1.5rem; }
.photo { margin: 0; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.photo a {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
}
.photo a:hover { border-color: var(--ink); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { font-size: 0.86rem; color: var(--muted); line-height: 1.35; }

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 0.75rem;
}
.folder-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  padding: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 72px;
  transition: border-color 0.12s ease;
}
.folder-card:hover { border-color: var(--ink); color: var(--ink); }
.folder-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-deep);
}
.folder-thumb img { width: 100%; height: 100%; object-fit: cover; }
.folder-icon {
  position: absolute;
  right: 3px;
  bottom: 3px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--haldi);
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.7rem;
}
.folder-body { min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.folder-name { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.folder-card:hover .folder-name { color: var(--indigo); }
.folder-count { font-size: 0.86rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Location & contact
   -------------------------------------------------------------------------- */

.contact-card {
  display: grid;
  gap: 1.5rem;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  padding: 1.15rem 1.2rem;
}
@media (min-width: 760px) {
  .contact-card { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
}
.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.contact-card h2 .fa-solid { color: var(--indigo); font-size: 0.9em; }
.contact-card .btn-row { margin-top: 1rem; }
.contact-card p:last-of-type { margin-bottom: 0; }
.contact-note { font-size: 0.97rem; color: var(--ink-soft); }
.contact-note p:last-child { margin-bottom: 0; }
.contact-card.is-snippet { gap: 1.1rem; }

/* --------------------------------------------------------------------------
   Back links & 404
   -------------------------------------------------------------------------- */

.back-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: var(--space);
  padding-top: 1.1rem;
  border-top: 2px solid var(--line);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

.not-found { text-align: center; padding: 3rem 1rem 4rem; }
.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 6rem);
  font-weight: 800;
  color: var(--haldi);
  line-height: 1;
  margin-bottom: 0.5rem;
  -webkit-text-stroke: 2px var(--ink);
}
.not-found p { color: var(--muted); }
.not-found .btn-row { justify-content: center; }

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

.site-footer {
  margin-top: auto;
  background: var(--indigo-dark);
  color: rgba(255, 255, 255, 0.86);
  border-top: 5px solid var(--haldi);
  padding-block: 2rem 2.25rem;
}
.site-footer a { color: #fff; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}
.footer-brand:hover { color: var(--haldi); }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r);
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.social-links a:hover { background: var(--haldi); border-color: var(--haldi); color: var(--ink); }
.footer-by { margin: 0; font-size: 0.95rem; max-width: 60ch; }
.footer-by a { overflow-wrap: anywhere; }
.footer-copy { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .thumb-rail { scroll-snap-type: none; }
}
