@font-face { font-family: 'Moderustic'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/moderustic-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Moderustic'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/moderustic-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Moderustic'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/moderustic-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Moderustic'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/moderustic-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Moderustic'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/moderustic-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Moderustic'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/moderustic-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/hind-siliguri-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/hind-siliguri-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/hind-siliguri-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/hind-siliguri-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/hind-siliguri-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f3eff4;
  --fg-light-base-body: #23182a;
  --fg-light-base-heading: #23182a;
  --fg-light-base-muted: #5a4a61;
  --fg-light-base-link: #7a2c8c;
  --fg-light-base-inverse: #4a1d57;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #23182a;
  --fg-light-card-heading: #23182a;
  --fg-light-card-muted: #5a4a61;
  --fg-light-card-link: #7a2c8c;
  --fg-light-card-inverse: #4a1d57;
  --bg-light-elevated: #f0e4f2;
  --fg-light-elevated-body: #23182a;
  --fg-light-elevated-heading: #23182a;
  --fg-light-elevated-muted: #5a4a61;
  --fg-light-elevated-link: #7a2c8c;
  --fg-light-elevated-inverse: #4a1d57;
  --brand-light-accent: #7a2c8c;
  --brand-light-accent-hover: #5e1f6d;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #7a2c8c;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #85738b;
  --border-light-subtle: #ddd1e0;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-ring); }

:root {
  --paper: var(--bg-light-base);
  --card: var(--bg-light-card);
  --tint: var(--bg-light-elevated);
  --ink: var(--fg-light-card-heading);
  --ink-muted: var(--fg-light-card-muted);
  --plum: var(--brand-light-accent);
  --plum-deep: var(--brand-light-accent-hover);
  --on-plum: var(--brand-light-on-accent);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --plum-soft: #e4cfe9;
  --face-head: 'Moderustic', 'Trebuchet MS', Verdana, sans-serif;
  --face-text: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
  --head-h: 4.5rem;
  --wrap: 74rem;
  --measure: 40rem;
  --r-lg: 1.75rem;
  --r-md: 1.1rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--face-text);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.5rem 0.9rem;
  border-radius: 0.6rem;
  background: var(--card);
}

.skip-link:focus-visible { top: 0.75rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--head-h);
  padding: 0 1rem;
  border-bottom: 2px solid var(--plum-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  text-decoration: none;
}

.brand .site-logo {
  display: block;
  flex: none;
  width: 2.6rem;
  height: auto;
}

.brand-word {
  max-width: 8.5rem;
  font-family: var(--face-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.brand:hover .brand-word { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

details.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem 0.4rem 0.5rem;
  border: 2px solid var(--plum);
  border-radius: 2rem;
  font-family: var(--face-head);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow-wrap: normal;
  color: var(--plum);
  background: var(--card);
}

details.site-menu > summary:hover,
details.site-menu[open] > summary {
  background: var(--plum);
  color: var(--on-plum);
}

.menu-icon {
  position: relative;
  display: block;
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--plum);
}

.menu-icon::after {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--face-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  color: var(--on-plum);
}

details.site-menu > summary:hover .menu-icon,
details.site-menu[open] > summary .menu-icon { background: var(--on-plum); }

details.site-menu > summary:hover .menu-icon::after,
details.site-menu[open] > summary .menu-icon::after { color: var(--plum); }

.menu-label { white-space: nowrap; }

details.site-menu > ul {
  margin: 0;
  padding: 1rem 1rem 2rem;
  list-style: none;
}

details.site-menu[open] > ul {
  position: absolute;
  top: 100%;
  right: 0;
  width: min(100%, 27rem);
  height: calc(100vh - var(--head-h));
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  background: var(--paper);
  border-left: 2px solid var(--plum-soft);
  box-shadow: -1.5rem 0 3rem rgba(60, 20, 70, 0.14);
}

details.site-menu > ul a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  border-radius: var(--r-md);
  border: 1px solid var(--rule-soft);
  background: var(--card);
  font-family: var(--face-head);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.25;
  text-decoration: none;
  color: var(--ink);
}

details.site-menu > ul a::before {
  content: "?";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.6rem 0.6rem 0.6rem 0.15rem;
  background: var(--tint);
  color: var(--plum);
  font-weight: 800;
}

