:root {
  color-scheme: light;
  --font-body: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-ui: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --bg: #f7f4ee;
  --surface: #fffaf2;
  --surface-strong: #fff;
  --ink: #17201c;
  --muted: #5f6a63;
  --line: rgba(23, 32, 28, 0.12);
  --teal: #0f766e;
  --teal-dark: #0b4f49;
  --maroon: #7a2434;
  --saffron: #d8912c;
  --leaf: #3f7d3f;
  --shadow: 0 24px 80px rgba(17, 30, 24, 0.16);
  --radius: 8px;
  --max: 1180px;
  --header-height: 76px;
  font-family: var(--font-body);
}

body.dark {
  color-scheme: dark;
  --bg: #131716;
  --surface: #1c221f;
  --surface-strong: #232b27;
  --ink: #f3efe7;
  --muted: #b9c3bb;
  --line: rgba(243, 239, 231, 0.14);
  --teal: #2ab7a7;
  --teal-dark: #78d6c9;
  --maroon: #e17b8e;
  --saffron: #f1b65d;
  --leaf: #8ac77e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 34rem),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 88%, var(--teal) 12%));
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: var(--font-ui);
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--maroon));
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

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

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--ink);
  color: var(--surface);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
}

.hero,
.page-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(6rem, 11vw, 9rem) clamp(1rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 19, 16, 0.9), rgba(11, 19, 16, 0.58) 50%, rgba(11, 19, 16, 0.2)),
    linear-gradient(0deg, rgba(11, 19, 16, 0.84), transparent 50%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
  color: white;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 7.2rem);
  max-width: 11ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.hero-copy,
.page-hero-copy p,
.section-copy p,
.reading-block p,
.notes-copy p {
  max-width: 68ch;
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions,
.note-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.primary {
  background: var(--teal);
  color: white;
}

.button.glass {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-panel {
  align-self: end;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(18px);
}

.hero-panel strong,
.panel-kicker {
  display: block;
}

.panel-kicker {
  color: var(--saffron);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.intro-grid,
.two-column,
.split-band,
.research-map,
.notes-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(1.4rem, 5vw, 4rem);
  align-items: center;
}

.metric-grid,
.theme-grid,
.source-grid,
.future-grid {
  display: grid;
  gap: 1rem;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric,
.theme-card,
.source-card,
.future-grid article,
.quote-panel,
.reading-block,
.session-detail,
.tabs,
.map-card,
.note-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  box-shadow: 0 16px 60px rgba(17, 30, 24, 0.08);
}

.metric {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
}

.metric span {
  color: var(--maroon);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.metric p {
  margin-bottom: 0;
  color: var(--muted);
}

.visual-stack figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.visual-stack img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  gap: 0.9rem;
}

.feature-link {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-link:hover {
  transform: translateX(5px);
  border-color: color-mix(in srgb, var(--teal) 42%, var(--line));
}

.feature-link span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal);
}

.feature-link small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.map-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), transparent),
    radial-gradient(circle at 80% 20%, rgba(122, 36, 52, 0.2), transparent 12rem),
    var(--surface-strong);
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid var(--line);
  border-radius: 42% 58% 48% 52%;
  transform: rotate(-18deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.pin-a {
  top: 34%;
  left: 24%;
}

.pin-b {
  right: 18%;
  bottom: 26%;
  background: var(--maroon);
  color: white;
}

.pin-c {
  left: 40%;
  bottom: 44%;
  background: var(--teal);
  color: white;
}

.map-line {
  position: absolute;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--saffron), var(--saffron) 10px, transparent 10px, transparent 18px);
  transform-origin: left center;
}

.line-one {
  width: 45%;
  top: 45%;
  left: 30%;
  transform: rotate(22deg);
}

.line-two {
  width: 28%;
  left: 42%;
  bottom: 42%;
  transform: rotate(48deg);
}

.page-hero {
  min-height: 52svh;
  display: grid;
  align-items: end;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 5rem);
  color: white;
  background:
    linear-gradient(110deg, rgba(15, 25, 21, 0.92), rgba(15, 25, 21, 0.64)),
    var(--page-image, linear-gradient(135deg, var(--teal), var(--maroon)));
  background-size: cover;
  background-position: center;
}

.research-hero {
  --page-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Miskhal%20Masjid,%20Kozhikode,%20Kerala.jpg?width=1800");
}

.methodology-hero {
  --page-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Quvvathul%20Islam%20Madrassa.%20,%20Taliparamba,%20Kerala,%20India.%20(4488376429).jpg?width=1800");
}

.fieldwork-hero {
  --page-image: linear-gradient(135deg, rgba(15, 118, 110, 0.9), rgba(122, 36, 52, 0.78));
}

.archive-hero {
  --page-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Mishkal%20mosque%20calicut.jpg?width=1800");
}

.page-hero-copy {
  width: min(880px, 100%);
}

.page-hero h1 {
  max-width: 13ch;
}

.reading-block {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.quote-panel {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.3rem);
  background: linear-gradient(135deg, color-mix(in srgb, var(--maroon) 9%, var(--surface-strong)), var(--surface-strong));
}

.quote-mark {
  color: var(--maroon);
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.8;
}

.quote-panel p {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.timeline-item,
.session-step,
.tab-button,
.chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--ink);
}

.timeline-item {
  min-height: 120px;
  padding: 1rem;
  text-align: left;
}

.timeline-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline-item.is-active,
.session-step.is-active,
.tab-button.is-active,
.chip.is-active {
  border-color: transparent;
  background: var(--teal);
  color: white;
}

.timeline-item.is-active span {
  color: rgba(255, 255, 255, 0.76);
}

.timeline-detail {
  margin-top: 1rem;
  padding: 1.3rem;
  border-left: 5px solid var(--saffron);
  background: var(--surface-strong);
  border-radius: var(--radius);
}

.timeline-detail p {
  margin: 0;
  color: var(--muted);
}

.filter-bar,
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip,
.tab-button {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  font-weight: 800;
}

.theme-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.theme-card,
.source-card,
.future-grid article {
  padding: 1.15rem;
}

.theme-card svg,
.source-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 1rem;
  color: var(--teal);
}

.theme-card p,
.source-card li,
.future-grid p {
  color: var(--muted);
}

.theme-card.is-hidden {
  display: none;
}

.session-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1fr);
  gap: 1rem;
}

.session-steps {
  display: grid;
  gap: 0.65rem;
}

.session-step {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-weight: 800;
}

.session-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 12%, transparent);
  flex: 0 0 auto;
}

.session-detail {
  min-height: 360px;
  padding: clamp(1.2rem, 4vw, 2rem);
  display: grid;
  align-content: center;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--teal) 10%, transparent), transparent),
    var(--surface-strong);
}

.session-detail .step-number {
  color: var(--maroon);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.methods-band {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--teal) 10%, transparent);
}

.method-wheel {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.method-wheel article {
  min-height: 230px;
  padding: 1.1rem;
  background: var(--surface-strong);
}

.method-wheel svg {
  color: var(--maroon);
}

.relationship-diagram {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
}

.relationship-diagram > span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-weight: 900;
}

.relationship-diagram > span:first-child {
  top: 3rem;
}

.relationship-diagram > span:last-child {
  bottom: 3rem;
  background: var(--maroon);
  color: white;
}

.orbit {
  position: absolute;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-weight: 800;
}

.orbit-one {
  left: 14%;
}

.orbit-two {
  right: 13%;
  top: 45%;
}

.orbit-three {
  bottom: 44%;
}

.tabs {
  overflow: hidden;
}

