:root {
  --bg: #f5efe4;
  --bg-strong: #efe3d3;
  --paper: rgba(255, 251, 245, 0.82);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --ink: #1b1611;
  --muted: #5e554b;
  --border: rgba(49, 35, 21, 0.12);
  --shadow: 0 28px 80px rgba(64, 45, 19, 0.1);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --amber: #b65c30;
  --amber-rgb: 182, 92, 48;
  --sage: #5f7a68;
  --sage-rgb: 95, 122, 104;
  --sky: #3b6f93;
  --sky-rgb: 59, 111, 147;
}

/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Rubik",  sans-serif;
  --nav-font: "Kanit",  sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--ink);
  line-height: 1.4;
  background:
    radial-gradient(circle at top left, rgba(232, 156, 88, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(125, 180, 199, 0.14), transparent 22%),
    linear-gradient(180deg, #f8f2e8 0%, #f4ecde 48%, #f5efe4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(74, 56, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 56, 32, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 92%);
  z-index: -2;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.4) 0 2px, transparent 2px),
    radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.25) 0 1px, transparent 1px),
    radial-gradient(circle at 28% 72%, rgba(255, 255, 255, 0.22) 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 84% 78%, rgba(0, 0, 0, 0.04) 0 1px, transparent 1px);
  z-index: -1;
}

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

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

main,
.site-footer {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 0;
  background: linear-gradient(180deg, rgba(248, 242, 232, 0.92), rgba(248, 242, 232, 0.68) 72%, transparent);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(49, 35, 21, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-weight: 700;
  color: var(--amber);
  background: rgba(255, 251, 245, 0.55);
  border: 1.5px solid rgba(var(--amber-rgb), 0.34);
  box-shadow: none;
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 26px;
}

.nav a {
  position: relative;
  padding: 8px 0;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(var(--amber-rgb), 0.18), rgba(var(--amber-rgb), 0.9), rgba(var(--amber-rgb), 0.18));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--amber);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

main {
  padding: 48px 0 110px;
}

.section {
  margin-top: 88px;
}

.hero {
  display: grid;
  gap: 20px;
  align-content: start;
  padding-top: 28px;
}

.hero-head {
  display: grid;
  gap: 8px;
}

.hero-layout {
  display: flex;
  align-items: stretch;
  gap: 44px;
}

.hero-copy {
  flex: 1 1 0;
  max-width: 42rem;
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  /* text-transform: uppercase; */
  color: var(--amber);
}

.hero h1,
.section-head h2,
.group-head h3,
.thread-card h3,
.paper-title,
.workshop-card h3,
.resource-card h3,
.resource-note h3 {
  font-family: "Fraunces", serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 4.3vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero h1 span {
  display: inline;
  color: var(--amber);
}

.hero-lead {
  max-width: 62ch;
  margin: 0;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #413b34;
  text-align: justify;
  text-justify: inter-word;
}

.hero-body {
  max-width: 58ch;
  margin: 14px 0 0;
  color: var(--muted);
  text-align: justify;
  text-justify: inter-word;
}

.hero-actions,
.card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(49, 35, 21, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 35, 21, 0.24);
}

.btn-primary {
  color: #fff8f0;
  background: linear-gradient(145deg, #cb6a38, #9d4727);
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(182, 92, 48, 0.26);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.68);
  box-shadow: 0 18px 38px rgba(64, 45, 19, 0.06);
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.6rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--paper-strong), var(--paper));
  box-shadow: var(--shadow);
}

.hero-visual {
  flex: 0 0 auto;
  align-self: stretch;
  width: auto;
  min-height: 0;
  padding: 6px;
  display: flex;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 197, 146, 0.24), transparent 22%),
    radial-gradient(circle at 84% 12%, rgba(125, 180, 199, 0.2), transparent 18%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(245, 234, 219, 0.9));
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px dashed rgba(49, 35, 21, 0.12);
}

.hero-cover {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(45vw, 860px);
  border-radius: 22px;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  box-shadow: 0 22px 50px rgba(64, 45, 19, 0.08);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.vision-layout,
.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  /* gap: 24px; */
}

.hero-vision {
  margin-top: 8px;
}

.vision-copy,
.vision-figure,
.workshop-card,
.resource-note,
.resource-card {
  padding: 10px;
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.6;
}

.vision-copy {
  padding-top: 24px;
}

.vision-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.highlight-term {
  position: relative;
  display: inline-block;
  color: var(--amber);
  font-weight: 700;
  background: transparent;
  padding-bottom: 0.1em;
  transition: color 180ms ease;
}

.highlight-term::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(var(--amber-rgb), 0.78);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.highlight-term:hover::after {
  transform: scaleX(1);
}

.vision-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

.vision-points article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(49, 35, 21, 0.08);
}

.vision-points span {
  display: inline-flex;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--amber-rgb), 0.12);
  color: var(--amber);
  font-weight: 700;
  font-size: 1.05rem;
}