details.site-menu > ul a:hover {
  border-color: var(--plum);
  color: var(--plum-deep);
}

details.site-menu > ul a:hover::before {
  background: var(--plum);
  color: var(--on-plum);
}

@media (min-width: 64rem) {
  .site-header { padding: 0 2rem; }
  .brand .site-logo { width: 3rem; }
  .brand-word { max-width: none; font-size: 1.2rem; white-space: nowrap; }
  details.site-menu > summary { font-size: 0.98rem; padding-right: 1.1rem; }
  details.site-menu > ul { padding: 1.5rem 1.5rem 2.5rem; }
}

/* ---------- Breadcrumbs and footer ---------- */

.breadcrumbs {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.9rem 1rem 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.5;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--rule);
}

.site-footer {
  margin-top: 4rem;
  padding: 2.25rem 1rem 2.75rem;
  border-top: 2px solid var(--plum-soft);
}

.foot-inner {
  display: grid;
  gap: 1.1rem;
  max-width: var(--wrap);
  margin: 0 auto;
}

.foot-stack { width: 6.5rem; height: auto; }
.stack-back { fill: var(--card); stroke: var(--rule-soft); stroke-width: 2; }
.stack-mid { fill: var(--plum-soft); }
.stack-front { fill: var(--plum); }
.stack-q { fill: none; stroke: var(--on-plum); stroke-width: 3.4; stroke-linecap: round; }
.stack-dot { fill: var(--on-plum); }

.foot-name {
  font-family: var(--face-head);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  text-decoration: none;
}

.foot-name:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.foot-line { margin: 0.3rem 0 0; max-width: 32rem; }

.foot-ask { justify-self: start; font-weight: 600; }

@media (min-width: 48rem) {
  .breadcrumbs { padding: 1.1rem 2rem 0; }
  .site-footer { padding: 2.5rem 2rem 3rem; }
  .foot-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 1.75rem; }
}

/* ---------- Shared type ---------- */

h1 {
  margin: 0;
  font-family: var(--face-head);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.prose h2,
.prose h3 {
  font-family: var(--face-head);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.prose h2 { margin: 2.5rem 0 0.9rem; font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem); }
.prose h3 { margin: 2rem 0 0.6rem; font-size: 1.25rem; }

.prose p,
.prose ul,
.prose ol { max-width: var(--measure); }

.prose p { margin: 0 0 1.1rem; }

.prose ul,
.prose ol { margin: 0 0 1.4rem; padding-left: 1.35rem; }

.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--plum); }
.prose strong { font-weight: 600; }

.text-role-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.text-role-link:hover {
  color: var(--plum-deep);
  text-decoration-thickness: 2px;
}

.accent-block {
  max-width: var(--measure);
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border-left: 4px solid var(--plum);
  background: var(--tint);
}

.accent-block > :last-child { margin-bottom: 0; }

.table-scroll {
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-md);
}

.table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.table-scroll th,
.table-scroll td { padding: 0.6rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-soft); }
.table-scroll th { font-family: var(--face-head); font-weight: 600; background: var(--tint); }

.photo-hero,
.photo-inline { margin: 0 0 1.75rem; max-width: 46rem; }
.photo-inline { margin-top: 1.75rem; }

.photo-hero img,
.photo-inline img {
  display: block;
  width: 100%;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0.4rem;
  box-shadow: 0.6rem 0.6rem 0 var(--plum-soft);
}

/* ---------- Shared art ---------- */