.tab-list {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.tab-panel {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.question-list {
  columns: 2 320px;
  column-gap: 2rem;
  margin: 0;
  padding-left: 1.2rem;
}

.question-list li {
  break-inside: avoid;
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.checklist-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.progress-ring {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.progress-ring svg {
  width: 150px;
  transform: rotate(-90deg);
}

.ring-bg,
.ring-value {
  fill: none;
  stroke-width: 10;
}

.ring-bg {
  stroke: color-mix(in srgb, var(--ink) 10%, transparent);
}

.ring-value {
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 220ms ease;
}

.progress-ring strong {
  font-size: 2rem;
}

.progress-ring span {
  color: var(--muted);
}

.observation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.observation-list label {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--muted);
}

.observation-list input {
  accent-color: var(--teal);
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.note-board {
  padding: 1rem;
}

.note-form input {
  flex: 1 1 260px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0.9rem;
  background: var(--surface);
  color: var(--ink);
}

.note-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--teal) 9%, transparent);
}

.note-list button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
}

.source-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-card ul,
.future-grid ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.future-section {
  display: grid;
  gap: 1.5rem;
}

.future-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.future-grid span {
  color: var(--saffron);
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    justify-content: stretch;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero,
  .intro-grid,
  .two-column,
  .split-band,
  .research-map,
  .notes-section,
  .session-grid,
  .checklist-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .metric-grid,
  .theme-grid,
  .source-grid,
  .future-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-wheel {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .progress-ring {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.5rem;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 10vw, 2.7rem);
  }

  .metric-grid,
  .theme-grid,
  .source-grid,
  .future-grid,
  .timeline,
  .observation-list,
  .method-wheel {
    grid-template-columns: 1fr;
  }

  .question-list {
    columns: 1;
  }

  .page-hero {
    min-height: 46svh;
  }
}

body.mockup-home {
  --mock-green: #07331f;
  --mock-green-2: #0d4c31;
  --mock-black: #050706;
  --mock-cream: #f5f0e3;
  --mock-sage: #e2e4d9;
  --mock-card: #fff8e7;
  --mock-photo: #d7d7d7;
  --mock-text: #111713;
  --mock-muted: #35433a;
  --mock-gold: #d8a846;
  --mock-rust: #963f35;
  --mock-grid: rgba(7, 51, 31, 0.035);
  --mock-shadow-color: 0 18px 42px rgba(7, 51, 31, 0.09);
  --mock-shadow-sm: 0 12px 28px rgba(7, 51, 31, 0.08);
  --mock-shadow-hover: 0 24px 54px rgba(7, 51, 31, 0.15);
  --mock-journey-border: rgba(7, 51, 31, 0.18);
  --mock-journey-bg: rgba(7, 51, 31, 0.16);
  --mock-tag-bg: rgba(7, 51, 31, 0.1);
  --mock-photo-border: rgba(255, 255, 255, 0.78);
  background: var(--mock-cream);
  color: var(--mock-text);
  font-family: var(--font-body);
}

.mockup-home .mock-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 50px;
  display: grid;
  grid-template-columns: 44px 1fr clamp(120px, 18vw, 160px);
  align-items: center;
  gap: 0.75rem;
  padding: 0 2.6rem;
  background: var(--mock-black);
  border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mockup-home .nav-toggle {
  display: none;
}

.mockup-home .mock-nav {
  position: static;
  justify-self: center;
  display: flex;
  gap: clamp(1.5rem, 5vw, 4.1rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mockup-home .mock-nav a {
  min-height: 50px;
  padding: 0;
  border-radius: 0;
  color: #f2f2f2;
  font-size: 0.76rem;
  font-weight: 500;
  font-family: var(--font-ui);
}

.mockup-home .mock-nav a:hover,
.mockup-home .mock-nav a.is-active {
  background: transparent;
  color: #75d79d;
  transform: none;
}

.mock-search {
  height: 18px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.35rem;
  border-radius: 3px;
  background: #0c5635;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mock-search svg {
  width: 10px;
  height: 10px;
  color: white;
}

.mock-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-size: 0.75rem;
  font-family: var(--font-ui);
}

.mock-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 42%);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
  min-height: 330px;
  padding: 1.7rem clamp(2.2rem, 5vw, 4.7rem) 2.1rem;
  background:
    linear-gradient(90deg, rgba(7, 51, 31, 0.96), rgba(7, 51, 31, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 13px);
  color: white;
  overflow: hidden;
}

.mock-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--mock-gold), var(--mock-rust));
  opacity: 0.95;
}

.mock-hero h1 {
  max-width: 620px;
  margin-bottom: 0.25rem;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.98;
  font-weight: 700;
}

.mock-hero .subtitle {
  width: max-content;
  max-width: 100%;
  margin: 0 0 1.55rem;
  padding-bottom: 0.2rem;
  border-bottom: 3px solid #3ac273;
  color: #f8fbf6;
  font-size: clamp(0.82rem, 1.25vw, 1.2rem);
  font-weight: 800;
  font-family: var(--font-ui);
}

.mock-hero p:not(.subtitle) {
  max-width: 560px;
  margin-bottom: 0;
  color: #f3f7f1;
  font-size: clamp(0.8rem, 1.12vw, 1.08rem);
  line-height: 1.22;
}

.photo-box {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 160px;
  background: var(--mock-photo);
  color: #171717;
  font-size: clamp(1rem, 2vw, 1.8rem);
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.photo-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 360ms ease, filter 360ms ease;
}

.photo-box:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.08);
}

.photo-box figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.45rem 0.55rem;
  background: rgba(5, 7, 6, 0.74);
  color: white;
  font-size: clamp(0.5rem, 1vw, 0.82rem);
  line-height: 1.15;
  backdrop-filter: blur(8px);
}

.hero-photo {
  min-height: 300px;
}

.overview-band {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: 2.2rem clamp(2.2rem, 5vw, 4.7rem);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--mock-cream) 95%, transparent), color-mix(in srgb, var(--mock-cream) 72%, transparent)),
    repeating-linear-gradient(0deg, var(--mock-grid) 0 1px, transparent 1px 16px);
}

.overview-band::before,
.culture-band::before,
.challenges-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(2.2rem, 5vw, 4.7rem);
  width: 84px;
  height: 4px;
  background: var(--mock-gold);
}

.overview-copy h2,
.center-title {
  margin-bottom: 0.55rem;
  color: var(--mock-text);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.1;
  text-align: left;
}

.overview-copy p {
  max-width: 390px;
  margin-bottom: 0.25rem;
  color: var(--mock-muted);
  font-size: clamp(0.76rem, 1vw, 1rem);
  line-height: 1.18;
}

.overview-photo {
  min-height: 250px;
  font-size: clamp(1.1rem, 2.1vw, 1.9rem);
}

.methodology-preview,
.challenges-band {
  position: relative;
  padding: 1.55rem clamp(2.2rem, 5vw, 4.7rem) 1.75rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mock-sage) 96%, transparent), color-mix(in srgb, var(--mock-sage) 90%, transparent)),
    repeating-linear-gradient(90deg, var(--mock-grid) 0 1px, transparent 1px 18px);
  border-top: 1px solid color-mix(in srgb, var(--mock-text) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--mock-text) 18%, transparent);
}

.center-title {
  text-align: center;
}

.methodology-cards,
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.2rem);
  width: min(1120px, 100%);
  margin: 0.8rem auto 0;
}