.vision-points h3 {
  margin: 2px 0 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.vision-points p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.vision-figure {
  display: grid;
  /* gap: 16px; */
  margin: 15px;
}

.vision-figure img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(49, 35, 21, 0.08);
  background: #fff;
}

.vision-figure figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}

.thread-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.theme-amber {
  --accent: var(--amber);
  --accent-rgb: var(--amber-rgb);
}

.theme-sage {
  --accent: var(--sage);
  --accent-rgb: var(--sage-rgb);
}

.theme-sky {
  --accent: var(--sky);
  --accent-rgb: var(--sky-rgb);
}

.thread-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(var(--accent-rgb), 0.08));
  box-shadow: 0 20px 46px rgba(64, 45, 19, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.thread-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(64, 45, 19, 0.12);
}

.thread-card__eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thread-card h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
}

.thread-card p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.research-sections {
  display: grid;
  gap: 42px;
}

.research-group {
  padding-top: 8px;
}

.group-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.group-head h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}

.group-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: none;
  white-space: nowrap;
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.paper-card {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(49, 35, 21, 0.1);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 243, 0.84));
  box-shadow: 0 20px 50px rgba(64, 45, 19, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.paper-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 58px rgba(64, 45, 19, 0.12);
}

.paper-thumb {
  position: relative;
  min-height: 210px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 246, 235, 0.8), rgba(var(--accent-rgb), 0.12));
}

.paper-thumb--image {
  min-height: auto;
  padding: 0;
  background: transparent;
}

.paper-thumb__image-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(49, 35, 21, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 18px 36px rgba(64, 45, 19, 0.1);
}

.paper-thumb__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.paper-thumb__image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.paper-thumb--image img {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.paper-thumb::before,
.paper-thumb::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
}

.paper-thumb::before {
  border: 1px solid rgba(var(--accent-rgb), 0.22);
}

.paper-thumb::after {
  background:
    radial-gradient(circle at 18% 26%, rgba(var(--accent-rgb), 0.95) 0 7px, transparent 8px),
    radial-gradient(circle at 34% 44%, rgba(var(--accent-rgb), 0.7) 0 6px, transparent 7px),
    radial-gradient(circle at 58% 31%, rgba(var(--accent-rgb), 0.9) 0 9px, transparent 10px),
    radial-gradient(circle at 74% 55%, rgba(var(--accent-rgb), 0.82) 0 7px, transparent 8px),
    radial-gradient(circle at 52% 72%, rgba(var(--accent-rgb), 0.6) 0 8px, transparent 9px),
    radial-gradient(circle at 26% 76%, rgba(var(--accent-rgb), 0.72) 0 6px, transparent 7px),
    linear-gradient(124deg, transparent 30%, rgba(var(--accent-rgb), 0.24) 30% 31%, transparent 31% 100%),
    linear-gradient(24deg, transparent 44%, rgba(var(--accent-rgb), 0.24) 44% 45%, transparent 45% 100%),
    linear-gradient(174deg, transparent 58%, rgba(var(--accent-rgb), 0.22) 58% 59%, transparent 59% 100%);
  opacity: 0.65;
}

.paper-thumb__topline,
.paper-thumb__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.paper-thumb__topline {
  color: rgba(31, 24, 18, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.paper-thumb__code {
  position: relative;
  z-index: 1;
  margin: 12px 0;
  max-width: 15ch;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: rgba(31, 24, 18, 0.92);
}

.paper-thumb__caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(31, 24, 18, 0.78);
  font-size: 0.84rem;
}

.paper-body {
  padding: 24px;
}

.paper-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.paper-title {
  margin: 10px 0 0;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.paper-summary {
  margin: 14px 0 0;
  color: var(--muted);
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.paper-tag,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.status-chip {
  margin-top: 18px;
}

.paper-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.paper-points li {
  position: relative;
  padding-left: 18px;
  color: #2a241d;
  font-size: 0.95rem;
}

.paper-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.paper-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.paper-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.paper-link:hover {
  transform: translateY(-2px);
  background: rgba(var(--accent-rgb), 0.14);
}

.workshop-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  padding: 18px;
}

.workshop-feature__visual {
  position: relative;
  min-height: 360px;
  padding: 22px;
  border-radius: 28px;
  color: #fff9f2;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 191, 133, 0.26), transparent 20%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #74260d 0%, #b64718 48%, #ef7d1a 100%);
  overflow: hidden;
}

.workshop-feature__frame {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 88px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 24px;
  border: 1px solid rgba(255, 248, 240, 0.18);
}

.workshop-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 247, 240, 0.28);
  background: rgba(255, 247, 240, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workshop-feature__visual strong,
.survey-row__detail h3,
.survey-showcase-card strong {
  font-family: "Fraunces", serif;
}

.workshop-feature__visual strong {
  display: block;
  max-width: 9ch;
  font-size: 3.4rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.workshop-feature__visual p {
  margin: 16px 0 0;
  max-width: 16ch;
  color: rgba(255, 247, 240, 0.9);
  font-size: 1.05rem;
}

.workshop-feature__body {
  padding: 14px 10px 14px 6px;
}

.workshop-feature__meta,
.survey-row__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(var(--amber-rgb), 0.1);
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.meta-pill--soft {
  background: rgba(var(--sky-rgb), 0.08);
  color: var(--sky);
}

.meta-pill--gold {
  background: rgba(212, 164, 70, 0.12);
  color: #996b16;
}

.workshop-feature__body h3 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 0.98;
}

.workshop-feature__lead {
  margin-top: 18px;
  font-size: 1.12rem;
  color: #2a241d;
}

.workshop-feature__body p:not(.eyebrow):not(.workshop-feature__lead) {
  color: var(--muted);
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.mini-points span,
.resource-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(var(--amber-rgb), 0.09);
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 700;
}

.survey-stack {
  display: grid;
  gap: 24px;
}

.survey-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  overflow: hidden;
}

.survey-row__showcase {
  position: relative;
  min-height: 360px;
  padding: 26px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--amber-rgb), 0.12), transparent 20%),
    radial-gradient(circle at 78% 20%, rgba(var(--sky-rgb), 0.1), transparent 22%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.9), rgba(246, 239, 228, 0.72));
}