.tag-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.q-badge-bubble { fill: var(--plum); }
.q-badge-q { fill: none; stroke: var(--on-plum); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.q-badge-dot { fill: var(--on-plum); }

.art-card { fill: var(--card); stroke: var(--ink); stroke-width: 3; }
.art-tint { fill: var(--tint); stroke: var(--ink); stroke-width: 3; }
.art-ink { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.art-ink-faint { stroke: var(--rule); }
.art-dot { fill: var(--plum); }
.art-hole { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.art-check { fill: none; stroke: var(--plum); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.art-q,
.art-q-shadow { fill: none; stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.art-q { stroke: var(--plum); }
.art-q-shadow { stroke: var(--plum-soft); }
.art-q-dot { fill: var(--plum); }
.art-q-small { fill: none; stroke: var(--plum); stroke-width: 4.5; stroke-linecap: round; }
.art-string { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 5; stroke-linecap: round; }
.art-tag { fill: var(--plum-soft); stroke: var(--plum-deep); stroke-width: 3; stroke-linejoin: round; }
.art-tag-line { fill: none; stroke: var(--plum-deep); stroke-width: 3; stroke-linecap: round; }

/* ---------- Home: grid ---------- */

.page-home {
  display: grid;
  gap: 2.5rem;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.ask { display: grid; gap: 1.5rem; align-items: center; }

.ask-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem 1.3rem;
  border: 3px solid var(--plum);
  border-radius: 2.25rem;
  box-shadow: 0.55rem 0.6rem 0 var(--plum-soft);
}

.ask-glyph {
  width: 2.6rem;
  height: 2.6rem;
  margin-top: 0.2rem;
  fill: none;
  stroke: var(--plum);
  stroke-width: 3.5;
  stroke-linecap: round;
}

.ask-glyph-q { stroke-width: 3; }
.ask-glyph-dot { fill: var(--plum); stroke: none; }

.ask-title h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.7rem); max-width: 17ch; }

.ask-caret {
  position: absolute;
  right: 1.6rem;
  bottom: 1.3rem;
  width: 0.2rem;
  height: 2.2rem;
  border-radius: 0.1rem;
  background: var(--plum);
}

.ask-lines { margin-top: 1.4rem; }

.ask-lines .display-line {
  position: relative;
  margin: 0 0 0.55rem;
  padding-left: 2rem;
  max-width: 36rem;
  font-size: 1.12rem;
  line-height: 1.5;
}

.ask-lines .display-line::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  width: 1rem;
  height: 0.8rem;
  border-radius: 0.35rem 0.35rem 0.35rem 0.05rem;
  background: var(--plum-soft);
  border: 2px solid var(--plum);
}

.ask-art { display: block; width: 100%; max-width: 22rem; height: auto; justify-self: center; }

.board-head {
  margin: 0 0 1.25rem;
  font-family: var(--face-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem);
  line-height: 1.2;
}

.board-cards {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 15.5rem;
  column-gap: 1.4rem;
}

.qcard {
  position: relative;
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  padding: 1.2rem 1.2rem 1.15rem;
  break-inside: avoid;
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0.4rem;
  box-shadow: 0.4rem 0.45rem 0 var(--tint), 0.4rem 0.45rem 0 1px var(--rule-soft);
}

.qcard:nth-child(3n + 2) { padding-bottom: 2.2rem; }
.qcard:nth-child(4n + 1) .qcard-link { font-size: 1.45rem; }

.qcard-tag {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.45rem;
  border-radius: 0.8rem;
  background: var(--tint);
  color: var(--plum);
}

.qcard-link {
  font-family: var(--face-head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.25;
  text-decoration: none;
}

.qcard-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.qcard-link:hover { color: var(--plum-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.qcard:has(.qcard-link:hover) { border-color: var(--plum); }

.qcard-group { font-size: 0.92rem; line-height: 1.35; }

.home-body {
  padding: 1.75rem 1.25rem 0.75rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule-soft);
}

.home-body > h2:first-child { margin-top: 0; }

@media (min-width: 48rem) {
  .page-home { padding: 2.25rem 2rem 0; gap: 3.25rem; }
  .ask-bar { padding: 1.4rem 4rem 1.6rem 1.6rem; }
  .ask-glyph { width: 3.2rem; height: 3.2rem; }
  .home-body { padding: 2.5rem 3rem 1.5rem; }
}

@media (min-width: 60rem) {
  .ask { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; }
  .ask-art { max-width: 26rem; }
  .home-body { display: grid; grid-template-columns: minmax(0, var(--measure)); justify-content: center; }
}

/* ---------- Topic cluster: one column ---------- */

.page-group {
  max-width: 50rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.group-head { display: grid; gap: 1rem; margin-bottom: 2rem; }

.group-badges { display: flex; align-items: center; gap: 0.75rem; }

.q-badge { width: 3.4rem; height: 3.4rem; flex: none; }

.group-tools { display: flex; gap: 0.4rem; color: var(--plum); }

.group-tools .tag-icon {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.4rem;
  border-radius: 0.75rem;
  background: var(--tint);
}

.group-body > h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md) var(--r-md) var(--r-md) 0.3rem;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  box-shadow: 0.35rem 0.35rem 0 var(--tint);
}

.group-body > h2::before {
  content: "?";
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem 0.7rem 0.7rem 0.15rem;
  background: var(--plum);
  color: var(--on-plum);
  font-size: 1.1rem;
  font-weight: 800;
}

.group-body > h2 ~ p { padding-left: 1.1rem; border-left: 2px solid var(--plum-soft); margin-left: 1.05rem; }

.group-stack {
  margin-top: 2.5rem;
  padding: 1.5rem 1.1rem 1.25rem;
  border-radius: var(--r-lg);
  border: 2px solid var(--plum-soft);
}

.stack-head {
  margin: 0 0 1rem;
  font-family: var(--face-head);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.25;
}

.group-stack ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }

.group-stack a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--r-md);
  background: var(--paper);
  font-family: var(--face-head);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.group-stack a::before {
  content: "?";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 2px solid var(--plum);
  color: var(--plum);
  font-weight: 800;
  font-size: 0.95rem;
}

.group-stack a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

@media (min-width: 48rem) {
  .page-group { padding: 2.25rem 2rem 0; }
  .group-stack { padding: 2rem 2rem 1.75rem; }
}

/* ---------- Geo cluster: split ---------- */

.page-area {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.area-split { display: grid; gap: 2rem; }

.area-map svg { display: block; width: 100%; max-width: 18rem; height: auto; }

.map-dot { fill: var(--rule); }
.map-land { stroke: none; }
.map-bayou { fill: none; stroke: var(--plum-soft); stroke-width: 10; stroke-linecap: round; }
.map-bayou-thin { stroke-width: 5; }
.map-ring { fill: var(--card); stroke: var(--plum); stroke-width: 3; }
.map-pin { fill: var(--plum); }
.map-pin-q { fill: none; stroke: var(--on-plum); stroke-width: 5; stroke-linecap: round; }
.map-pin-dot { fill: var(--on-plum); }

.area-title { margin-bottom: 1.5rem; }

.area-body > h2 {
  padding-left: 0.9rem;
  border-left: 5px solid var(--plum);
  border-radius: 0.2rem;
}

.area-body > p > a { font-weight: 600; }

@media (min-width: 56rem) {
  .page-area { padding: 2.5rem 2rem 0; }
  .area-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
  .area-map { position: sticky; top: calc(var(--head-h) + 1.5rem); }
  .area-map svg { max-width: none; }
}

/* ---------- Question detail: stepped ---------- */

.page-question {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.q-bubble {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 2.75rem;
  padding: 1.4rem 1.35rem 1.6rem;
  border: 3px solid var(--plum);
  border-radius: 2rem;
  box-shadow: 0.5rem 0.55rem 0 var(--plum-soft);
}

.q-bubble::after {
  content: "";
  position: absolute;
  left: 2.4rem;
  bottom: -0.95rem;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--card);
  border-right: 3px solid var(--plum);
  border-bottom: 3px solid var(--plum);
  border-bottom-right-radius: 0.3rem;
  transform: rotate(45deg);
}

.q-mark { width: 3rem; height: 3rem; }

.q-title h1 { font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3.2rem); }

.q-trail > p:first-of-type {
  max-width: 44rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0.4rem;
  background: var(--tint);
  border: 2px solid var(--plum);
  font-size: 1.15rem;
  line-height: 1.55;
}

.q-trail > h2 {
  position: relative;
  padding-left: 2.6rem;
}

.q-trail > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--card);
  border: 4px solid var(--plum);
}