.mock-card {
  position: relative;
  min-height: 160px;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 0.22rem;
  padding: 1.35rem 1.2rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: var(--mock-card);
  color: var(--mock-text);
  text-align: center;
  box-shadow: 0 14px 32px rgba(7, 51, 31, 0.08);
  overflow: hidden;
}

.mock-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(216, 168, 70, 0.12), transparent 38%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.mock-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(7, 51, 31, 0.16);
}

.mock-card:hover::before {
  opacity: 1;
}

.mock-card > * {
  position: relative;
  z-index: 1;
}

.mock-card strong {
  margin-top: 1.1rem;
  font-size: clamp(0.82rem, 1vw, 1rem);
  line-height: 1.08;
  font-family: var(--font-ui);
}

.mock-card small {
  max-width: 190px;
  color: #303a34;
  font-size: clamp(0.64rem, 0.8vw, 0.8rem);
  line-height: 1.08;
}

.icon-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(34px, 5.2vw, 58px);
  height: clamp(34px, 5.2vw, 58px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mock-green), var(--mock-green-2));
  color: white;
  box-shadow: 0 10px 24px rgba(7, 51, 31, 0.18);
}

.icon-placeholder svg,
.small-icon svg {
  width: 52%;
  height: 52%;
}

.findings-band {
  position: relative;
  padding: 1.35rem clamp(2.2rem, 5vw, 4.7rem) 1.45rem;
  background:
    linear-gradient(135deg, rgba(7, 51, 31, 0.98), rgba(9, 61, 38, 0.98)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12px);
  color: white;
}

.findings-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(2.2rem, 5vw, 4.7rem);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--mock-gold), var(--mock-rust));
}

.center-title.light {
  color: white;
}

.finding-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: start;
  width: min(1120px, 100%);
  margin: 1.1rem auto 0;
}

.finding-grid article {
  text-align: center;
}

.small-icon {
  display: grid;
  place-items: center;
  width: min(120px, 72%);
  min-height: 76px;
  margin: 0 auto 0.72rem;
  background: #f2ead6;
  color: var(--mock-green);
  font-size: 0.72rem;
  border: 1px solid rgba(216, 168, 70, 0.42);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.finding-grid h3,
.culture-grid h3 {
  margin: 0 0 0.18rem;
  font-size: clamp(0.86rem, 1.1vw, 1.08rem);
  line-height: 1.08;
  font-family: var(--font-ui);
}

.finding-grid p,
.culture-grid p {
  max-width: 190px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.62rem, 0.8vw, 0.78rem);
  line-height: 1.08;
}

.culture-band {
  position: relative;
  padding: 1.3rem clamp(2.2rem, 5vw, 4.7rem) 1.55rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mock-cream) 95%, transparent), color-mix(in srgb, var(--mock-cream) 98%, transparent)),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--mock-rust) 4.5%, transparent) 0 1px, transparent 1px 18px);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 5vw, 4rem);
  width: min(1060px, 100%);
  margin: 1rem auto 0;
  text-align: center;
}

.culture-grid .photo-box {
  min-height: 126px;
  margin-bottom: 0.55rem;
  font-size: clamp(0.9rem, 1.7vw, 1.45rem);
  box-shadow: 0 12px 28px rgba(7, 51, 31, 0.12);
}

.culture-grid h3,
.culture-grid p {
  color: var(--mock-text);
}

.culture-grid p {
  color: #364039;
}

.challenge-grid {
  width: min(1050px, 100%);
}

.challenges-band .mock-card {
  min-height: 142px;
}

.mock-quote {
  width: min(1090px, 100%);
  margin: 1.05rem auto 0;
  padding: 0.72rem 1rem;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--mock-green), #0f5838);
  color: white;
  text-align: center;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 600;
  line-height: 1.1;
  box-shadow: 0 14px 30px rgba(7, 51, 31, 0.18);
}

.mock-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 2rem clamp(2.2rem, 8vw, 6.5rem);
  background:
    linear-gradient(135deg, rgba(7, 51, 31, 0.98), rgba(5, 36, 23, 1)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 14px);
  color: white;
  font-size: clamp(0.72rem, 0.95vw, 0.9rem);
  line-height: 1.13;
}

.mock-footer strong,
.mock-footer span {
  display: block;
}

.mock-footer strong {
  margin-bottom: 0.1rem;
  font-weight: 700;
}

.mockup-home .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 900px) {
  .mockup-home .mock-header {
    grid-template-columns: 44px 1fr clamp(110px, 20vw, 150px);
    padding: 0 1rem;
  }

  .mockup-home .nav-toggle {
    display: inline-grid;
    justify-self: start;
    width: 34px;
    height: 34px;
    border-color: rgba(255, 255, 255, 0.25);
    background: transparent;
    color: white;
  }

  .mockup-home .mock-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    gap: 0;
    padding: 0.35rem;
    border-radius: 8px;
    background: var(--mock-black);
  }

  .mockup-home .mock-nav.is-open {
    display: grid;
  }

  .mockup-home .mock-nav a {
    justify-content: center;
  }

  .mock-hero,
  .overview-band {
    grid-template-columns: 1fr;
  }

  .methodology-cards,
  .finding-grid,
  .culture-grid,
  .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mock-hero,
  .overview-band,
  .methodology-preview,
  .findings-band,
  .culture-band,
  .challenges-band {
    padding-inline: 1.25rem;
  }

  .methodology-cards,
  .finding-grid,
  .culture-grid,
  .challenge-grid,
  .mock-footer {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 230px;
  }
}

.mockup-home .mock-header {
  grid-template-columns: 1fr clamp(120px, 18vw, 160px);
}

.mockup-home .nav-toggle {
  display: none;
}

.mockup-home .mock-nav {
  position: static;
  display: flex;
  gap: clamp(0.55rem, 3vw, 4.1rem);
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.mockup-home .mock-nav a {
  font-size: clamp(0.42rem, 1.08vw, 0.76rem);
  white-space: nowrap;
}

.mockup-home .mock-header {
  padding-inline: clamp(1rem, 6vw, 2.6rem);
}

.mock-hero {
  grid-template-columns: minmax(0, 1fr) minmax(145px, 42%);
  min-height: clamp(205px, 40vw, 330px);
  gap: clamp(1rem, 8vw, 8rem);
}

.mock-hero h1 {
  font-size: clamp(1.55rem, 5.8vw, 4.7rem);
}

.mock-hero .subtitle {
  margin-bottom: clamp(0.85rem, 2.8vw, 1.55rem);
  font-size: clamp(0.45rem, 1.55vw, 1.2rem);
  border-bottom-width: clamp(1px, 0.4vw, 3px);
}

.mock-hero p:not(.subtitle) {
  font-size: clamp(0.45rem, 1.35vw, 1.08rem);
}

.hero-photo {
  min-height: clamp(145px, 36vw, 300px);
}

.overview-band {
  grid-template-columns: 0.8fr 1.6fr;
}

.overview-copy h2,
.center-title {
  font-size: clamp(0.72rem, 2.1vw, 1.8rem);
}

.overview-copy p {
  font-size: clamp(0.42rem, 1.18vw, 1rem);
}

.overview-photo {
  min-height: clamp(120px, 25vw, 250px);
}

.methodology-cards,
.challenge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finding-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.culture-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mock-footer {
  grid-template-columns: 1fr 1fr;
}

.mock-card {
  min-height: clamp(80px, 17vw, 160px);
  border-radius: clamp(5px, 1vw, 10px);
  padding: clamp(0.6rem, 2.7vw, 1.35rem) clamp(0.35rem, 2vw, 1.2rem) clamp(0.5rem, 2vw, 1.1rem);
}

.mock-card strong,
.finding-grid h3,
.culture-grid h3 {
  font-size: clamp(0.45rem, 1.18vw, 1.08rem);
}

.mock-card small,
.finding-grid p,
.culture-grid p {
  font-size: clamp(0.34rem, 0.9vw, 0.8rem);
}

.icon-placeholder {
  font-size: clamp(0.62rem, 1.8vw, 1.45rem);
}

.small-icon {
  min-height: clamp(42px, 9vw, 76px);
}

.culture-grid .photo-box {
  min-height: clamp(80px, 16vw, 126px);
}

.mock-quote,
.mock-footer {
  font-size: clamp(0.42rem, 1.12vw, 1rem);
}

@media (max-width: 380px) {
  .mock-hero,
  .overview-band {
    grid-template-columns: 1fr;
  }

  .methodology-cards,
  .finding-grid,
  .culture-grid,
  .challenge-grid,
  .mock-footer {
    grid-template-columns: 1fr;
  }
}

.mockup-home .mock-header {
  grid-template-columns: 34px 1fr clamp(120px, 18vw, 160px);
}

.home-brand {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--mock-green), var(--mock-rust));
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.mock-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(216, 168, 70, 0.18), transparent 15rem),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.08), transparent 11rem);
  pointer-events: none;
}