.survey-row__showcase::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 26px;
  border: 1px dashed rgba(49, 35, 21, 0.12);
}

.survey-showcase-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 28px 28px 30px;
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.92);
  border: 1px solid rgba(49, 35, 21, 0.06);
  box-shadow: 0 20px 46px rgba(64, 45, 19, 0.07);
  text-align: center;
}

.survey-showcase-card strong {
  display: block;
  margin-top: 14px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.survey-showcase-card p {
  margin: 16px 0 0;
  color: #5c5349;
  font-size: 1.05rem;
}

.survey-row__detail {
  padding: 32px 32px 30px;
  border-left: 1px solid rgba(49, 35, 21, 0.08);
}

.survey-row__detail h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.survey-row__detail h4 {
  margin: 12px 0 0;
  color: #cb6a38;
  font-size: 1.1rem;
  line-height: 1.2;
}

.survey-row__detail p {
  margin: 22px 0 0;
  color: var(--muted);
}

.resource-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.resource-pills span {
  background: rgba(var(--sky-rgb), 0.08);
  color: #2d837f;
}

.resource-pills--showcase {
  justify-content: center;
}

.survey-link-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px dashed rgba(49, 35, 21, 0.16);
  color: #7a766f;
  font-weight: 600;
}

.site-footer {
  margin-top: 46px;
  padding: 32px 0 48px;
  border-top: 1px solid rgba(49, 35, 21, 0.1);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  color: #556177;
  font-size: 0.96rem;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.site-footer a {
  color: #314f7d;
}

.site-footer a:hover {
  color: #cb6a38;
}

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

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

@media (max-width: 1100px) {
  .hero-layout {
    flex-direction: column;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-visual {
    align-self: auto;
    width: 100%;
    min-height: 0;
  }

  .hero-cover {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .section-head,
  .vision-layout,
  .community-layout,
  .workshop-feature,
  .survey-row,
  .thread-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

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

  .vision-points {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 860px) {
  .site-header {
    position: static;
    padding-top: 0;
    background: none;
    backdrop-filter: none;
  }

  .header-inner {
    width: min(1200px, calc(100% - 24px));
    padding: 14px 0 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  main,
  .site-footer {
    width: min(1200px, calc(100% - 24px));
  }

  main {
    padding-top: 28px;
  }

  .section {
    margin-top: 72px;
  }

  .hero {
    min-height: auto;
    padding-top: 16px;
  }

  .hero-visual {
    padding: 18px;
  }

  .workshop-feature,
  .survey-row {
    grid-template-columns: 1fr;
  }

  .workshop-feature {
    padding: 16px;
  }

  .workshop-feature__body,
  .survey-row__detail {
    padding: 22px;
  }

  .survey-row__detail {
    border-left: 0;
    border-top: 1px solid rgba(49, 35, 21, 0.08);
  }

  .survey-row__showcase {
    min-height: 280px;
    padding: 20px;
  }

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

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

  .group-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: 3rem;
    white-space: normal;
  }

  .section-head h2,
  .group-head h3,
  .workshop-feature__body h3,
  .survey-row__detail h3 {
    font-size: 1.9rem;
  }

  .brand-text strong,
  .brand-text span {
    white-space: normal;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
  }

  .vision-copy,
  .vision-figure,
  .workshop-feature {
    padding: 22px;
  }

  .survey-showcase-card {
    padding: 24px 22px;
  }

  .paper-body {
    padding: 20px;
  }

  .paper-thumb__code {
    font-size: 2.1rem;
  }
}