.q-trail > h2 ~ :not(h2) { margin-bottom: 0; padding: 0 0 1.1rem 1.6rem; margin-left: 0.75rem; border-left: 2px dashed var(--rule); }
.q-trail > h2 ~ h2 { margin-top: 1.4rem; }

@media (min-width: 52rem) {
  .page-question { padding: 2.5rem 2rem 0; }
  .q-bubble { padding: 1.8rem 2rem 2rem; }
  .q-mark { width: 3.6rem; height: 3.6rem; }
  .q-trail > h2:nth-of-type(2),
  .q-trail > h2:nth-of-type(2) ~ * { translate: 2.5rem 0; }
  .q-trail > h2:nth-of-type(3),
  .q-trail > h2:nth-of-type(3) ~ * { translate: 5rem 0; }
  .q-trail > h2:nth-of-type(n + 4),
  .q-trail > h2:nth-of-type(n + 4) ~ * { translate: 7.5rem 0; }
  .q-trail > * { max-width: 40rem; }
}

/* ---------- About: two columns ---------- */

.page-about {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.about-grid { display: grid; gap: 1.5rem; }

.about-art svg { display: block; width: 8rem; height: auto; }
.clip-row .art-ink { stroke-width: 4; }

.about-main {
  padding: 1.75rem 1.25rem 0.75rem;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0.4rem;
  border: 1px solid var(--rule-soft);
  box-shadow: 0.5rem 0.55rem 0 var(--tint);
}

.about-title { margin-bottom: 1.25rem; }
.about-title h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }

@media (min-width: 52rem) {
  .page-about { padding: 2.5rem 2rem 0; }
  .about-grid { grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; align-items: start; }
  .about-art { position: sticky; top: calc(var(--head-h) + 1.5rem); }
  .about-art svg { width: 100%; }
  .about-main { padding: 2.5rem 2.75rem 1.5rem; }
}

/* ---------- Contact: one column ---------- */

.page-ask {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.ask-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

.tag-sketch { flex: none; width: 6rem; height: auto; }
.sketch-string { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 3 5; stroke-linecap: round; }
.sketch-tag { fill: var(--tint); stroke: var(--plum); stroke-width: 3.5; stroke-linejoin: round; }
.sketch-hole { fill: var(--paper); stroke: var(--plum); stroke-width: 3; }
.sketch-line { fill: none; stroke: var(--plum); stroke-width: 3.5; stroke-linecap: round; }

.bubble-form {
  position: relative;
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding: 1.6rem 1.3rem 1.75rem;
  border: 3px solid var(--plum);
  border-radius: 2.25rem 2.25rem 2.25rem 0.6rem;
  box-shadow: 0.55rem 0.6rem 0 var(--plum-soft);
}

.field { display: grid; gap: 0.35rem; }

.field-label { font-family: var(--face-head); font-weight: 600; font-size: 1rem; }

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--rule);
  border-radius: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.field textarea { resize: vertical; min-height: 9rem; }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 1px;
  border-color: var(--plum);
}

.ask-submit {
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: 2rem;
  background: var(--plum);
  color: var(--on-plum);
  font-family: var(--face-head);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
}

.ask-submit:hover { background: var(--plum-deep); color: var(--on-plum); }

@media (min-width: 48rem) {
  .page-ask { padding: 2.5rem 2rem 0; }
  .tag-sketch { width: 9rem; }
  .bubble-form { padding: 2.25rem 2.5rem 2.4rem; }
}

/* ---------- Thank you: one column ---------- */

.page-thanks {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 0;
}

.thanks-card {
  padding: 2rem 1.35rem 1.5rem;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0.4rem;
  border: 1px solid var(--rule-soft);
  box-shadow: 0.5rem 0.55rem 0 var(--tint), 0.5rem 0.55rem 0 1px var(--rule-soft);
}

.thanks-mark { width: 5.5rem; height: auto; margin-bottom: 1rem; }
.thanks-tick-bg { fill: var(--card); stroke: var(--plum); stroke-width: 4; }
.thanks-tick { fill: none; stroke: var(--plum); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

.thanks-title { margin-bottom: 1.25rem; }
.thanks-title h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

.thanks-popular { display: grid; gap: 0.6rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }

.thanks-popular a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  background: var(--paper);
  font-family: var(--face-head);
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 48rem) {
  .page-thanks { padding-top: 3rem; }
  .thanks-card { padding: 2.75rem 2.75rem 2.25rem; }
}

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

@media (prefers-reduced-motion: no-preference) {
  .ask-caret { animation: caret-blink 1.1s steps(1, end) 6; }
  .qcard { transition: translate 160ms ease-out; }
  .qcard:has(.qcard-link:hover) { translate: 0 -3px; }
}

@keyframes caret-blink {
  50% { opacity: 0; }
}