.mock-hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  color: #f6d891;
  font-size: clamp(0.52rem, 1.12vw, 0.82rem);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-eyebrow svg {
  width: 1em;
  height: 1em;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0.4rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.48rem, 1vw, 0.78rem);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  color: #f6d891;
}

.hero-visual {
  position: relative;
}

.hero-visual .hero-photo {
  transform: rotate(0.4deg);
  border: 7px solid rgba(255, 255, 255, 0.08);
}

.hero-note {
  position: absolute;
  right: clamp(0.5rem, 2vw, 1.1rem);
  top: clamp(-0.7rem, -1vw, -0.2rem);
  width: min(210px, 58%);
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 9px;
  background: rgba(5, 7, 6, 0.72);
  color: white;
  font-size: clamp(0.48rem, 1vw, 0.76rem);
  line-height: 1.12;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.hero-note svg {
  width: 34px;
  height: 34px;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--mock-gold);
  color: #17201c;
}

.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--mock-rust);
  font-size: clamp(0.5rem, 1.05vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-kicker.centered {
  text-align: center;
}

.section-kicker.light {
  color: #f6d891;
}

.overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.overview-tags span {
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  background: var(--mock-tag-bg);
  color: var(--mock-green);
  font-size: clamp(0.42rem, 0.9vw, 0.7rem);
  font-weight: 800;
}

.journey-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--mock-journey-bg);
  border-top: 1px solid var(--mock-journey-border);
  border-bottom: 1px solid var(--mock-journey-border);
}

.journey-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.65rem;
  row-gap: 0.05rem;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1.15rem) clamp(1rem, 5vw, 4.7rem);
  background: var(--mock-card);
}

.journey-strip svg {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  padding: 0.42rem;
  border-radius: 50%;
  background: var(--mock-green);
  color: white;
}

.journey-strip strong {
  font-size: clamp(0.68rem, 1.1vw, 0.95rem);
}

.journey-strip span {
  color: var(--mock-muted);
  font-size: clamp(0.44rem, 0.88vw, 0.72rem);
  line-height: 1.15;
}

.mockup-home:not(.subpage-theme) .mock-card {
  align-content: center;
}

.mockup-home:not(.subpage-theme) .mock-card strong {
  margin-top: 0.8rem;
}

@media (max-width: 700px) {
  .journey-strip {
    grid-template-columns: 1fr;
  }

  .mockup-home .mock-header {
    grid-template-columns: 30px 1fr clamp(110px, 20vw, 150px);
  }
}

.subpage-theme {
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--mock-gold) 16%, transparent), transparent 18rem),
    linear-gradient(180deg, var(--mock-cream), var(--mock-sage) 42%, var(--mock-cream));
}

.subpage-theme .page-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 42%);
  gap: clamp(1.2rem, 6vw, 5.5rem);
  align-items: center;
  padding: clamp(2.3rem, 6vw, 4.6rem) clamp(2.2rem, 5vw, 4.7rem);
  background:
    linear-gradient(90deg, rgba(7, 51, 31, 0.98), rgba(7, 51, 31, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 13px);
  color: white;
}

.subpage-theme .page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--mock-gold), var(--mock-rust));
}

.subpage-theme .page-hero-copy {
  width: auto;
}

.subpage-theme .page-hero h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  color: white;
}

.subpage-theme .page-hero p:not(.eyebrow) {
  max-width: 610px;
  color: #f3f7f1;
  font-size: clamp(0.86rem, 1.25vw, 1.12rem);
  line-height: 1.28;
}

.subpage-theme .subpage-photo {
  min-height: clamp(210px, 34vw, 330px);
  border: 8px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.subpage-theme .section {
  width: min(1120px, calc(100% - 2.4rem));
  padding: clamp(3rem, 6vw, 5.8rem) 0;
}

.subpage-theme .section-heading,
.subpage-theme .reading-block,
.subpage-theme .notes-copy {
  color: var(--mock-text);
}

.subpage-theme .section-heading .eyebrow,
.subpage-theme .reading-block .eyebrow,
.subpage-theme .notes-copy .eyebrow {
  color: var(--mock-rust);
}

.subpage-theme .section-heading h2,
.subpage-theme .reading-block h2,
.subpage-theme .notes-copy h2 {
  color: var(--mock-text);
  font-size: clamp(1.8rem, 3.8vw, 3.5rem);
}

.subpage-theme .reading-block,
.subpage-theme .quote-panel,
.subpage-theme .theme-card,
.subpage-theme .source-card,
.subpage-theme .future-grid article,
.subpage-theme .session-detail,
.subpage-theme .tabs,
.subpage-theme .note-board,
.subpage-theme .progress-ring,
.subpage-theme .observation-list label,
.subpage-theme .timeline-item {
  border: 0;
  background: var(--mock-card);
  box-shadow: var(--mock-shadow-color);
}

.subpage-theme .reading-block,
.subpage-theme .quote-panel,
.subpage-theme .source-card,
.subpage-theme .future-grid article,
.subpage-theme .session-detail,
.subpage-theme .tabs,
.subpage-theme .note-board,
.subpage-theme .progress-ring {
  position: relative;
  overflow: hidden;
}

.subpage-theme .reading-block::before,
.subpage-theme .source-card::before,
.subpage-theme .tabs::before,
.subpage-theme .note-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mock-gold), var(--mock-rust));
}

.subpage-theme .quote-panel {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--mock-gold) 15%, transparent), color-mix(in srgb, var(--mock-card) 96%, transparent)),
    var(--mock-card);
}

.subpage-theme .timeline,
.subpage-theme .theme-grid,
.subpage-theme .source-grid,
.subpage-theme .future-grid,
.subpage-theme .session-grid,
.subpage-theme .checklist-layout {
  gap: clamp(0.9rem, 2.5vw, 1.5rem);
}

.subpage-theme .timeline-item {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.subpage-theme .timeline-item:hover,
.subpage-theme .theme-card:hover,
.subpage-theme .source-card:hover,
.subpage-theme .future-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--mock-shadow-hover);
}

.subpage-theme .timeline-item.is-active,
.subpage-theme .session-step.is-active,
.subpage-theme .tab-button.is-active,
.subpage-theme .chip.is-active {
  background: linear-gradient(135deg, var(--mock-green), var(--mock-green-2));
  color: white;
}

.subpage-theme .timeline-detail {
  border: 0;
  border-left: 5px solid var(--mock-gold);
  background: var(--mock-card);
  box-shadow: var(--mock-shadow-sm);
}

.subpage-theme .theme-card,
.subpage-theme .source-card,
.subpage-theme .future-grid article {
  position: relative;
  overflow: hidden;
}

.subpage-theme .theme-card::after,
.subpage-theme .source-card::after,
.subpage-theme .future-grid article::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(216, 168, 70, 0.16);
}

.subpage-theme .theme-card svg,
.subpage-theme .source-card svg,
.subpage-theme .method-wheel svg {
  width: 38px;
  height: 38px;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--mock-green);
  color: white;
}

.subpage-theme .methods-band {
  background:
    linear-gradient(180deg, rgba(226, 228, 217, 0.98), rgba(226, 228, 217, 0.92)),
    repeating-linear-gradient(90deg, rgba(7, 51, 31, 0.045) 0 1px, transparent 1px 18px);
}

.subpage-theme .method-wheel {
  border: 0;
  background: transparent;
  gap: 1rem;
  overflow: visible;
}

.subpage-theme .method-wheel article {
  border-radius: 10px;
  background: var(--mock-card);
  box-shadow: 0 18px 42px rgba(7, 51, 31, 0.09);
}

.subpage-theme .session-step {
  border: 0;
  background: var(--mock-card);
  box-shadow: 0 12px 28px rgba(7, 51, 31, 0.08);
}

.subpage-theme .relationship-diagram {
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(216, 168, 70, 0.18), transparent 9rem),
    linear-gradient(135deg, var(--mock-card), var(--mock-cream));
  box-shadow: 0 18px 42px rgba(7, 51, 31, 0.09);
}

.subpage-theme .tab-list {
  border-bottom-color: rgba(7, 51, 31, 0.12);
}

.subpage-theme .progress-ring {
  background: linear-gradient(135deg, var(--mock-card), var(--mock-cream));
}

.subpage-theme .ring-value {
  stroke: var(--mock-green);
}

.subpage-theme .observation-list label {
  color: var(--mock-muted);
  transition: transform 180ms ease;
}

.subpage-theme .observation-list label:hover {
  transform: translateX(4px);
}

.subpage-theme .note-form input {
  background: var(--mock-card);
  color: var(--mock-text);
  border-color: color-mix(in srgb, var(--mock-text) 18%, transparent);
}

.subpage-theme .button.primary {
  background: var(--mock-green);
}

.subpage-theme .mock-footer a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.primary-research-link {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem auto 0;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: var(--mock-card);
  color: var(--mock-green);
  font-weight: 850;
  font-size: clamp(0.72rem, 1vw, 0.95rem);
  box-shadow: 0 14px 30px rgba(7, 51, 31, 0.12);
}

.primary-research-link svg {
  width: 18px;
  height: 18px;
}

.primary-snapshot .section-heading p:not(.eyebrow),
.site-gallery-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--mock-muted);
}

.primary-metrics,
.primary-finding-grid,
.participant-grid,
.site-card-grid {
  display: grid;
  gap: clamp(0.9rem, 2.5vw, 1.4rem);
}

.primary-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.primary-metrics article,
.primary-finding-grid article,
.participant-grid article,
.site-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--mock-card);
  box-shadow: 0 18px 42px rgba(7, 51, 31, 0.09);
}

.primary-metrics article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.primary-metrics article::before,
.primary-finding-grid article::before,
.participant-grid article::before,
.site-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mock-gold), var(--mock-rust));
}

.primary-metrics span {
  color: var(--mock-green);
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
}

.primary-metrics strong {
  margin: 0.55rem 0 0.25rem;
  font-family: var(--font-ui);
  font-size: 1rem;
}

.primary-metrics p,
.primary-finding-grid p,
.participant-grid li,
.site-card p {
  color: var(--mock-muted);
  font-size: 0.92rem;
}

.primary-finding-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.primary-finding-grid article,
.participant-grid article {
  padding: 1.1rem;
}

.primary-finding-grid svg,
.participant-icon svg {
  width: 42px;
  height: 42px;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--mock-green);
  color: white;
}

.primary-finding-grid h3,
.participant-grid h3,
.site-card h3 {
  margin-top: 0.9rem;
  font-family: var(--font-ui);
}

.participant-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.participant-grid ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.participant-grid li + li {
  margin-top: 0.45rem;
}

.site-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-card {
  padding: 0.75rem;
}

.site-card .photo-box {
  min-height: 180px;
  margin-bottom: 0.9rem;
  box-shadow: none;
}

.site-carousel {
  position: relative;
  min-height: 180px;
  margin-bottom: 0.9rem;
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in srgb, var(--mock-green) 12%, var(--mock-card));
}

.carousel-track {
  position: relative;
  min-height: 180px;
}

.carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 260ms ease, transform 260ms ease;
}

.carousel-track img.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.62);
  color: white;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-btn:hover {
  background: rgba(5, 7, 6, 0.82);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-prev {
  left: 0.55rem;
}

.carousel-next {
  right: 0.55rem;
}

.carousel-dots {
  position: absolute;
  z-index: 2;
  right: 0.7rem;
  bottom: 0.65rem;
  left: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.carousel-dot.is-active {
  width: 18px;
  background: var(--mock-gold);
}

.site-card h3,
.site-card p {
  padding: 0 0.25rem;
}

.photo-strip-section {
  padding-top: 0;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 54px rgba(7, 51, 31, 0.16);
}

.photo-strip img {
  height: clamp(160px, 22vw, 260px);
  object-fit: cover;
}

@media (max-width: 900px) {
  .subpage-theme .page-hero {
    grid-template-columns: 1fr;
  }

  .subpage-theme .subpage-photo {
    min-height: 240px;
  }

  .primary-metrics,
  .primary-finding-grid,
  .participant-grid,
  .site-card-grid,
  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .primary-metrics,
  .primary-finding-grid,
  .participant-grid,
  .site-card-grid,
  .photo-strip {
    grid-template-columns: 1fr;
  }
}

/* Custom Fixes for Palli Dars Research Website */

.mock-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.mockup-home .theme-toggle {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
  color: white;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mockup-home .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #75d79d;
  transform: scale(1.05);
}

.mockup-home .theme-toggle svg {
  width: 16px;
  height: 16px;
}

/* Dark Mode Variable Redefinitions for Mockup Template */
body.mockup-home.dark {
  --mock-cream: #121513;
  --mock-sage: #1e2420;
  --mock-card: #1c221e;
  --mock-text: #f0f4f1;
  --mock-muted: #9eb0a6;
  --mock-photo: #262f2a;
  --mock-grid: rgba(240, 244, 241, 0.04);
  --mock-shadow-color: 0 18px 42px rgba(0, 0, 0, 0.5);
  --mock-shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.4);
  --mock-shadow-hover: 0 24px 54px rgba(0, 0, 0, 0.6);
  --mock-journey-border: rgba(240, 244, 241, 0.15);
  --mock-journey-bg: rgba(240, 244, 241, 0.1);
  --mock-tag-bg: rgba(240, 244, 241, 0.15);
  --mock-photo-border: rgba(255, 255, 255, 0.08);
}

/* Search feedback */
.search-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-dim {
  opacity: 0.38;
  transition: opacity 180ms ease;
}

.search-match {
  outline: 2px solid color-mix(in srgb, var(--mock-gold) 70%, transparent);
  outline-offset: 3px;
}

/* Final visual system refinements */
.mockup-home .mock-hero,
.mockup-home.subpage-theme .page-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(13, 76, 49, 0.95) 0%, transparent 65%),
    radial-gradient(circle at 50% 0%, rgba(15, 118, 110, 0.48) 0%, transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(216, 168, 70, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(6, 41, 25, 0.95) 0%, transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(150, 63, 53, 0.25) 0%, transparent 60%),
    #062014;
  background-size: 150% 150%;
  animation: heroMeshFlow 16s ease infinite alternate;
}

@keyframes heroMeshFlow {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 50% 100%; }
}

.mockup-home .mock-hero h1,
.mockup-home.subpage-theme .page-hero h1 {
  background: linear-gradient(135deg, #ffffff 40%, #ffd97d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body.mockup-home.dark .mock-hero,
body.mockup-home.dark.subpage-theme .page-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(9, 53, 34, 0.8) 0%, transparent 65%),
    radial-gradient(circle at 50% 0%, rgba(11, 80, 75, 0.4) 0%, transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(216, 168, 70, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(4, 25, 15, 0.85) 0%, transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(120, 50, 42, 0.15) 0%, transparent 60%),
    #090e0c;
}

@media (prefers-reduced-motion: reduce) {
  .mockup-home .mock-hero,
  .mockup-home.subpage-theme .page-hero {
    animation: none;
  }
}

@media (max-width: 900px) {
  .mockup-home .mock-header {
    grid-template-columns: 34px 1fr auto;
  }

  .mockup-home .nav-toggle {
    display: inline-grid;
  }

  .mockup-home .mock-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    gap: 0;
    padding: 0.35rem;
    border-radius: 8px;
    background: var(--mock-black);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  }

  .mockup-home .mock-nav.is-open {
    display: grid;
  }

  .mockup-home .mock-nav a {
    justify-content: center;
  }
}

/* Responsive layout polish */
.mockup-home {
  --page-pad: clamp(1rem, 5vw, 5.75rem);
  --section-y: clamp(3rem, 7vw, 6.5rem);
}

.mockup-home .mock-header {
  min-height: 64px;
  padding-inline: var(--page-pad);
}

.mockup-home .mock-nav {
  gap: clamp(1.5rem, 4vw, 4.8rem);
}

.mockup-home .mock-nav a {
  min-height: 64px;
  align-items: center;
  font-size: clamp(0.86rem, 0.9vw, 1rem);
  font-weight: 700;
}

.mock-actions {
  gap: 0.65rem;
}

.mock-search {
  width: clamp(126px, 11vw, 180px);
  height: 30px;
  border-radius: 5px;
}

.mock-search input {
  font-size: 0.86rem;
}

.mockup-home .mock-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  min-height: min(720px, calc(100svh - 64px));
  padding: clamp(3rem, 7vw, 5.4rem) var(--page-pad);
  gap: clamp(2rem, 7vw, 7rem);
}

.mock-hero h1 {
  max-width: 9.5ch;
  font-size: clamp(4.2rem, 6.4vw, 7.4rem);
  line-height: 0.94;
}

.mock-hero .subtitle {
  width: min(100%, 670px);
  font-size: clamp(1.1rem, 1.4vw, 1.55rem);
}

.mock-hero p:not(.subtitle, .hero-eyebrow) {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.24vw, 1.35rem);
  line-height: 1.28;
}

.hero-visual .hero-photo,
.subpage-theme .subpage-photo {
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 8px;
}

.hero-note {
  top: -1.1rem;
  right: 1.4rem;
  width: min(260px, 54%);
}

.overview-band {
  grid-template-columns: minmax(280px, 0.62fr) minmax(420px, 1fr);
  padding: var(--section-y) var(--page-pad);
  gap: clamp(2rem, 7vw, 7rem);
}

.overview-copy h2,
.center-title {
  font-size: clamp(2rem, 3.2vw, 3.65rem);
}

.overview-copy p {
  max-width: 540px;
  font-size: clamp(1rem, 1.15vw, 1.24rem);
  line-height: 1.35;
}

.overview-photo {
  aspect-ratio: 16 / 7.5;
  min-height: 0;
}

.journey-strip article {
  padding-inline: var(--page-pad);
}

.methodology-preview,
.findings-band,
.culture-band,
.challenges-band {
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-pad);
}

.methodology-cards,
.challenge-grid,
.culture-grid,
.site-card-grid,
.primary-metrics,
.participant-grid {
  gap: clamp(1.25rem, 2vw, 2rem);
}

.mock-card,
.primary-metrics article,
.primary-finding-grid article,
.participant-grid article,
.site-card,
.source-card {
  border-radius: 12px;
}

.mock-card {
  min-height: clamp(160px, 14vw, 230px);
}

.finding-grid {
  gap: clamp(1.25rem, 4vw, 4rem);
}

.small-icon {
  width: min(120px, 80%);
  aspect-ratio: 1.45 / 1;
  min-height: 0;
}

.culture-grid .photo-box,
.site-carousel,
.carousel-track {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.site-card p,
.mock-card small,
.finding-grid p,
.culture-grid p {
  line-height: 1.42;
}

.subpage-theme .page-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.85fr);
  min-height: min(620px, calc(92svh - 64px));
  padding: clamp(3rem, 6vw, 5rem) var(--page-pad);
}

.subpage-theme .section {
  width: min(1380px, calc(100% - (var(--page-pad) * 2)));
  padding-block: var(--section-y);
}

@media (max-width: 1280px) {
  .mockup-home {
    --page-pad: clamp(1.25rem, 4vw, 3.8rem);
  }

  .mockup-home .mock-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    min-height: auto;
  }

  .mock-hero h1 {
    font-size: clamp(3.5rem, 6.8vw, 6.4rem);
  }

  .mock-hero p:not(.subtitle, .hero-eyebrow) {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
  }

  .overview-band {
    grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1fr);
  }

  .primary-finding-grid,
  .site-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .mockup-home .mock-header {
    grid-template-columns: 34px 1fr auto;
    padding-inline: 1rem;
  }

  .home-brand {
    display: none;
  }

  .mockup-home .nav-toggle {
    display: inline-grid;
  }

  .mockup-home .mock-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 0.5rem;
    border-radius: 12px;
    background: var(--mock-black);
  }

  .mockup-home .mock-nav.is-open {
    display: grid;
  }

  .mockup-home .mock-nav a {
    min-height: 46px;
    justify-content: center;
  }

  .mockup-home .mock-hero,
  .overview-band,
  .subpage-theme .page-hero,
  .two-column,
  .notes-section,
  .session-grid,
  .checklist-layout {
    grid-template-columns: 1fr;
  }

  .mockup-home .mock-hero,
  .subpage-theme .page-hero {
    padding-top: 3rem;
  }

  .mock-hero h1,
  .subpage-theme .page-hero h1 {
    max-width: 11ch;
  }

  .hero-visual {
    width: min(720px, 100%);
  }

  .overview-photo {
    aspect-ratio: 16 / 9;
  }

  .methodology-cards,
  .challenge-grid,
  .culture-grid,
  .primary-metrics,
  .participant-grid,
  .source-grid,
  .future-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .mockup-home {
    --page-pad: 1rem;
    --section-y: 3rem;
  }

  .mockup-home .mock-header {
    min-height: 58px;
    grid-template-columns: 34px 1fr auto;
  }

  .mock-actions {
    gap: 0.4rem;
  }

  .mock-search {
    width: 112px;
  }

  .mockup-home .mock-hero,
  .subpage-theme .page-hero {
    padding-inline: 1rem;
    gap: 1.4rem;
  }

  .mock-hero h1,
  .subpage-theme .page-hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .mock-hero .subtitle {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }

  .hero-stats {
    gap: 0.45rem;
  }

  .hero-stats span {
    min-height: 30px;
    font-size: 0.78rem;
  }

  .hero-note {
    position: static;
    width: 100%;
    margin-top: 0.65rem;
  }

  .journey-strip,
  .methodology-cards,
  .challenge-grid,
  .finding-grid,
  .culture-grid,
  .primary-metrics,
  .primary-finding-grid,
  .participant-grid,
  .site-card-grid,
  .source-grid,
  .future-grid,
  .photo-strip,
  .observation-list {
    grid-template-columns: 1fr;
  }

  .mock-card,
  .site-card,
  .primary-metrics article,
  .primary-finding-grid article,
  .participant-grid article,
  .source-card {
    min-height: auto;
  }

  .site-carousel,
  .carousel-track,
  .culture-grid .photo-box {
    aspect-ratio: 16 / 10;
  }

  .photo-strip img {
    height: 220px;
  }

  .subpage-theme .section {
    width: min(100% - 2rem, 1380px);
  }
}

@media (max-width: 420px) {
  .mock-search {
    width: 92px;
  }

  .mockup-home .theme-toggle {
    width: 30px;
    height: 30px;
  }

  .mock-hero h1,
  .subpage-theme .page-hero h1 {
    font-size: clamp(2.55rem, 15vw, 3.55rem);
  }

  .section-kicker,
  .hero-eyebrow {
    letter-spacing: 0.08em;
  }
}

/* Visual polish pass for laptop, tablet, and mobile */
html,
body {
  overflow-x: hidden;
}

.mockup-home {
  --font-heading: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Aptos", "Segoe UI", Arial, sans-serif;
  --font-ui: "Manrope", "Aptos", "Segoe UI", Arial, sans-serif;
  --page-pad: clamp(1.25rem, 4.6vw, 6rem);
  --section-y: clamp(3.4rem, 6vw, 6rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mock-cream) 96%, transparent), color-mix(in srgb, var(--mock-sage) 98%, transparent)),
    repeating-linear-gradient(90deg, var(--mock-grid) 0 1px, transparent 1px 44px);
}

.mockup-home .mock-header {
  min-height: 62px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(0.7rem, 2vw, 1.6rem);
  padding-inline: var(--page-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 7, 5, 0.94);
  backdrop-filter: blur(18px);
}

.mockup-home .mock-nav {
  justify-self: center;
  gap: clamp(0.55rem, 2.5vw, 3.6rem);
  max-width: 100%;
}

.mockup-home .mock-nav a {
  min-height: 62px;
  padding-inline: clamp(0.35rem, 1vw, 0.8rem);
  white-space: nowrap;
}

.mock-actions {
  min-width: 0;
}

.mockup-home .theme-toggle {
  flex: 0 0 auto;
}

.mock-search {
  flex: 0 1 170px;
  width: clamp(120px, 10vw, 170px);
}

.mock-hero,
.subpage-theme .page-hero {
  isolation: isolate;
}

.mockup-home .mock-hero {
  min-height: clamp(560px, calc(100svh - 62px), 690px);
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.88fr);
  gap: clamp(2.2rem, 5vw, 6.5rem);
  padding: clamp(3.2rem, 5.6vw, 5.2rem) var(--page-pad);
  border-bottom: 5px solid transparent;
  border-image: linear-gradient(90deg, var(--mock-gold), var(--mock-rust)) 1;
}

.mockup-home .mock-hero::before {
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.mock-hero h1 {
  max-width: 10.2ch;
  margin-bottom: 0.65rem;
  font-size: clamp(3.8rem, 5.5vw, 6.3rem);
  line-height: 0.95;
}

.mock-hero .subtitle {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.4rem;
  font-size: clamp(1rem, 1.15vw, 1.32rem);
  line-height: 1.2;
}

.mock-hero p:not(.subtitle, .hero-eyebrow) {
  max-width: 660px;
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  line-height: 1.42;
}

.hero-stats {
  max-width: 720px;
}

.hero-stats span {
  min-height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-visual {
  justify-self: end;
  width: min(100%, 760px);
}

.hero-visual .hero-photo,
.subpage-theme .subpage-photo {
  aspect-ratio: 4 / 3;
  border: 8px solid var(--mock-photo-border);
  border-radius: 10px;
  box-shadow: 0 26px 70px rgba(4, 15, 9, 0.35);
}

.hero-visual .hero-photo img,
.subpage-theme .subpage-photo img,
.overview-photo img,
.culture-grid .photo-box img,
.carousel-track img,
.photo-strip img {
  object-position: center;
}

.hero-note {
  top: -1rem;
  right: clamp(0.75rem, 2vw, 1.45rem);
  width: min(290px, 58%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.overview-band,
.methodology-preview,
.culture-band,
.challenges-band,
.subpage-theme .section {
  position: relative;
}

.overview-band {
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
  align-items: center;
  padding: var(--section-y) var(--page-pad);
  gap: clamp(2rem, 5.5vw, 6rem);
}

.overview-copy h2,
.center-title {
  font-size: clamp(2.1rem, 2.9vw, 3.35rem);
  line-height: 1;
}

.overview-copy p,
.primary-snapshot .section-heading p:not(.eyebrow),
.site-gallery-section .section-heading p:not(.eyebrow),
.subpage-theme .page-hero p:not(.eyebrow) {
  line-height: 1.5;
}

.overview-photo {
  aspect-ratio: 16 / 8.4;
  border-radius: 10px;
}

.journey-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-inline: var(--page-pad);
}

.journey-strip article {
  padding: 1.05rem clamp(0.8rem, 2vw, 1.4rem);
  border-radius: 10px;
  background: color-mix(in srgb, var(--mock-card) 72%, transparent);
  box-shadow: var(--mock-shadow-sm);
}

.methodology-preview,
.findings-band,
.culture-band,
.challenges-band {
  padding: clamp(3rem, 5vw, 4.8rem) var(--page-pad);
}

.methodology-cards,
.challenge-grid,
.culture-grid,
.primary-metrics,
.participant-grid,
.site-card-grid,
.source-grid,
.future-grid {
  gap: clamp(1rem, 2vw, 1.7rem);
}

.mock-card,
.theme-card,
.primary-metrics article,
.primary-finding-grid article,
.participant-grid article,
.site-card,
.source-card,
.future-grid article,
.tabs,
.note-board,
.reading-block,
.quote-panel,
.session-detail,
.progress-ring {
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(7, 51, 31, 0.1);
}

.mock-card {
  min-height: 190px;
  padding: 1.4rem 1.2rem 1.25rem;
}

.mock-card strong,
.site-card h3,
.primary-finding-grid h3,
.participant-grid h3,
.theme-card h3,
.future-grid h3 {
  line-height: 1.15;
}

.finding-grid {
  max-width: 1120px;
  gap: clamp(1rem, 3vw, 3rem);
}

.small-icon {
  width: min(108px, 74%);
  border-radius: 10px;
}

.culture-grid .photo-box,
.site-carousel,
.carousel-track {
  aspect-ratio: 16 / 10.5;
}

.subpage-theme .page-hero {
  min-height: clamp(460px, 72svh, 610px);
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.78fr);
  padding: clamp(3.2rem, 5.4vw, 5rem) var(--page-pad);
}

.subpage-theme .page-hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3.1rem, 5vw, 5.5rem);
}

.subpage-theme .section {
  width: min(1280px, calc(100% - (var(--page-pad) * 2)));
  padding-block: var(--section-y);
}

.primary-metrics article {
  min-height: 210px;
}

.primary-finding-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-strip {
  border-radius: 10px;
}

.photo-strip img {
  height: clamp(170px, 20vw, 250px);
}

@media (max-width: 1360px) {
  .mockup-home {
    --page-pad: clamp(1.25rem, 4vw, 4.75rem);
  }

  .mockup-home .mock-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    min-height: auto;
  }

  .mock-hero h1 {
    font-size: clamp(3.55rem, 5.7vw, 5.8rem);
  }

  .mock-hero p:not(.subtitle, .hero-eyebrow) {
    max-width: 620px;
  }

  .hero-visual .hero-photo {
    aspect-ratio: 16 / 10.4;
  }

  .site-card-grid,
  .primary-finding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .mockup-home .mock-nav {
    gap: clamp(0.45rem, 1.5vw, 1.6rem);
  }

  .mockup-home .mock-hero,
  .overview-band,
  .subpage-theme .page-hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: start;
  }

  .hero-note {
    width: min(310px, 64%);
  }

  .overview-photo {
    aspect-ratio: 16 / 9;
  }

  .methodology-cards,
  .challenge-grid,
  .culture-grid,
  .primary-metrics,
  .participant-grid,
  .source-grid,
  .future-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .mockup-home {
    --page-pad: clamp(1rem, 4vw, 1.8rem);
    --section-y: 3.25rem;
  }

  .mockup-home .mock-header {
    min-height: 58px;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    padding-inline: var(--page-pad);
  }

  .mockup-home .nav-toggle {
    display: inline-grid;
  }

  .mockup-home .mock-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: var(--page-pad);
    left: var(--page-pad);
    display: none;
    grid-template-columns: 1fr;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(3, 7, 5, 0.98);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
  }

  .mockup-home .mock-nav.is-open {
    display: grid;
  }

  .mockup-home .mock-nav a {
    min-height: 44px;
    justify-content: center;
  }

  .home-brand {
    display: inline-flex;
  }

  .mockup-home .nav-toggle {
    grid-column: 2;
  }

  .mock-actions {
    grid-column: 4;
  }

  .mock-search {
    width: clamp(105px, 22vw, 150px);
  }

  .mockup-home .mock-hero,
  .subpage-theme .page-hero {
    min-height: auto;
    padding-block: 2.6rem;
    gap: 1.6rem;
  }

  .mock-hero h1,
  .subpage-theme .page-hero h1 {
    max-width: 10.5ch;
    font-size: clamp(3.15rem, 11vw, 5rem);
  }

  .mock-hero p:not(.subtitle, .hero-eyebrow),
  .subpage-theme .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-visual .hero-photo,
  .subpage-theme .subpage-photo {
    aspect-ratio: 16 / 10.5;
    border-width: 6px;
  }

  .hero-note {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .journey-strip,
  .two-column,
  .session-grid,
  .checklist-layout,
  .notes-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mockup-home {
    --page-pad: 1rem;
    --section-y: 2.8rem;
  }

  .mockup-home .mock-header {
    gap: 0.55rem;
  }

  .mockup-home .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .mock-search {
    width: 106px;
    height: 32px;
  }

  .mock-search input {
    font-size: 0.78rem;
  }

  .mockup-home .mock-hero,
  .subpage-theme .page-hero,
  .overview-band,
  .methodology-preview,
  .findings-band,
  .culture-band,
  .challenges-band {
    padding-inline: var(--page-pad);
  }

  .hero-eyebrow,
  .section-kicker,
  .eyebrow {
    letter-spacing: 0.08em;
  }

  .mock-hero h1,
  .subpage-theme .page-hero h1 {
    max-width: 9.6ch;
    font-size: clamp(2.72rem, 14.5vw, 4rem);
  }

  .mock-hero .subtitle {
    width: 100%;
    font-size: 0.98rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats span {
    width: 100%;
    justify-content: flex-start;
  }

  .overview-copy h2,
  .center-title,
  .subpage-theme .section-heading h2,
  .subpage-theme .reading-block h2,
  .subpage-theme .notes-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .methodology-cards,
  .challenge-grid,
  .finding-grid,
  .culture-grid,
  .primary-metrics,
  .primary-finding-grid,
  .participant-grid,
  .site-card-grid,
  .source-grid,
  .future-grid,
  .photo-strip,
  .observation-list {
    grid-template-columns: 1fr;
  }

  .mock-card,
  .primary-metrics article,
  .primary-finding-grid article,
  .participant-grid article,
  .site-card,
  .source-card,
  .future-grid article {
    min-height: auto;
  }

  .site-carousel,
  .carousel-track,
  .culture-grid .photo-box,
  .overview-photo {
    aspect-ratio: 16 / 10;
  }

  .photo-strip img {
    height: 220px;
  }

  .subpage-theme .section {
    width: calc(100% - 2rem);
  }
}

@media (max-width: 420px) {
  .home-brand span {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }

  .mock-actions {
    gap: 0.35rem;
  }

  .mock-search {
    width: 92px;
  }

  .mock-hero h1,
  .subpage-theme .page-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.35rem);
  }

  .hero-visual .hero-photo,
  .subpage-theme .subpage-photo {
    aspect-ratio: 4 / 3;
  }
}

/* Global Search Modal Styles */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 15, 12, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 10vh, 6rem) 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-container {
  width: min(640px, 100%);
  max-height: min(600px, calc(100vh - 15vh));
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.97) translateY(-8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.is-open .search-modal-container {
  transform: scale(1) translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 40%, transparent);
}

.search-modal-icon {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

#search-modal-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: var(--ink);
}

#search-modal-input::placeholder {
  color: var(--muted);
  opacity: 0.65;
}

.search-modal-close {
  background: transparent;
  border: none;
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.search-modal-close:hover {
  background: var(--line);
  color: var(--ink);
}

.search-modal-close svg {
  width: 16px;
  height: 16px;
}

.search-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  min-height: 150px;
}

.search-modal-results {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: transparent;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
}

.search-result-item:hover,
.search-result-item.is-selected {
  background: color-mix(in srgb, var(--teal) 8%, var(--surface-strong));
  outline: none;
}

.search-result-item:active {
  transform: scale(0.99);
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-ui);
  margin-bottom: 0.25rem;
}

.search-result-page {
  color: var(--teal);
}

.search-result-divider {
  color: var(--line);
}

.search-result-section {
  color: var(--maroon);
}

.search-result-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.88;
}

.search-result-text mark {
  background: color-mix(in srgb, var(--saffron) 40%, transparent);
  color: var(--ink);
  font-weight: 700;
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
}

.search-modal-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--muted);
}

.search-modal-empty svg {
  width: 38px;
  height: 38px;
  margin-bottom: 0.85rem;
  color: color-mix(in srgb, var(--teal) 45%, transparent);
}

.search-modal-empty p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 280px;
  line-height: 1.4;
}

.search-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: 0.75rem 1.4rem;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 25%, transparent);
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-ui);
}

.search-modal-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.search-modal-footer kbd {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 0.65rem;
  font-family: monospace;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .search-modal-backdrop {
    padding: 0.5rem;
  }
  
  .search-modal-container {
    max-height: calc(100vh - 1rem);
    border-radius: 10px;
  }

  .search-modal-header {
    padding: 0.85rem 1.1rem;
  }

  .search-modal-footer {
    display: none;
  }
}
