:root {
  --paper: #fbfbf8;
  --surface: #ffffff;
  --mist: #eef1ed;
  --line: #d9ded8;
  --ink: #1d2024;
  --muted: #687078;
  --green: #347a36;
  --clay: #b84f3c;
  --clay-dark: #803626;
  --moss: #587261;
  --aqua: #dcebea;
  --sun: #f2c94c;
  --shadow: 0 18px 60px rgba(29, 32, 36, 0.12);
  --max: 1180px;
  --header: 84px;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(29, 32, 36, 0.12);
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 190px;
  height: auto;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(64, 127, 62, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(247, 249, 244, 0.72)),
    rgba(251, 251, 248, 0.72);
  color: #2f3438;
  font-size: 14px;
  box-shadow: 0 14px 34px rgba(29, 32, 36, 0.06);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 740;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.main-nav a:hover {
  border-color: color-mix(in srgb, var(--green) 22%, transparent);
  background: color-mix(in srgb, var(--green) 8%, #ffffff);
  color: var(--green);
}

.main-nav a.active,
.main-nav a[aria-current="page"] {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 9px 22px rgba(64, 127, 62, 0.22);
}

.main-nav a.active::after,
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--sun);
  transform: translateX(-50%);
}

.main-nav .nav-home {
  flex: 0 0 40px;
  width: 40px;
  padding: 0;
}

.main-nav .nav-home svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.main-nav .nav-home:hover svg {
  transform: translateY(-1px);
}

.nav-action {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-right: 1px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--ink);
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(72svh - var(--header));
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 62px);
  background: #261614;
  color: #ffffff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  top: clamp(18px, 4vw, 70px);
  right: clamp(210px, 26vw, 520px);
  width: clamp(300px, 35vw, 660px);
  height: clamp(190px, 22vw, 400px);
  border-radius: 999px 0 0 999px;
  background:
    repeating-radial-gradient(ellipse at 100% 50%, transparent 0 13px, rgba(255, 255, 255, 0.72) 14px 15px);
  opacity: 0.24;
  mix-blend-mode: screen;
}

.hero::after {
  right: clamp(20px, 5vw, 96px);
  bottom: clamp(96px, 13vw, 190px);
  width: clamp(260px, 31vw, 560px);
  height: clamp(260px, 31vw, 560px);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 21px, rgba(255, 222, 92, 0.5) 22px 23px),
    radial-gradient(circle at 50% 50%, rgba(137, 180, 73, 0.34), transparent 58%);
  opacity: 0.2;
  mix-blend-mode: screen;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.52;
  filter: saturate(1.05) contrast(1.04);
}

.hero-shade {
  background:
    radial-gradient(circle at 80% 18%, rgba(221, 212, 104, 0.38), transparent 22%),
    radial-gradient(circle at 58% 62%, rgba(137, 180, 73, 0.28), transparent 26%),
    linear-gradient(90deg, rgba(18, 14, 13, 0.99), rgba(18, 14, 13, 0.92) 42%, rgba(18, 14, 13, 0.58) 72%, rgba(18, 14, 13, 0.28)),
    linear-gradient(0deg, rgba(18, 14, 13, 0.72), rgba(18, 14, 13, 0.1));
}

.season-mark {
  position: absolute;
  top: clamp(26px, 5vw, 58px);
  right: clamp(20px, 4vw, 56px);
  z-index: 2;
  display: grid;
  width: min(30vw, 260px);
  min-width: 186px;
  aspect-ratio: 1 / 1;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px 999px 8px 999px;
  background:
    linear-gradient(145deg, rgba(64, 127, 62, 0.84), rgba(137, 180, 73, 0.68)),
    rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.season-mark span,
.season-mark small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.season-mark strong {
  color: #ffffff;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.92;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  max-width: 760px;
  padding-bottom: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero .eyebrow,
.join-band .eyebrow {
  color: #ffe6dc;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(46px, 8vw, 69px);
  line-height: 0.98;
  font-weight: 780;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 760;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 720;
}

.hero-actions,
.join-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 720;
}

.button.primary {
  background: var(--clay);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--clay-dark);
}

.button.secondary,
.button.light {
  border-color: rgba(29, 32, 36, 0.18);
  background: var(--surface);
  color: var(--ink);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.9);
}

.button.compact {
  min-height: 38px;
  padding: 0 14px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--clay-dark);
  white-space: nowrap;
}

.button.compact.secondary {
  background: transparent;
  color: var(--ink);
}

.countdown {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(20px, 4vw, 48px);
  min-width: 170px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.countdown span,
.countdown small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.countdown strong {
  display: block;
  color: #ffffff;
  font-size: 32px;
}

.section {
  padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 48px);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.page-main {
  min-height: 60vh;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 9vw, 116px) clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(220, 235, 234, 0.86), rgba(251, 251, 248, 0.9)),
    var(--paper);
}

body[data-page="about"] .page-hero,
body[data-page="highlights"] .page-hero,
body[data-page="workshops"] .page-hero,
body[data-page="projects"] .page-hero,
body[data-page="creators"] .page-hero,
body[data-page="content-list"] .page-hero,
body[data-page="media"] .page-hero,
body[data-page="partners"] .page-hero {
  min-height: 520px;
  background: var(--clay);
  color: #fff8ef;
}

body[data-page="about"] .page-hero::before,
body[data-page="about"] .page-hero::after,
body[data-page="highlights"] .page-hero::before,
body[data-page="highlights"] .page-hero::after,
body[data-page="workshops"] .page-hero::before,
body[data-page="workshops"] .page-hero::after {
  display: none;
}

body[data-page="about"] .page-hero h1,
body[data-page="highlights"] .page-hero h1,
body[data-page="workshops"] .page-hero h1 {
  max-width: 1100px;
  color: var(--ink);
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.9;
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

body[data-page="about"] .page-hero,
body[data-page="highlights"] .page-hero {
  min-height: clamp(340px, 36vw, 540px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 86% 24%, color-mix(in srgb, var(--sun) 28%, transparent) 0 10%, transparent 31%),
    linear-gradient(135deg, rgba(220, 235, 234, 0.92), rgba(251, 251, 248, 0.94) 58%, color-mix(in srgb, var(--sun) 14%, #ffffff)),
    var(--paper);
}

body[data-page="about"] .page-hero::before,
body[data-page="about"] .page-hero::after,
body[data-page="highlights"] .page-hero::before,
body[data-page="highlights"] .page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body[data-page="about"] .page-hero::before {
  right: clamp(28px, 7vw, 120px);
  top: clamp(72px, 10vw, 150px);
  width: clamp(260px, 28vw, 520px);
  height: clamp(190px, 20vw, 360px);
  opacity: 0.22;
  background:
    repeating-radial-gradient(ellipse at 100% 50%, transparent 0 13px, color-mix(in srgb, var(--green) 58%, #ffffff) 14px 15.5px);
  border-radius: 999px 0 0 999px;
}

body[data-page="about"] .page-hero::after {
  right: -3vw;
  bottom: clamp(34px, 6vw, 90px);
  width: clamp(220px, 24vw, 430px);
  height: clamp(130px, 13vw, 240px);
  opacity: 0.18;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, #e68a8c 19px 20px),
    repeating-linear-gradient(90deg, transparent 0 18px, #e68a8c 19px 20px);
}

body[data-page="highlights"] .page-hero::before {
  right: clamp(24px, 6vw, 112px);
  top: clamp(76px, 11vw, 170px);
  width: clamp(260px, 27vw, 500px);
  height: clamp(220px, 22vw, 420px);
  opacity: 0.2;
  background:
    conic-gradient(from 90deg, color-mix(in srgb, var(--green) 68%, #ffffff) 25%, transparent 0 50%, color-mix(in srgb, var(--green) 68%, #ffffff) 0 75%, transparent 0) 0 0 / 24px 24px;
  clip-path: polygon(16% 0, 100% 0, 100% 78%, 76% 78%, 76% 100%, 0 100%, 0 18%, 16% 18%);
}

body[data-page="highlights"] .page-hero::after {
  right: -5vw;
  bottom: clamp(30px, 7vw, 108px);
  width: clamp(260px, 30vw, 560px);
  height: clamp(170px, 18vw, 340px);
  opacity: 0.18;
  background:
    repeating-linear-gradient(128deg, transparent 0 16px, #e68a8c 17px 18px),
    repeating-linear-gradient(52deg, transparent 0 22px, color-mix(in srgb, var(--green) 58%, #ffffff) 23px 24px);
}

body[data-page="events"] .page-hero,
body[data-page="workshops"] .page-hero {
  min-height: clamp(320px, 34vw, 500px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 87% 25%, color-mix(in srgb, var(--sun) 24%, transparent) 0 10%, transparent 32%),
    linear-gradient(135deg, rgba(232, 241, 238, 0.96), rgba(251, 251, 248, 0.96) 58%, color-mix(in srgb, var(--sun) 12%, #ffffff)),
    var(--paper);
}

body[data-page="events"] .page-hero::before,
body[data-page="events"] .page-hero::after,
body[data-page="workshops"] .page-hero::before,
body[data-page="workshops"] .page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body[data-page="events"] .page-hero::before {
  right: clamp(24px, 6vw, 108px);
  top: clamp(58px, 8vw, 132px);
  width: clamp(250px, 28vw, 520px);
  height: clamp(190px, 20vw, 360px);
  opacity: 0.22;
  background:
    radial-gradient(circle at 18px 18px, color-mix(in srgb, var(--green) 58%, #ffffff) 0 5px, transparent 6px) 0 0 / 52px 52px,
    linear-gradient(90deg, transparent 0 20%, color-mix(in srgb, var(--clay) 48%, #ffffff) 20% 21%, transparent 21% 100%),
    repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--clay) 46%, #ffffff) 32px 33px);
  border-radius: 24px;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 68% 76%, 68% 100%, 0 100%);
}

body[data-page="events"] .page-hero::after {
  right: -2vw;
  bottom: clamp(26px, 6vw, 86px);
  width: clamp(230px, 24vw, 450px);
  height: clamp(116px, 12vw, 220px);
  opacity: 0.18;
  background:
    repeating-radial-gradient(ellipse at 100% 50%, transparent 0 11px, #e68a8c 12px 13px);
  border-radius: 999px 0 0 999px;
}

body[data-page="workshops"] .page-hero::before {
  right: clamp(20px, 5vw, 96px);
  top: clamp(56px, 8vw, 126px);
  width: clamp(260px, 30vw, 560px);
  height: clamp(200px, 21vw, 390px);
  opacity: 0.2;
  background:
    conic-gradient(from 90deg, color-mix(in srgb, var(--tertiary, #89b449) 76%, #ffffff) 25%, transparent 0 50%, color-mix(in srgb, var(--tertiary, #89b449) 76%, #ffffff) 0 75%, transparent 0) 0 0 / 26px 26px;
  clip-path: polygon(0 0, 86% 0, 100% 18%, 100% 100%, 14% 100%, 0 82%);
}

body[data-page="workshops"] .page-hero::after {
  right: -4vw;
  bottom: clamp(28px, 6vw, 92px);
  width: clamp(250px, 28vw, 520px);
  height: clamp(150px, 15vw, 280px);
  opacity: 0.18;
  background:
    repeating-linear-gradient(132deg, transparent 0 18px, color-mix(in srgb, var(--green) 60%, #ffffff) 19px 20px),
    repeating-linear-gradient(48deg, transparent 0 24px, #e68a8c 25px 26px);
  border-radius: 20px;
}

.listing-grid {
  align-items: stretch;
}

.project-card a,
.news-card a {
  display: grid;
  height: 100%;
  color: inherit;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.category-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--moss);
  font-weight: 720;
}

.category-tabs a.active {
  border-color: var(--moss);
  background: var(--moss);
  color: #ffffff;
}

.article-main {
  padding: clamp(42px, 8vw, 92px) clamp(18px, 4vw, 48px);
}

.article-detail {
  width: min(100%, 900px);
  margin: 0 auto;
}

.article-header {
  margin-bottom: 28px;
}

.article-header h1 {
  margin-bottom: 18px;
}

.article-header p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--moss);
  font-size: 14px;
  font-weight: 760;
}

.article-meta span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcf8;
}

.article-cover {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.prose {
  color: #30363a;
  font-size: 18px;
  line-height: 1.75;
}

.prose img,
.prose video,
.prose audio,
.prose iframe,
.prose embed {
  max-width: 100%;
  border-radius: 8px;
}

.prose a,
.article-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose figure,
.article-media,
.article-audio,
.article-embed {
  margin: 28px 0;
}

.article-audio {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.article-audio audio {
  width: 100%;
}

.article-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101412;
}

.article-embed iframe,
.article-embed embed {
  width: 100%;
  height: 100%;
  border: 0;
}

.article-quote,
.prose blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 5px solid var(--leaf);
  border-radius: 0 8px 8px 0;
  background: rgba(220, 235, 234, 0.62);
  color: var(--ink);
  font-size: 21px;
  font-weight: 720;
}

.prose figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.article-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 6px;
}

.article-reactions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.article-reactions button strong {
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(52, 122, 54, 0.1);
  color: var(--green);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.article-reactions button.active,
.article-reactions button:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.article-reactions button.active strong,
.article-reactions button:hover strong {
  background: #fff;
  color: var(--green);
}

.article-source {
  margin: 28px 0;
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
  text-align: right;
}

.article-related {
  margin-top: 34px;
}

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

.related-news-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.related-news-grid a {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.related-news-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.related-news-grid span {
  color: var(--muted);
  font-size: 13px;
}

.gallery-image {
  cursor: zoom-in;
}

.article-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 18, 15, 0.84);
}

.article-gallery-modal[hidden] {
  display: none;
}

.article-gallery-dialog {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(1080px, 100%);
  color: #fff;
}

.article-gallery-dialog img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
}

.article-gallery-dialog p {
  margin: 0;
  text-align: center;
}

.gallery-close,
.gallery-nav {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.gallery-close {
  justify-self: end;
  min-height: 38px;
  padding: 0 14px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  transform: translateY(-50%);
  font-size: 32px;
  line-height: 1;
}

.gallery-nav.prev {
  left: 0;
}

.gallery-nav.next {
  right: 0;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.detail-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--moss);
  font-weight: 720;
}

.registration-form {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.registration-form h2 {
  font-size: 28px;
}

.registration-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 720;
}

.registration-form input,
.registration-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.consent-line span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-weight: 620;
}

.form-message {
  min-height: 22px;
  margin: 0;
  font-weight: 720;
}

.form-message.success {
  color: #2d6b42;
}

.form-message.error {
  color: #a43f2b;
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
}

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

.media-listing video {
  width: 100%;
  border-radius: 8px;
  background: #000;
}

.library-page {
  display: grid;
  gap: 22px;
}

.library-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 4px;
}

.library-tabs a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--moss);
  font-weight: 760;
}

.library-tabs a.active {
  border-color: var(--moss);
  background: var(--moss);
  color: #ffffff;
}

.library-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(220, 235, 234, 0.76), rgba(255, 255, 255, 0.94)),
    var(--surface);
}

.library-summary h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
}

.library-summary p:not(.eyebrow) {
  margin-bottom: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.library-summary strong {
  display: grid;
  min-width: 88px;
  min-height: 88px;
  place-items: center;
  border-radius: 999px 999px 8px 999px;
  background: var(--moss);
  color: #ffffff;
  font-size: 24px;
}

.year-filter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.year-filter a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--moss);
  font-weight: 760;
}

.year-filter a.active {
  border-color: var(--moss);
  background: var(--moss);
  color: #ffffff;
}

.festival-year-archive {
  grid-column: 1 / -1;
  display: grid;
  gap: 26px;
}

.festival-year-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 20px;
  align-items: end;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid color-mix(in srgb, var(--moss) 24%, var(--line));
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--sun) 26%, transparent), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--moss) 8%, #ffffff), #ffffff 62%);
}

.festival-year-overview h2 {
  margin-bottom: 10px;
}

.festival-year-overview p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.festival-year-counts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.festival-year-counts span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--moss) 18%, var(--line));
  border-radius: 999px;
  background: var(--surface);
  color: var(--moss);
  font-weight: 760;
}

.festival-year-group {
  display: grid;
  gap: 14px;
}

.festival-year-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.festival-year-group-head h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.festival-year-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.festival-year-item a,
.festival-year-media-card {
  display: grid;
  gap: 7px;
  height: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
}

.festival-year-media-card {
  overflow: hidden;
  align-content: start;
  gap: 0;
  padding: 0;
}

.festival-year-media-item img,
.festival-media-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: color-mix(in srgb, var(--moss) 10%, var(--surface));
}

.festival-media-placeholder {
  display: grid;
  place-items: center;
  color: var(--moss);
}

.festival-media-placeholder[hidden],
.activity-media-placeholder[hidden] {
  display: none;
}

.festival-year-item-body {
  display: grid;
  gap: 7px;
  padding: 16px;
  align-content: start;
}

.festival-year-item span {
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.festival-year-item h3 {
  margin: 0;
  font-size: 21px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.festival-year-item p {
  margin-bottom: 0;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.library-card {
  display: grid;
  min-height: 0;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.library-card.image-resource {
  overflow: hidden;
  padding: 0;
}

.library-card.media-resource {
  overflow: hidden;
  padding: 0;
}

.library-card.image-resource img,
.library-media-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.library-media-placeholder {
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, var(--ink), var(--moss));
  color: #fff;
}

.library-media-placeholder .library-card-icon {
  width: 64px;
  height: 64px;
}

.library-media-placeholder .library-card-icon i {
  transform: scale(3);
}

.library-card.image-resource div,
.library-card.media-resource div {
  padding: 16px;
}

.library-card-icon {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
}

.library-card-icon i,
.library-card-icon i::before,
.library-card-icon i::after {
  content: "";
  display: block;
}

.library-card-icon i {
  position: relative;
  width: 18px;
  height: 18px;
}

.icon-image i {
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-image i::before {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.icon-image i::after {
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 3px;
  height: 7px;
  clip-path: polygon(0 100%, 36% 35%, 56% 58%, 76% 20%, 100% 100%);
  background: currentColor;
}

.icon-video i {
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-video i::after {
  position: absolute;
  left: 6px;
  top: 3px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

.icon-audio i {
  width: 6px;
  height: 14px;
  border-radius: 2px;
  background: currentColor;
}

.icon-audio i::before,
.icon-audio i::after {
  position: absolute;
  top: 2px;
  border: 2px solid currentColor;
  border-left: 0;
  border-radius: 0 999px 999px 0;
}

.icon-audio i::before {
  left: 7px;
  width: 6px;
  height: 10px;
}

.icon-audio i::after {
  left: 10px;
  width: 8px;
  height: 10px;
}

.icon-docs i,
.icon-attach i,
.icon-download i {
  width: 15px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: transparent;
}

.icon-docs i::before {
  position: absolute;
  left: 3px;
  top: 5px;
  width: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}

.icon-attach i {
  border-radius: 999px;
  border-right-color: transparent;
  transform: rotate(-24deg);
}

.icon-download i::before {
  position: absolute;
  left: 6px;
  top: 3px;
  width: 2px;
  height: 9px;
  background: currentColor;
}

.icon-download i::after {
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.icon-link i,
.icon-social i {
  width: 18px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: rotate(-28deg);
}

.icon-link i::after {
  position: absolute;
  left: 6px;
  top: 3px;
  width: 8px;
  height: 2px;
  background: var(--surface);
}

.icon-social i::before {
  position: absolute;
  left: -5px;
  top: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 18px 0 0 currentColor;
}

.icon-figma i {
  width: 16px;
  height: 18px;
  background:
    radial-gradient(circle at 25% 20%, currentColor 0 4px, transparent 4.2px),
    radial-gradient(circle at 75% 20%, currentColor 0 4px, transparent 4.2px),
    radial-gradient(circle at 25% 50%, currentColor 0 4px, transparent 4.2px),
    radial-gradient(circle at 75% 50%, currentColor 0 4px, transparent 4.2px),
    radial-gradient(circle at 25% 80%, currentColor 0 4px, transparent 4.2px);
}

.icon-map i {
  width: 18px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 0 30%, currentColor 30% 38%, transparent 38% 64%, currentColor 64% 72%, transparent 72%);
}

.icon-year i {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-year i::before {
  position: absolute;
  left: 4px;
  top: 7px;
  width: 8px;
  height: 2px;
  background: currentColor;
}

.resource-link {
  width: auto;
}

.resource-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.resource-actions {
  margin-top: 8px;
}

.resource-actions .button {
  display: inline-flex;
  min-width: 96px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  line-height: 1;
  text-align: center;
}

.library-card span:not(.library-card-icon) {
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.library-card h3 {
  margin: 8px 0;
  font-size: 22px;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.library-card p {
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.split,
.intro-grid,
.join-grid,
.explore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: end;
}

.explore-grid {
  align-items: center;
}

.intro-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.intro-grid p:last-child,
.explore-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

.map-band,
.creators-band {
  background:
    linear-gradient(135deg, rgba(220, 235, 234, 0.72), rgba(251, 251, 248, 0.84)),
    var(--mist);
}

.map-demo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
}

.map-demo:fullscreen,
.map-demo.map-demo-fullscreen {
  width: 100vw;
  height: 100vh;
  padding: 24px;
  background: var(--paper);
}

.map-demo:fullscreen .map-canvas,
.map-demo.map-demo-fullscreen .map-canvas {
  min-height: calc(100vh - 48px);
}

.map-fullscreen-button {
  position: absolute;
  z-index: 20;
  top: 14px;
  right: 318px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(29, 32, 36, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-weight: 780;
}

.map-canvas {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(88, 114, 97, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(88, 114, 97, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 68% 44%, rgba(220, 235, 234, 0.96) 0 13%, transparent 13.2%),
    linear-gradient(28deg, rgba(231, 224, 196, 0.78) 0 23%, transparent 23.2% 100%),
    linear-gradient(118deg, transparent 0 55%, rgba(220, 235, 234, 0.86) 55.2% 100%),
    #f8faf7;
  background-size: 48px 48px, 48px 48px, auto, auto, auto, auto;
}

.map-canvas::before,
.map-canvas::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.map-canvas::before {
  inset: 0;
  background:
    radial-gradient(circle at 46% 46%, rgba(184, 79, 60, 0.14), transparent 20%),
    radial-gradient(circle at 24% 34%, rgba(230, 138, 140, 0.16), transparent 18%),
    radial-gradient(circle at 72% 68%, rgba(137, 180, 73, 0.14), transparent 20%);
}

.map-canvas::after {
  left: 18px;
  bottom: 18px;
  width: 92px;
  height: 32px;
  border-bottom: 3px solid rgba(29, 32, 36, 0.54);
  border-left: 1px solid rgba(29, 32, 36, 0.24);
  border-right: 1px solid rgba(29, 32, 36, 0.24);
}

.map-water {
  position: absolute;
  right: 8%;
  top: 28%;
  display: grid;
  width: 180px;
  height: 118px;
  place-items: center;
  border: 1px solid rgba(88, 114, 97, 0.18);
  border-radius: 52% 48% 56% 44%;
  background: rgba(220, 235, 234, 0.94);
  color: var(--moss);
  font-size: 12px;
  font-weight: 780;
}

.map-road {
  position: absolute;
  height: 12px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 16px, rgba(255, 255, 255, 0.2) 16px 32px),
    rgba(88, 114, 97, 0.34);
  box-shadow: 0 0 0 1px rgba(88, 114, 97, 0.16);
  transform-origin: left center;
}

.road-main {
  left: 12%;
  top: 51%;
  width: 70%;
  transform: rotate(4deg);
}

.road-loop {
  left: 25%;
  top: 31%;
  width: 46%;
  transform: rotate(-18deg);
}

.road-east {
  left: 57%;
  top: 20%;
  width: 38%;
  transform: rotate(82deg);
}

.map-block {
  position: absolute;
  z-index: 1;
  padding: 8px 10px;
  border: 1px solid rgba(88, 114, 97, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: rgba(29, 32, 36, 0.56);
  font-size: 12px;
  font-weight: 760;
}

.block-opera {
  left: 38%;
  top: 62%;
}

.block-square {
  left: 40%;
  top: 39%;
}

.block-walking {
  left: 13%;
  top: 56%;
}

.map-zone {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(88, 114, 97, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--moss);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.zone-core {
  left: 41%;
  top: 24%;
}

.zone-heritage {
  left: 9%;
  top: 72%;
}

.zone-river {
  right: 8%;
  bottom: 16%;
}

.pin {
  position: absolute;
  z-index: 5;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  min-width: 92px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
  text-align: center;
}

.pin.main {
  background: var(--clay);
  color: #ffffff;
}

.pin.exhibition {
  border-left: 5px solid #e68a8c;
}

.pin.workshop {
  border-left: 5px solid #89b449;
}

.pin.tour {
  border-left: 5px solid #dbd468;
}

.route {
  position: absolute;
  z-index: 4;
  width: 160px;
  height: 86px;
  border-color: var(--moss);
  border-style: solid;
  border-width: 0;
  background: transparent;
  opacity: 0.82;
}

.route-one {
  left: 30%;
  top: 22%;
  border-left-width: 3px;
  border-bottom-width: 3px;
  border-radius: 0 0 0 18px;
}

.route-two {
  right: 14%;
  bottom: 22%;
  border-right-width: 3px;
  border-top-width: 3px;
  border-radius: 0 18px 0 0;
}

.route::after {
  content: "";
  position: absolute;
}

.route-one::after {
  right: -2px;
  bottom: -7px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--moss);
}

.route-two::after {
  left: -2px;
  top: -7px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 9px solid var(--moss);
}

.route-label {
  position: absolute;
  z-index: 6;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(29, 32, 36, 0.78);
  color: #ffffff;
  font-size: 12px;
}

.route-label-one {
  left: 31%;
  top: 18%;
}

.route-label-two {
  right: 17%;
  top: 72%;
}

.map-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.map-panel h3 {
  margin-bottom: 12px;
}

.map-panel label {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.map-guide-card {
  padding: 22px;
  border: 1px solid rgba(88, 114, 97, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(64, 127, 62, 0.96), rgba(88, 114, 97, 0.92)),
    var(--moss);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(29, 32, 36, 0.16);
}

.map-guide-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.map-guide-card h3 {
  color: #ffffff;
}

.map-steps,
.map-legend {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.map-steps strong {
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--moss);
  font-size: 13px;
}

.map-steps span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 680;
}

.map-legend-panel {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.map-legend-panel summary {
  cursor: pointer;
  color: var(--moss);
  font-weight: 780;
}

.map-legend {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 12px;
}

.map-legend span {
  color: var(--muted);
  font-size: 13px;
}

.map-legend span {
  display: flex;
  gap: 9px;
  align-items: center;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clay);
}

.legend-dot.exhibition {
  background: #e68a8c;
}

.legend-dot.workshop {
  background: #89b449;
}

.legend-dot.tour {
  background: #dbd468;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.stat-card,
.creator-card,
.metric-card {
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 154px;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(137, 180, 73, 0.14);
}

.stat-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(88, 114, 97, 0.24);
  border-radius: 8px;
  background: var(--mist);
}

.stat-icon::before {
  color: var(--moss);
  font-weight: 850;
}

.stat-icon.activity::before {
  content: "EV";
}

.stat-icon.place::before {
  content: "MP";
}

.stat-icon.creator::before {
  content: "CR";
}

.stat-icon.project::before {
  content: "PR";
}

.stat-icon.partner::before {
  content: "PT";
}

.stat-icon.media::before {
  content: "MD";
}

.stat-icon.date::before {
  content: "10";
}

.stat-icon.visitor::before {
  content: "IN";
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.stat-card span,
.news-card span,
.project-card span,
.event-row span,
.creator-card p,
.metric-card span,
.metric-card small {
  color: var(--muted);
}

.project-band,
.explore-band {
  background: var(--surface);
}

.highlight-page-section {
  padding-top: 42px;
}

.highlight-page-list {
  display: grid;
  gap: 14px;
}

.highlight-row-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(231, 224, 196, 0.52), rgba(255, 255, 255, 0) 42%),
    var(--surface);
}

.highlight-row-metric {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
}

.highlight-row-metric .stat-icon {
  grid-row: span 2;
  margin-bottom: 0;
}

.highlight-row-metric strong {
  display: block;
  color: var(--clay);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
}

.highlight-row-metric span:last-child {
  color: var(--muted);
  font-weight: 780;
}

.highlight-row-copy {
  display: grid;
  gap: 8px;
}

.highlight-row-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
}

.highlight-row-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
}

.highlight-row-copy small {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.highlight-row-card .button {
  white-space: nowrap;
}

.highlight-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.media-band {
  background: var(--paper);
}

.text-link {
  color: var(--clay-dark);
  font-weight: 760;
}

.news-list-page {
  align-items: start;
}

.news-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.featured-news {
  margin-bottom: 16px;
}

.featured-news:empty {
  display: none;
}

.featured-news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.featured-news-card a {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  min-height: 300px;
}

.featured-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-news-card div {
  display: grid;
  align-content: center;
  padding: clamp(22px, 4vw, 40px);
}

.featured-news-card span,
.content-list-meta {
  color: var(--clay-dark);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.featured-news-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 3.5vw, 44px);
}

.featured-news-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.content-list-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-list-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
}

.content-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.content-list-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.content-list-thumb {
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.content-list-thumb img {
  width: 100%;
  height: 100%;
  min-height: 136px;
  object-fit: cover;
}

.content-list-item h2 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.content-list-item p {
  margin-bottom: 10px;
  color: var(--muted);
}

.news-sidebar {
  position: sticky;
  top: calc(var(--header) + 18px);
  display: grid;
  gap: 14px;
}

.news-sidebar article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(220, 235, 234, 0.72), rgba(255, 255, 255, 0.94)),
    var(--surface);
}

.news-sidebar h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

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

.sidebar-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px 999px 8px 999px;
  background: var(--moss);
  color: #ffffff;
  font-weight: 850;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-list a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--moss);
  font-weight: 720;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  align-items: center;
  justify-content: flex-end;
}

.pagination a {
  display: inline-flex;
  min-width: 112px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--moss);
  font-weight: 780;
  padding: 0 14px;
}

.pagination a.active {
  border-color: var(--clay);
  background: var(--clay);
  color: #ffffff;
}

.pagination a.disabled {
  pointer-events: none;
  opacity: 0.42;
}

.pagination-status {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.page-context-band {
  padding-top: 40px;
  padding-bottom: 18px;
}

.page-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-context-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(220, 235, 234, 0.74), rgba(255, 255, 255, 0.94)),
    var(--surface);
}

.page-context-grid h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.page-context-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.context-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(88, 114, 97, 0.22);
  border-radius: 8px;
  background: var(--mist);
  color: var(--moss);
  font-weight: 850;
}

.context-icon.event::before {
  content: "EV";
}

.context-icon.context-route::before {
  content: "RT";
}

.context-icon.register::before {
  content: "RG";
}

.context-icon.workshop::before {
  content: "WS";
}

.context-icon.skill::before {
  content: "SK";
}

.context-icon.seat::before {
  content: "SE";
}

.context-icon.project::before {
  content: "PR";
}

.context-icon.material::before {
  content: "MT";
}

.context-icon.community::before {
  content: "CM";
}

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

.project-card,
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-card div,
.news-card div {
  padding: 22px;
}

.project-card p {
  margin-bottom: 12px;
  color: var(--muted);
}

.project-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--moss);
  font-weight: 720;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-tags b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(88, 114, 97, 0.18);
  border-radius: 999px;
  background: var(--mist);
  color: var(--moss);
  font-size: 12px;
  font-weight: 760;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.filter.active {
  border-color: var(--clay);
  background: #fff0ec;
  color: var(--clay-dark);
  font-weight: 720;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.event-row time {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 8px;
  background: var(--aqua);
}

.event-row time strong {
  font-size: 30px;
  line-height: 1;
}

.event-row h3,
.event-row p {
  margin-bottom: 4px;
}

.event-row p {
  color: var(--muted);
}

.event-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 10px 0;
}

.event-meta-line small {
  color: var(--moss);
  font-weight: 720;
}

.creator-row,
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.creator-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
}

.creator-card a {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
}

.creator-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.creator-card div {
  padding: 18px;
}

.creator-card span {
  display: grid;
  width: 58px;
  height: 58px;
  margin: -48px 0 14px;
  place-items: center;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-weight: 780;
}

.creator-card h3 {
  font-size: 18px;
}

.creator-card p {
  margin-bottom: 0;
}

.creator-card em {
  display: inline-flex;
  margin-top: 12px;
  color: var(--moss);
  font-style: normal;
  font-weight: 780;
}

.creator-role {
  margin-bottom: 8px;
  color: var(--clay-dark);
  font-weight: 760;
}

.creator-detail-header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.creator-detail-header img {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.map-detail-grid,
.key-visual-page article {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.map-detail-panel,
.map-detail-list article,
.key-visual-page article,
.key-visual-page section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.map-detail-list {
  display: grid;
  gap: 12px;
}

.map-detail-list span,
.map-legend-compact span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.map-detail-list h3 {
  margin: 6px 0;
}

.map-legend-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.map-legend-compact i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: -1px;
}

.map-legend-compact .main { background: var(--green); }
.map-legend-compact .route { background: var(--leaf); }
.map-legend-compact .satellite { background: var(--lime); }
.map-legend-compact .media { background: var(--rose); }

.key-visual-page {
  display: grid;
  gap: 24px;
}

.key-visual-page img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.kv-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.kv-swatches span {
  min-width: 104px;
  padding: 12px;
  border-radius: 8px;
  background: var(--swatch);
  color: #111;
  font-size: 12px;
  font-weight: 820;
}

.explore-list {
  display: grid;
  gap: 12px;
}

.explore-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.explore-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface);
  color: var(--clay);
  font-weight: 780;
}

.explore-list h3 {
  margin-bottom: 6px;
}

.explore-list p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
}

.explore-list .text-link {
  grid-column: 2;
  margin-top: 10px;
}

.explore-visual {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}

.explore-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.explore-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visual-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--moss);
  font-size: 13px;
  font-weight: 780;
}

.media-wall {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 12px;
}

.media-card {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  min-height: 220px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-media {
  grid-row: span 2;
}

.media-card:last-child {
  grid-column: span 2;
}

.media-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(18, 14, 13, 0.88), transparent);
  color: #ffffff;
}

.media-overlay h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.media-overlay h3,
.media-overlay p,
.media-overlay small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.media-overlay h3 {
  -webkit-line-clamp: 2;
}

.media-overlay p {
  -webkit-line-clamp: 2;
}

.media-overlay small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 760;
  -webkit-line-clamp: 1;
}

.featured-media .media-overlay h3 {
  font-size: 24px;
}

.media-overlay p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.media-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.media-type::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clay);
}

.media-type.video::before {
  clip-path: polygon(28% 18%, 28% 82%, 82% 50%);
}

.media-type.reel::before {
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 0 28%, #ffffff 28% 38%, transparent 38% 62%, #ffffff 62% 72%, transparent 72%),
    var(--moss);
}

.media-type.radio::before {
  border: 3px solid var(--clay);
  background: transparent;
}

.media-type.short::before {
  border-radius: 5px;
  background: var(--sun);
}

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

.news-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-card h3 {
  font-size: 20px;
}

.join-band {
  background: var(--clay);
  color: #ffffff;
}

.join-grid {
  align-items: center;
}

.join-band h2 {
  max-width: 800px;
}

.join-band .button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #ffffff;
}

.partners-band {
  background: var(--surface);
}

.news-feature-band {
  background: var(--surface);
}

.section-heading.split > :last-child {
  justify-self: end;
  align-self: end;
}

.section-heading.split .text-link {
  margin-left: auto;
}

.news-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
}

.news-feature-card,
.news-mini-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.news-feature-card a,
.news-mini-card a {
  display: grid;
  height: 100%;
  color: inherit;
}

.news-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-feature-card div,
.news-mini-card div {
  padding: 20px;
}

.news-feature-card span,
.news-mini-card span {
  color: var(--clay-dark);
  font-size: 13px;
  font-weight: 780;
}

.news-feature-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.04;
}

.news-feature-card p,
.news-mini-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.news-side-list {
  display: grid;
  gap: 16px;
}

.news-mini-card a {
  grid-template-columns: 150px minmax(0, 1fr);
}

.news-mini-card img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
}

.news-mini-card h3 {
  margin: 7px 0 8px;
  font-size: 20px;
}

.slider-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  align-self: end;
  gap: 8px;
}

.slider-actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 8px 0 0;
  line-height: 1;
}

.slider-actions button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.creator-slider {
  display: grid;
  grid-auto-columns: minmax(260px, 24%);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.creator-slider .creator-card {
  scroll-snap-align: start;
}

.media-wall-v2 {
  display: grid;
  gap: 14px;
}

.featured-media-wide {
  min-height: clamp(320px, 48vw, 560px);
}

.featured-media-wide .media-overlay {
  padding: clamp(22px, 4vw, 42px);
}

.featured-media-wide .media-overlay h3 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
}

.media-carousel {
  display: grid;
  grid-auto-columns: minmax(260px, 32%);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.media-carousel .media-card {
  min-height: 230px;
  scroll-snap-align: start;
}

.audio-tile-preview {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-items: center;
  background: linear-gradient(135deg, var(--ink), var(--moss));
  color: #fff;
  font-size: 30px;
  font-weight: 780;
}

.media-player-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 14, 13, 0.78);
}

.media-player-modal[hidden] {
  display: none;
}

.media-player-dialog {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 18px;
  border-radius: 8px;
  background: var(--paper);
}

.media-player-close {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.media-player-frame {
  display: grid;
  min-height: min(64vh, 620px);
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.media-player-frame img,
.media-player-frame video {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.media-player-frame audio {
  width: min(720px, 100%);
}

.image-resource-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 14, 13, 0.78);
}

.image-resource-modal[hidden] {
  display: none;
}

.image-resource-dialog {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 18px;
  border-radius: 8px;
  background: var(--paper);
}

.image-resource-dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.image-resource-close {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.project-card h3,
.event-row h3,
.creator-card h3,
.news-feature-card h3,
.news-mini-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-card p,
.creator-card p,
.news-feature-card p,
.news-mini-card p,
.event-row p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
}

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

.partner-card {
  display: grid;
  min-height: 188px;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.partner-logo {
  display: grid;
  width: 100%;
  height: 94px;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  max-height: 72px;
  object-fit: contain;
}

.partner-card strong {
  font-size: 16px;
  line-height: 1.25;
}

.partner-card span {
  color: var(--muted);
  font-size: 13px;
}

.partners-page {
  display: grid;
  gap: 28px;
}

.partner-group {
  display: grid;
  gap: 14px;
}

.partner-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: end;
}

.partner-group-heading .eyebrow,
.partner-group-heading h2 {
  grid-column: 1;
}

.partner-group-heading span {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.partner-group .partners-grid > a {
  display: grid;
  color: inherit;
}

.site-footer {
  padding: 38px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: #f2f3ef;
}

.footer-inner {
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  grid-template-columns: 260px 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-inner img {
  width: 210px;
}

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

.admin-body {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 260px minmax(0, 1fr);
  background: #f5f6f3;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-width: 0;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.admin-logo img {
  width: 190px;
  margin-bottom: 34px;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--muted);
}

.admin-nav a.active,
.admin-nav a:hover {
  background: var(--mist);
  color: var(--ink);
}

.admin-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 36px);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 54px);
}

.admin-section {
  margin-bottom: 20px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card strong {
  display: block;
  margin: 8px 0;
  font-size: 42px;
}

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

.admin-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  font-size: 23px;
}

.panel-heading span,
.status-pill,
.queue-item em,
.module-item em {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
}

.queue-list,
.module-list {
  display: grid;
  gap: 10px;
}

.queue-item,
.module-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.queue-item span,
.module-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.map-health {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.map-health div {
  padding: 18px;
  border-radius: 8px;
  background: var(--mist);
}

.map-health strong {
  display: block;
  font-size: 34px;
}

.map-health span {
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 720;
}

.admin-form input,
.admin-form select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

@media (max-width: 1020px) {
  .stats-grid,
  .creator-row,
  .partners-grid,
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading.split,
  .intro-grid,
  .join-grid,
  .explore-grid,
  .map-demo,
  .news-list-layout,
  .highlight-row-card,
  .page-context-grid,
  .news-feature-layout,
  .related-news-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .highlight-row-card {
    align-items: start;
  }

  .highlight-row-card .button,
  .highlight-row-actions {
    justify-self: start;
  }

  .highlight-row-actions,
  .map-detail-grid,
  .key-visual-page article,
  .creator-detail-header {
    grid-template-columns: 1fr;
  }

  .creator-detail-header img {
    width: min(220px, 100%);
  }

  .filter-group {
    justify-content: flex-start;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    align-items: center;
  }

  .brand img {
    width: 158px;
    max-height: 66px;
    object-fit: contain;
  }

  .nav-toggle {
    position: relative;
    top: auto;
    right: auto;
    z-index: 30;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    left: auto;
    right: 14px;
    top: calc(var(--header) + env(safe-area-inset-top, 0px) + 8px);
    z-index: 40;
    display: none;
    width: min(268px, calc(100vw - 28px));
    max-height: min(70svh, 560px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
    gap: 4px;
  }

  .main-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    text-align: left;
    white-space: normal;
  }

  .main-nav .nav-home {
    width: auto;
    flex: 1 1 auto;
  }

  .main-nav a:hover {
    background: var(--mist);
    border-color: transparent;
  }

  .season-mark {
    position: relative;
    top: auto;
    right: auto;
    width: 190px;
    margin: 0 0 24px auto;
  }

  .hero {
    align-items: center;
  }

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

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

  .news-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-media {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .media-card:last-child {
    grid-column: auto;
  }

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

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .admin-logo img {
    width: 150px;
    margin: 0;
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 92px;
  }

  .site-header {
    min-height: var(--header);
    padding-top: max(10px, env(safe-area-inset-top, 0px));
    padding-bottom: 10px;
  }

  .brand img {
    width: 150px;
    max-height: 74px;
  }

  .nav-action {
    text-align: center;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    min-height: 76svh;
    padding: 26px 18px 130px;
  }

  .hero::before {
    top: 18px;
    right: -86px;
    width: 240px;
    height: 170px;
    opacity: 0.16;
  }

  .hero::after {
    right: -72px;
    bottom: 118px;
    width: 270px;
    height: 170px;
    opacity: 0.12;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(18, 14, 13, 0.84), rgba(18, 14, 13, 0.58)),
      linear-gradient(90deg, rgba(18, 14, 13, 0.92), rgba(18, 14, 13, 0.54));
  }

  .hero-image {
    object-position: 68% center;
    opacity: 0.32;
  }

  .season-mark {
    width: 148px;
    min-width: 148px;
    aspect-ratio: 1 / 0.9;
    margin: 0 0 20px;
    padding: 18px;
  }

  .season-mark strong {
    font-size: 42px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero-inner {
    width: 100%;
    min-width: 0;
    max-width: calc(100vw - 36px);
  }

  .hero-actions .button {
    min-width: 0;
    width: 100%;
  }

  .hero-copy,
  .hero-tags,
  .hero-actions {
    max-width: 100%;
  }

  .countdown {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .stats-grid,
  .project-grid,
  .creator-row,
  .news-grid,
  .news-feature-layout,
  .news-sidebar,
  .related-news-grid,
  .library-grid,
  .partners-grid,
  .admin-metrics,
  .map-health,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .event-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .event-row .button {
    grid-column: 1 / -1;
  }

  .media-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .library-summary {
    grid-template-columns: 1fr;
  }

  .library-summary strong {
    min-width: 76px;
    min-height: 76px;
  }

  .festival-year-overview,
  .festival-year-list {
    grid-template-columns: 1fr;
  }

  .festival-year-counts {
    justify-content: flex-start;
  }

  .festival-year-group-head {
    display: grid;
    align-items: start;
  }

  .featured-news-card a,
  .content-list-item,
  .news-mini-card a {
    grid-template-columns: 1fr;
  }

  .featured-news-card a {
    min-height: 0;
  }

  .featured-news-card img,
  .content-list-thumb img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .content-list-item {
    gap: 12px;
  }

  .media-card,
  .featured-media {
    grid-column: auto;
    grid-row: auto;
  }

  .media-card img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .creator-slider,
  .media-carousel {
    grid-auto-columns: minmax(240px, 86%);
  }

  .explore-list article {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-sidebar {
    grid-template-columns: 1fr;
  }

  .queue-item,
  .module-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Figma hero alignment and per-tab activity date colors — 2026-07-31. */
body[data-page="highlights"] .page-hero,
body[data-page="workshops"] .page-hero {
  display: grid;
  min-height: clamp(500px, 48vw, 620px);
  padding: 0;
  background: #fc6b3e;
  color: #fff8ef;
}

body[data-page="highlights"] .page-hero::before,
body[data-page="highlights"] .page-hero::after,
body[data-page="workshops"] .page-hero::before,
body[data-page="workshops"] .page-hero::after {
  display: none;
}

body[data-page="highlights"] .page-hero .section-inner,
body[data-page="workshops"] .page-hero .section-inner {
  display: grid;
  align-content: center;
  width: min(100%, 1440px);
  min-height: inherit;
  padding-top: clamp(54px, 6vw, 88px);
  padding-bottom: clamp(54px, 6vw, 88px);
}

body[data-page="highlights"] .page-hero .eyebrow,
body[data-page="highlights"] .page-hero p:not(.eyebrow),
body[data-page="workshops"] .page-hero .eyebrow,
body[data-page="workshops"] .page-hero p:not(.eyebrow) {
  color: #fff8ef;
}

body[data-page="highlights"] .page-hero h1,
body[data-page="workshops"] .page-hero h1 {
  max-width: 1100px;
  margin: clamp(38px, 5vw, 66px) 0 30px;
  color: #660205;
  font-size: clamp(70px, 8.5vw, 124px);
  line-height: 0.86;
}

body[data-page="highlights"] .page-hero h1 span,
body[data-page="workshops"] .page-hero h1 span {
  display: block;
}

body[data-page="highlights"] .page-hero p:not(.eyebrow),
body[data-page="workshops"] .page-hero p:not(.eyebrow) {
  max-width: 1080px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.18;
}

body[data-page="activity"] .activity-schedule-card time {
  border-color: color-mix(in srgb, var(--activity-color, #fc6b3e) 72%, #660205);
}

body[data-page="activity"] .activity-schedule-card time span {
  background: color-mix(in srgb, var(--activity-color, #fc6b3e) 32%, #ffffff);
  color: color-mix(in srgb, var(--activity-color, #fc6b3e) 58%, #330103);
}

body[data-page="activity"] .activity-schedule-card time strong {
  background: color-mix(in srgb, var(--activity-color, #fc6b3e) 8%, #ffffff);
  color: color-mix(in srgb, var(--activity-color, #fc6b3e) 62%, #330103);
}

body[data-page="activity"] .activity-slots > span {
  border-color: color-mix(in srgb, var(--activity-color, #fc6b3e) 72%, #660205);
  background: color-mix(in srgb, var(--activity-color, #fc6b3e) 28%, #ffffff);
  color: color-mix(in srgb, var(--activity-color, #fc6b3e) 58%, #330103);
}

@media (max-width: 760px) {
  body[data-page="highlights"] .page-hero,
  body[data-page="workshops"] .page-hero {
    min-height: 480px;
  }

  body[data-page="highlights"] .page-hero .section-inner,
  body[data-page="workshops"] .page-hero .section-inner {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  body[data-page="highlights"] .page-hero h1,
  body[data-page="workshops"] .page-hero h1 {
    margin: 28px 0 24px;
    font-size: clamp(54px, 16vw, 78px);
  }

  body[data-page="highlights"] .page-hero p:not(.eyebrow),
  body[data-page="workshops"] .page-hero p:not(.eyebrow) {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .section:has(.stats-grid) {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .section:has(.stats-grid) .section-heading {
    margin-bottom: 20px;
  }

  .section:has(.stats-grid) .section-heading h2 {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.02;
  }

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

  .stat-card {
    box-sizing: border-box;
    height: 148px;
    min-height: 0;
    padding: 14px;
  }

  .stat-card::after {
    right: -38px;
    bottom: -40px;
    width: 88px;
    height: 88px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
  }

  .stat-card strong {
    margin-bottom: 4px;
    font-size: clamp(32px, 11vw, 42px);
  }

.stat-card span:last-child {
    display: block;
    min-height: 2.2em;
    font-size: 16px;
    line-height: 1.15;
  }
}

.activity-section-inner {
  width: min(100%, 1440px);
}

.activity-accordion {
  display: flex;
  min-height: min(720px, calc(100svh - var(--header) - 160px));
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.activity-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: var(--activity-color, var(--green));
  color: #ffffff;
  transition: grid-column 240ms ease, background-color 180ms ease;
}

.activity-panel.is-active {
  flex: 9 1 0;
  background: color-mix(in srgb, var(--activity-color, var(--green)) 78%, #ffffff);
}

.activity-panel-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 18px;
  width: 100%;
  height: 100%;
  min-height: 320px;
  padding: 24px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.activity-panel.is-active .activity-panel-head {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: min(300px, 26%);
  pointer-events: none;
}

.activity-panel-count {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.activity-panel-title {
  max-width: 12ch;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 560;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.activity-panel-arrow {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-size: 28px;
  opacity: 0;
  transform: translateX(-8px);
  transition: 180ms ease;
}

.activity-panel-head:hover .activity-panel-arrow,
.activity-panel-head:focus-visible .activity-panel-arrow {
  opacity: 0.9;
  transform: translateX(0);
}

.activity-panel-body {
  min-height: 100%;
  margin-left: min(300px, 26%);
  background: color-mix(in srgb, var(--activity-color, var(--green)) 30%, #ffffff);
  color: color-mix(in srgb, var(--activity-color, var(--green)) 44%, var(--ink));
}

.activity-panel-intro {
  position: sticky;
  top: var(--header);
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px clamp(22px, 4vw, 46px);
  border-bottom: 1px solid color-mix(in srgb, var(--activity-color, var(--green)) 32%, transparent);
  background: color-mix(in srgb, var(--activity-color, var(--green)) 34%, #ffffff);
}

.activity-panel-intro h2 {
  max-width: 920px;
  margin: 0;
  color: color-mix(in srgb, var(--activity-color, var(--green)) 46%, #1d2024);
  font-size: clamp(28px, 3.4vw, 54px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.activity-back {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
}

.activity-schedule-list {
  display: grid;
  gap: 22px;
  padding: 26px clamp(18px, 4vw, 46px) 46px;
}

.activity-schedule-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--activity-color, var(--green)) 22%, transparent);
  background: color-mix(in srgb, var(--activity-color, var(--green)) 18%, #ffffff);
}

.activity-schedule-card a {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
  padding: 24px 28px;
  color: inherit;
}

.activity-media-card-inner {
  display: grid;
  grid-template-columns: 104px minmax(180px, 280px) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 28px;
}

.activity-media-card.no-preview .activity-media-card-inner {
  grid-template-columns: 104px minmax(0, 1fr);
}

.activity-schedule-card time {
  display: grid;
  align-self: start;
  width: 94px;
  border: 1px solid color-mix(in srgb, var(--activity-color, var(--green)) 34%, transparent);
  text-align: center;
}

.activity-schedule-card time span {
  padding: 8px;
  background: color-mix(in srgb, var(--activity-color, var(--green)) 76%, #ffffff);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 780;
  text-transform: uppercase;
}

.activity-schedule-card time strong {
  padding: 14px 8px 18px;
  color: color-mix(in srgb, var(--activity-color, var(--green)) 44%, var(--ink));
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
}

.activity-schedule-main {
  min-width: 0;
}

.activity-schedule-main > span {
  display: block;
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--activity-color, var(--green)) 52%, var(--ink));
  font-weight: 760;
  overflow-wrap: anywhere;
}

.activity-schedule-main h3 {
  display: -webkit-box;
  margin: 0 0 8px;
  max-width: 980px;
  overflow: hidden;
  color: color-mix(in srgb, var(--activity-color, var(--green)) 40%, var(--ink));
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 1.12;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.activity-schedule-main p {
  display: -webkit-box;
  margin: 0;
  max-width: 960px;
  overflow: hidden;
  color: color-mix(in srgb, var(--activity-color, var(--green)) 42%, var(--muted));
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.32;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.activity-media-preview {
  overflow: hidden;
  align-self: start;
  border: 1px solid color-mix(in srgb, var(--activity-color, var(--green)) 22%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--activity-color, var(--green)) 10%, #ffffff);
}

.activity-media-preview img,
.activity-media-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.activity-media-placeholder {
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--activity-color, var(--green)) 52%, var(--ink));
}

.activity-resource-link {
  width: auto;
}

.activity-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
  padding: 20px 28px 28px 156px;
  border-top: 1px solid color-mix(in srgb, var(--activity-color, var(--green)) 18%, transparent);
}

.activity-slots span {
  min-width: 0;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--activity-color, var(--green)) 28%, #ffffff);
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.25;
}

.activity-slots span span {
  display: block;
  padding: 0;
  background: transparent;
  font-size: 0.78em;
}

@media (max-width: 1020px) {
  .activity-accordion {
    flex-direction: column;
    min-height: auto;
  }

  .activity-panel,
  .activity-panel.is-active {
    flex: 0 0 auto;
  }

  .activity-panel-head {
    min-height: 96px;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    padding: 18px 20px;
  }

  .activity-panel.is-active .activity-panel-head {
    display: none;
  }

  .activity-panel-title {
    max-width: none;
  }

  .activity-panel-arrow {
    position: static;
    opacity: 0.86;
    transform: none;
  }

  .activity-panel-body {
    margin-left: 0;
  }

  .activity-panel-intro {
    top: var(--header);
    padding: 20px;
  }

  .activity-schedule-card a {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .activity-media-card-inner {
    grid-template-columns: 82px minmax(160px, 240px) minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .activity-media-card.no-preview .activity-media-card-inner {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .activity-schedule-card time {
    width: 76px;
  }

  .activity-slots {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    padding: 16px 18px 20px;
  }
}

@media (max-width: 560px) {
  .activity-panel-head {
    min-height: 86px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px;
  }

  .activity-panel-count {
    font-size: 22px;
  }

  .activity-panel-title {
    font-size: 20px;
  }

  .activity-panel-intro {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .activity-back {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .activity-panel-intro h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .activity-schedule-list {
    gap: 14px;
    padding: 16px;
  }

  .activity-schedule-card a {
    grid-template-columns: 1fr;
  }

  .activity-schedule-card time {
    width: 88px;
  }

  .activity-schedule-main h3 {
    font-size: clamp(22px, 7vw, 30px);
    -webkit-line-clamp: 4;
  }
}

.album-detail header {
  max-width: 860px;
  margin-bottom: 28px;
}

.album-detail h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.95;
}

.album-slides {
  display: grid;
  gap: 22px;
}

.album-slides figure {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(20, 40, 28, 0.16);
  border-radius: 8px;
  background: #fff;
}

.album-slides img,
.album-slides video {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 6px;
  background: #111;
}

.album-slides audio {
  width: 100%;
}

body[data-page="activity"] .page-hero {
  padding-top: clamp(34px, 5vw, 62px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

body[data-page="activity"] .page-hero h1 {
  margin-bottom: 10px;
}

.activity-section {
  padding-top: clamp(26px, 3.4vw, 46px);
}

.activity-section-inner {
  width: min(100%, 1680px);
}

.activity-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: -10px 0 22px;
}

.activity-summary a {
  position: relative;
  display: grid;
  isolation: isolate;
  gap: 8px;
  min-height: 118px;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--activity-color, var(--moss)) 24%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sun) 16%, #ffffff), #ffffff 46%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(29, 32, 36, 0.04);
}

.activity-summary a.active {
  border-color: color-mix(in srgb, var(--activity-color, var(--moss)) 72%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--activity-color, var(--moss)) 10%, #ffffff), color-mix(in srgb, var(--sun) 26%, #ffffff)),
    #ffffff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--activity-color, var(--moss)) 18%, transparent);
}

.activity-summary a::before,
.activity-summary a::after,
.activity-panel-intro::before,
.activity-panel-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.activity-summary a::before {
  inset: auto -18px -22px auto;
  width: 138px;
  height: 96px;
  opacity: 0.28;
}

.activity-summary a::after {
  top: 0;
  right: 0;
  width: 34%;
  height: 5px;
  background: var(--activity-color, var(--moss));
  opacity: 0.9;
}

.activity-summary strong {
  color: color-mix(in srgb, var(--activity-color, var(--clay)) 70%, var(--clay));
  font-size: 34px;
  line-height: 1;
}

.activity-summary span {
  color: color-mix(in srgb, var(--activity-color, var(--moss)) 54%, var(--moss));
  max-width: 18ch;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.16;
}

.activity-pattern-arc::before,
.activity-pattern-arc .activity-panel-intro::after {
  border: 1.5px solid color-mix(in srgb, var(--activity-color, var(--moss)) 64%, #ffffff);
  border-radius: 999px 0 0 999px;
  background:
    repeating-radial-gradient(ellipse at 100% 50%, transparent 0 10px, color-mix(in srgb, var(--activity-color, var(--moss)) 52%, #ffffff) 11px 12.5px);
}

.activity-pattern-thread::before,
.activity-pattern-thread .activity-panel-intro::after {
  background:
    repeating-linear-gradient(128deg, transparent 0 13px, color-mix(in srgb, var(--activity-color, var(--moss)) 58%, #ffffff) 14px 15px),
    repeating-linear-gradient(52deg, transparent 0 18px, color-mix(in srgb, var(--activity-color, var(--moss)) 38%, #ffffff) 19px 20px);
}

.activity-pattern-maze::before,
.activity-pattern-maze .activity-panel-intro::after {
  background:
    repeating-linear-gradient(0deg, transparent 0 16px, color-mix(in srgb, var(--activity-color, var(--moss)) 74%, #ffffff) 17px 18px),
    repeating-linear-gradient(90deg, transparent 0 16px, color-mix(in srgb, var(--activity-color, var(--moss)) 74%, #ffffff) 17px 18px);
}

.activity-pattern-checker::before,
.activity-pattern-checker .activity-panel-intro::after {
  background:
    conic-gradient(from 90deg, color-mix(in srgb, var(--activity-color, var(--moss)) 58%, #ffffff) 25%, transparent 0 50%, color-mix(in srgb, var(--activity-color, var(--moss)) 58%, #ffffff) 0 75%, transparent 0) 0 0 / 18px 18px;
}

.activity-pattern-corner::before,
.activity-pattern-corner .activity-panel-intro::after {
  background:
    linear-gradient(135deg, transparent 0 30%, color-mix(in srgb, var(--activity-color, var(--moss)) 72%, #ffffff) 30% 33%, transparent 33% 58%, color-mix(in srgb, var(--activity-color, var(--moss)) 72%, #ffffff) 58% 61%, transparent 61%),
    linear-gradient(0deg, transparent 0 62%, color-mix(in srgb, var(--activity-color, var(--moss)) 44%, #ffffff) 62% 64%, transparent 64%);
}

.activity-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.activity-tabs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--activity-color, var(--moss)) 45%, #ffffff);
  border-radius: 999px;
  background: #fff;
  color: color-mix(in srgb, var(--activity-color, var(--moss)) 70%, var(--ink));
  font-weight: 800;
  white-space: normal;
}

.activity-tabs a.active {
  background: var(--activity-color, var(--moss));
  color: #fff;
}

.activity-accordion {
  display: block;
  min-height: 0;
  overflow: visible;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.activity-panel,
.activity-panel.is-active {
  display: block;
  overflow: visible;
  background: transparent;
  color: inherit;
}

.activity-panel:not(.is-active) {
  display: none;
}

.activity-panel-head {
  display: none;
}

.activity-panel-body {
  position: relative;
  margin-left: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--activity-color, var(--green)) 32%, #ffffff);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--activity-color, var(--green)) 13%, #ffffff), #ffffff 54%),
    color-mix(in srgb, var(--activity-color, var(--green)) 14%, #ffffff);
  color: color-mix(in srgb, var(--activity-color, var(--green)) 44%, var(--ink));
}

.activity-panel-intro {
  position: static;
  display: block;
  isolation: isolate;
  min-height: 154px;
  overflow: hidden;
  padding: 22px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid color-mix(in srgb, var(--activity-color, var(--moss)) 18%, var(--line));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--activity-color, var(--moss)) 15%, #ffffff), color-mix(in srgb, var(--sun) 16%, #ffffff) 62%, #ffffff);
}

.activity-panel-intro > div {
  position: relative;
  z-index: 1;
  max-width: min(72%, 920px);
}

.activity-panel-intro::before {
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--activity-color, var(--moss));
}

.activity-panel-intro::after {
  right: -26px;
  bottom: -34px;
  width: clamp(180px, 25vw, 360px);
  height: clamp(110px, 13vw, 200px);
  opacity: 0.24;
}

.activity-panel-intro h2 {
  max-width: 780px;
  font-size: clamp(34px, 3.8vw, 64px);
  letter-spacing: 0;
}

.activity-schedule-list {
  gap: 0;
  padding: 0 clamp(16px, 2.4vw, 26px) 18px;
}

.activity-schedule-card {
  border-width: 0 0 1px;
  background: transparent;
}

.activity-schedule-card a {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
}

.activity-media-card-inner {
  grid-template-columns: 72px minmax(160px, 220px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
}

.activity-media-card.no-preview .activity-media-card-inner {
  grid-template-columns: 72px minmax(0, 1fr);
}

.activity-schedule-card time {
  width: 66px;
}

.activity-schedule-card time span {
  padding: 6px;
  font-size: 11px;
}

.activity-schedule-card time strong {
  padding: 10px 6px 12px;
  font-size: clamp(24px, 2.6vw, 34px);
}

.activity-schedule-main > span {
  margin-bottom: 5px;
  font-size: 13px;
}

.activity-schedule-main h3 {
  margin-bottom: 5px;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.08;
  -webkit-line-clamp: 2;
}

.activity-schedule-main p {
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.28;
}

.activity-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 14px 88px;
  border-top: 0;
}

.activity-slots span {
  min-width: 74px;
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.15;
  border-radius: 6px;
}

.compact-activity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.compact-activity-list article,
.sidebar-activity-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compact-activity-list a,
.sidebar-activity-list a {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.compact-activity-list span,
.sidebar-activity-list span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.compact-activity-list strong,
.sidebar-activity-list strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.compact-activity-list small {
  color: var(--muted);
}

.article-related .section-heading {
  display: block;
  width: 100%;
  justify-content: flex-start;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.article-related .section-heading h2 {
  width: 100%;
  max-width: none;
  margin-left: 0;
  text-align: left;
}

.news-sidebar-activity {
  border-color: color-mix(in srgb, var(--clay) 34%, var(--line));
}

.sidebar-activity-list {
  display: grid;
  gap: 10px;
}

.toolbar-actions {
  display: flex;
  align-items: end;
  gap: 8px;
}

@media (max-width: 900px) {
  .activity-summary,
  .compact-activity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="about"] .page-hero,
  body[data-page="highlights"] .page-hero,
  body[data-page="events"] .page-hero,
  body[data-page="workshops"] .page-hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 64px;
  }

  body[data-page="about"] .page-hero::before,
  body[data-page="highlights"] .page-hero::before,
  body[data-page="events"] .page-hero::before,
  body[data-page="workshops"] .page-hero::before {
    right: -80px;
    top: 28px;
    width: 220px;
    height: 170px;
    opacity: 0.12;
  }

  body[data-page="about"] .page-hero::after,
  body[data-page="highlights"] .page-hero::after,
  body[data-page="events"] .page-hero::after,
  body[data-page="workshops"] .page-hero::after {
    right: -96px;
    bottom: 10px;
    width: 240px;
    height: 140px;
    opacity: 0.1;
  }

  body[data-page="activity"] .page-hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .activity-section {
    padding-top: 28px;
  }

  .site-header {
    min-height: 104px;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand img {
    width: 156px;
    max-height: 78px;
  }

  .nav-toggle {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .nav-toggle span:not(.sr-only) {
    width: 23px;
    height: 3px;
    margin: 3px auto;
  }

  .main-nav {
    left: 16px;
    right: 16px;
    top: calc(104px + env(safe-area-inset-top, 0px) + 10px);
    width: auto;
    max-height: min(74svh, 640px);
    padding: 14px;
  }

  .main-nav.open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .main-nav a {
    min-height: 48px;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(29, 32, 36, 0.1);
    background: #fff;
    font-size: 17px;
    line-height: 1.15;
    text-align: center;
  }

  .activity-summary,
  .compact-activity-list {
    grid-template-columns: 1fr;
  }

  .activity-summary {
    display: none;
  }

  .activity-accordion {
    display: grid;
    gap: 10px;
  }

  .activity-panel,
  .activity-panel.is-active,
  .activity-panel:not(.is-active) {
    display: grid;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--activity-color, var(--moss)) 32%, var(--line));
    border-radius: 8px;
    background: #fff;
  }

  .activity-panel.is-active {
    background: color-mix(in srgb, var(--activity-color, var(--moss)) 10%, #ffffff);
  }

  .activity-panel-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--activity-color, var(--moss)) 48%, var(--moss));
    text-align: left;
  }

  .activity-panel.is-active .activity-panel-head {
    display: grid;
    position: static;
    width: 100%;
    pointer-events: auto;
  }

  .activity-panel-count {
    color: color-mix(in srgb, var(--activity-color, var(--clay)) 76%, var(--clay));
    font-size: 34px;
    font-weight: 850;
    line-height: 1;
  }

  .activity-panel-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.18;
  }

  .activity-panel-arrow {
    color: inherit;
    font-size: 20px;
    transition: transform 160ms ease;
  }

  .activity-panel.is-active .activity-panel-arrow {
    transform: rotate(180deg);
  }

  .activity-panel-body {
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--activity-color, var(--moss)) 24%, var(--line));
    border-radius: 0;
    background: transparent;
  }

  .activity-panel-intro {
    padding: 16px;
  }

  .activity-panel-intro > div {
    max-width: 100%;
  }

  .activity-panel-intro::after {
    right: -46px;
    bottom: -42px;
    width: 160px;
    height: 110px;
    opacity: 0.12;
  }

  .activity-panel-intro h2 {
    font-size: 26px;
  }

  .activity-schedule-list {
    padding: 0 16px 16px;
  }

  .activity-schedule-card a {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .activity-media-card-inner {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .activity-slots {
    padding-left: 0;
  }
}
/* HFCD 2026 visual system — aligned with the supplied design templates. */
:root {
  --paper: #fff8ef;
  --surface: #ffffff;
  --mist: #f4e7d6;
  --line: #dfb59e;
  --ink: #760300;
  --muted: #9a7267;
  --green: #b72b1b;
  --clay: #ff6946;
  --clay-dark: #850000;
  --moss: #531919;
  --aqua: #ead7bb;
  --sun: #ffd36a;
  --sand: #cea781;
  --shadow: 0 14px 36px rgba(83, 25, 25, 0.09);
  --max: 1320px;
  --header: 108px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.38;
}

h1,
h2,
h3,
.activity-panel-title,
.stat-card strong {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  color: var(--ink);
  font-stretch: condensed;
  letter-spacing: -0.035em;
}

.site-header {
  position: relative;
  min-height: var(--header);
  padding: 18px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid color-mix(in srgb, var(--clay) 38%, transparent);
  background: var(--paper);
  backdrop-filter: none;
}

.brand img {
  width: 142px;
}

.main-nav {
  gap: clamp(2px, 0.35vw, 8px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(13px, 1vw, 16px);
  box-shadow: none;
}

.main-nav a {
  min-height: 40px;
  padding: 0 clamp(8px, 0.85vw, 14px);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] {
  border: 0;
  background: var(--clay);
  color: #ffffff;
  box-shadow: none;
}

.main-nav a.active::after,
.main-nav a[aria-current="page"]::after {
  display: none;
}

.main-nav .nav-home {
  display: none;
}

.section {
  padding: clamp(52px, 6vw, 92px) clamp(20px, 4vw, 56px);
}

.section-heading {
  margin-bottom: clamp(22px, 3vw, 38px);
}

.section-heading h2 {
  max-width: 880px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--clay-dark);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
}

.hero {
  min-height: 610px;
  align-items: center;
  padding: clamp(52px, 6vw, 86px) clamp(24px, 7vw, 110px);
  background: var(--clay);
  color: #fffaf2;
}

.hero-image,
.hero-shade,
.season-mark,
.countdown {
  display: none;
}

.hero::before {
  top: 6%;
  right: -8%;
  width: min(58vw, 760px);
  height: 88%;
  border-radius: 48% 52% 45% 55%;
  background:
    repeating-radial-gradient(ellipse at 54% 48%, transparent 0 12px, rgba(117, 3, 0, 0.28) 13px 15px);
  opacity: 0.72;
  transform: rotate(-17deg);
}

.hero::after {
  right: 8%;
  bottom: -46%;
  width: min(54vw, 680px);
  height: min(54vw, 680px);
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 18px, rgba(255, 211, 106, 0.34) 19px 21px);
  opacity: 0.58;
}

.hero-inner {
  width: min(100%, 840px);
  max-width: 840px;
  padding: 0;
}

.hero .eyebrow {
  color: #fff8ef;
  font-size: 17px;
}

.hero h1 {
  max-width: 780px;
  margin: 10px 0 18px;
  color: var(--ink);
  font-size: clamp(58px, 7.6vw, 108px);
  line-height: 0.88;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  color: #fff8ef;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.25;
}

.hero-tags span,
.visual-pill,
.filter,
.category-tabs a,
.library-tabs a,
.card-tags b {
  border-color: var(--clay);
  background: #fff0bd;
  color: var(--ink);
}

.button {
  border-radius: 6px;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button.light,
.button.secondary,
.button.compact {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.page-hero {
  min-height: 520px;
  display: grid;
  align-items: start;
  padding: clamp(54px, 6vw, 92px) clamp(20px, 4vw, 56px);
  background: var(--clay);
  color: #fff8ef;
}

.page-hero .section-inner {
  width: min(100%, var(--max));
}

.page-hero .eyebrow,
.page-hero p:not(.eyebrow) {
  color: #fff8ef;
}

.page-hero h1 {
  max-width: 1100px;
  margin: clamp(28px, 5vw, 64px) 0 24px;
  color: var(--ink);
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.9;
}

.page-hero p:not(.eyebrow) {
  max-width: 900px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
}

body[data-page="events"] .page-hero,
body[data-page="activity"] .page-hero {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(20, 8, 8, 0.96), rgba(20, 8, 8, 0.2)),
    url("/assets/urban-ecosystem.jpg") center / cover no-repeat;
}

body[data-page="events"] .page-hero h1,
body[data-page="activity"] .page-hero h1 {
  color: #fff8ef;
}

body[data-page="events"] .page-hero::before,
body[data-page="events"] .page-hero::after,
body[data-page="activity"] .page-hero::before,
body[data-page="activity"] .page-hero::after {
  display: none;
}

.page-context-band,
.project-band,
.creators-band,
.news-feature-band,
.partners-band,
.media-band {
  background: var(--paper);
}

.page-context-grid article,
.stat-card,
.project-card,
.creator-card,
.partner-card,
.event-row,
.library-card,
.news-sidebar article,
.highlight-row-card {
  border-color: transparent;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.page-context-grid article {
  min-height: 190px;
}

.stats-grid {
  gap: 14px;
}

.stat-card {
  position: relative;
  min-height: 164px;
  justify-items: start;
  padding: 26px 24px;
  border-top: 8px solid var(--clay);
}

.stat-card:nth-child(2) {
  border-color: var(--sun);
}

.stat-card:nth-child(3) {
  border-color: var(--clay-dark);
}

.stat-card:nth-child(4) {
  border-color: #b72b1b;
}

.stat-card:nth-child(5) {
  border-color: var(--sand);
}

.stat-card strong {
  color: var(--clay-dark);
  font-size: clamp(42px, 5vw, 66px);
}

.project-card,
.creator-card,
.news-feature-card,
.news-mini-card {
  border-color: transparent;
  border-radius: 8px;
  background: #fff;
}

.project-card img,
.news-card img,
.news-feature-card img,
.news-mini-card img,
.featured-news-card img,
.content-list-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f3e8da;
}

.news-mini-card a {
  grid-template-columns: minmax(170px, 42%) minmax(0, 1fr);
}

.news-mini-card img {
  min-height: 0;
}

.news-feature-card p,
.news-mini-card p,
.featured-news-card p,
.content-list-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  mask-image: none;
}

.content-list-item {
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.content-list-thumb {
  align-self: start;
  border-radius: 8px;
}

.content-list-item h2 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.02;
}

.featured-news-card a {
  grid-template-columns: minmax(300px, 1.1fr) minmax(0, 0.9fr);
  min-height: 0;
}

.featured-news-card img {
  align-self: center;
}

.event-row {
  border: 0;
  padding: 22px;
}

.event-row time {
  border-color: var(--clay);
  background: #fff;
  color: var(--ink);
}

.event-row time span {
  background: var(--clay);
  color: #fff;
}

.join-band {
  background: var(--sun);
  color: var(--ink);
}

.join-band .eyebrow,
.join-band h2 {
  color: var(--ink);
}

.partners-grid {
  gap: 14px;
}

.partner-card {
  min-height: 220px;
  padding: 20px;
}

.partner-logo {
  height: 112px;
  border: 0;
  background: #fff;
}

.partner-wordmark {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 12px;
  color: var(--ink);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.site-footer {
  padding: clamp(54px, 8vw, 110px) clamp(20px, 4vw, 56px);
  border-top: 0;
  background: var(--paper);
}

.footer-inner {
  grid-template-columns: minmax(220px, 320px) 1fr 1.5fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.footer-inner img {
  width: 260px;
}

.footer-inner strong {
  font-size: 18px;
}

.footer-inner p {
  margin: 4px 0 0;
  font-size: clamp(16px, 1.6vw, 22px);
}

@media (max-width: 1020px) {
  :root {
    --header: 88px;
  }

  .site-header {
    position: sticky;
    padding: 12px 24px;
  }

  .brand img {
    width: 122px;
  }

  .main-nav {
    top: calc(var(--header) + 8px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
  }

  .main-nav .nav-home {
    display: flex;
  }

  .news-feature-layout,
  .news-list-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  :root {
    --header: 78px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding: 8px 16px;
  }

  .brand img {
    width: 106px;
    max-height: 62px;
  }

  .hero {
    min-height: 600px;
    padding: 56px 20px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero::before {
    right: -65%;
    width: 130vw;
    opacity: 0.45;
  }

  .hero-tags {
    gap: 6px;
  }

  .page-hero {
    min-height: 410px;
    padding: 44px 20px;
  }

  body[data-page="about"] .page-hero,
  body[data-page="highlights"] .page-hero,
  body[data-page="workshops"] .page-hero,
  body[data-page="projects"] .page-hero,
  body[data-page="creators"] .page-hero,
  body[data-page="content-list"] .page-hero,
  body[data-page="media"] .page-hero,
  body[data-page="partners"] .page-hero {
    min-height: 410px;
  }

  body[data-page="events"] .page-hero,
  body[data-page="activity"] .page-hero {
    min-height: 410px;
  }

  body[data-page="about"] .page-hero h1,
  body[data-page="highlights"] .page-hero h1,
  body[data-page="workshops"] .page-hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .page-hero h1 {
    margin-top: 28px;
    font-size: clamp(48px, 15vw, 70px);
    overflow-wrap: normal;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 19px;
  }

  .news-side-list {
    gap: 12px;
  }

  .news-mini-card a,
  .content-list-item,
  .featured-news-card a {
    grid-template-columns: 1fr;
  }

  .news-mini-card img,
  .content-list-thumb img,
  .featured-news-card img {
    aspect-ratio: 16 / 9;
  }

  .news-sidebar {
    grid-template-columns: 1fr;
  }

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

  .stat-card {
    min-height: 132px;
    padding: 18px 16px;
  }

  .stat-card strong {
    font-size: 42px;
  }

  .creator-slider,
  .media-carousel {
    grid-auto-columns: minmax(260px, 88%);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-inner img {
    width: 210px;
  }
}

@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .event-row {
    padding: 16px;
  }
}

/* HFCD 2026 typography and responsive layout corrections — 2026-07-30. */
@font-face {
  font-family: "HFCD Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/roboto-condensed-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
    U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309,
    U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "HFCD Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/roboto-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body,
button,
input,
select,
textarea {
  font-family: "HFCD Roboto Condensed", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
.activity-panel-title,
.stat-card strong,
.partner-wordmark {
  font-family: "HFCD Roboto Condensed", Arial, Helvetica, sans-serif;
  font-stretch: normal;
  letter-spacing: -0.02em;
  text-rendering: optimizeLegibility;
}

h1,
h2,
.page-hero h1,
.hero h1 {
  line-height: 0.96;
}

.hero {
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  z-index: -1;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background:
    url("/assets/hfcd-hero-pattern.png") right center / auto 100% no-repeat,
    var(--clay);
  background-blend-mode: multiply;
  mix-blend-mode: multiply;
  opacity: 0.52;
  transform: none;
}

.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.map-band {
  background: var(--paper);
}

.map-demo {
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background: var(--sun);
}

.map-canvas {
  border-color: rgba(118, 3, 0, 0.18);
  background:
    linear-gradient(90deg, rgba(118, 3, 0, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(118, 3, 0, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 68% 44%, rgba(255, 248, 239, 0.86) 0 13%, transparent 13.2%),
    linear-gradient(28deg, rgba(255, 105, 70, 0.12) 0 23%, transparent 23.2% 100%),
    linear-gradient(118deg, transparent 0 55%, rgba(206, 167, 129, 0.26) 55.2% 100%),
    #ffd36a;
  background-size: 48px 48px, 48px 48px, auto, auto, auto, auto;
}

.map-sidebar,
.map-guide-card,
.map-legend-panel {
  background: #ffe7a6;
}

.news-feature-layout {
  align-items: start;
}

.news-side-list {
  grid-template-rows: repeat(2, auto);
  align-content: start;
}

.news-mini-card,
.news-mini-card a {
  height: auto;
}

.news-mini-card a {
  grid-template-columns: minmax(150px, 40%) minmax(0, 1fr);
  align-items: start;
}

.news-mini-card .news-mini-copy {
  display: block;
  padding: 16px;
}

.news-mini-card .news-mini-summary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 16px 16px;
}

.project-card img,
.news-card img,
.news-feature-card img,
.news-mini-card img,
.featured-news-card img,
.content-list-thumb img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.news-mini-card img {
  min-height: 0;
  height: auto;
}

.news-feature-card p,
.news-mini-card p,
.featured-news-card p,
.content-list-item p {
  display: block;
  max-height: 4.15em;
  overflow: hidden;
  -webkit-line-clamp: unset;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}

.event-row time {
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--clay);
}

.event-row time strong {
  padding-top: 10px;
  font-size: 32px;
}

.event-row time span {
  width: 100%;
  padding: 6px 4px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.explore-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
}

.explore-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.explore-list {
  gap: 10px;
}

.explore-list article {
  min-height: 0;
  padding: 20px;
  background: #fff;
}

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

.partner-card {
  min-height: 198px;
  gap: 8px;
  padding: 14px;
}

.partner-logo {
  height: 122px;
  padding: 2px;
}

.partner-logo img {
  width: 100%;
  max-width: 250px;
  max-height: 110px;
  object-fit: contain;
}

.partner-wordmark {
  min-height: 112px;
  padding: 8px;
  font-size: clamp(22px, 2.2vw, 32px);
}

@media (min-width: 1021px) {
  .project-band .section-heading.split,
  .creators-band .section-heading.split,
  .media-band .section-heading.split {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .section-heading h2 {
    max-width: none;
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1;
  }

  #project-title {
    max-width: 980px;
  }

  #creators-title,
  #media-title,
  #partners-title {
    white-space: nowrap;
  }

  #creators-title,
  #media-title {
    font-size: clamp(34px, 3.15vw, 48px);
  }

  #partners-title {
    font-size: clamp(31px, 2.8vw, 42px);
  }

  #explore-title {
    max-width: 760px;
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1;
  }
}

/* About hero follows the Projects hero surface and vertical rhythm. */
body[data-page="about"] .page-hero {
  align-items: start;
  background: var(--clay);
  color: #fff8ef;
}

@media (min-width: 761px) {
  body[data-page="about"] .page-hero {
    min-height: 520px;
  }
}

@media (max-width: 1020px) {
  .hero::before {
    right: 0;
    width: 100%;
    opacity: 0.44;
  }

  .map-demo {
    grid-template-columns: 1fr;
  }

  .map-fullscreen-button {
    right: 24px;
  }

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

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

@media (max-width: 760px) {
  .hero {
    min-height: 560px;
  }

  .hero::before {
    right: -34%;
    width: 134%;
    background-size: auto 88%;
    opacity: 0.34;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 66px);
    line-height: 0.94;
  }

  .section-heading h2,
  #explore-title {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1;
  }

  .news-mini-card a {
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .news-mini-card .news-mini-copy {
    display: block;
    padding: 14px;
  }

  .news-mini-card h3 {
    font-size: 18px;
  }

  .content-list-item,
  .featured-news-card a {
    grid-template-columns: 1fr;
  }

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

  .partner-card {
    min-height: 180px;
  }
}

@media (max-width: 480px) {
  .news-mini-card a {
    grid-template-columns: 1fr;
  }
}

/* Hanoi Grotesk content type and full-copy corrections — 2026-07-31. */
@font-face {
  font-family: "Hanoi Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/hanoi-grotesk-regular.otf") format("opentype");
}

@font-face {
  font-family: "Hanoi Grotesk";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("/assets/fonts/hanoi-grotesk-medium.otf") format("opentype");
}

@font-face {
  font-family: "Hanoi Grotesk Medium";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/hanoi-grotesk-medium.otf") format("opentype");
}

@font-face {
  font-family: "HFCD Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/hfcd-display-vf.ttf") format("truetype");
}

/* Only the final part of the final visible line fades when a news summary overflows. */
.news-feature-card p,
.news-mini-card p,
.featured-news-card p,
.content-list-item p {
  position: relative;
  display: block;
  max-height: 4.2em;
  overflow: hidden;
  -webkit-line-clamp: unset;
  -webkit-mask-image: none;
  mask-image: none;
}

.news-feature-card p,
.news-mini-card p,
.featured-news-card p {
  --summary-fade-bg: #ffffff;
}

.content-list-item p {
  --summary-fade-bg: var(--paper);
}

[data-fade-summary].is-truncated::after {
  content: none;
}

.summary-fade-tail {
  display: inline;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 100%);
}

/* Keep the faded words typographically identical to their summary.
   This must override the metadata rule applied to generic card spans. */
[data-fade-summary] > .summary-fade-tail {
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-transform: inherit;
}

body[data-page="events"] .page-context-grid,
body[data-page="workshops"] .page-context-grid,
body[data-page="projects"] .page-context-grid,
body[data-page="creators"] .creator-row,
body[data-page="events"] .event-row > div,
body[data-page="workshops"] .event-row > div,
body[data-page="projects"] .project-card > a > div,
body[data-page="creators"] .creator-card > a > div {
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
}

body[data-page="events"] .page-context-grid p,
body[data-page="workshops"] .page-context-grid p,
body[data-page="projects"] .page-context-grid p,
body[data-page="events"] .event-row p,
body[data-page="workshops"] .event-row p,
body[data-page="projects"] .project-card p,
body[data-page="creators"] .creator-card p {
  display: block;
  max-height: none;
  overflow: visible;
  color: var(--ink);
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
  -webkit-mask-image: none;
  mask-image: none;
}

body[data-page="events"] .event-row h3,
body[data-page="workshops"] .event-row h3,
body[data-page="projects"] .project-card h3,
body[data-page="creators"] .creator-card h3 {
  display: block;
  max-height: none;
  overflow: visible;
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 1.22;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

body[data-page="events"] .event-row > div > span,
body[data-page="workshops"] .event-row > div > span,
body[data-page="events"] .event-meta-line small,
body[data-page="workshops"] .event-meta-line small,
body[data-page="projects"] .project-card > a > div > span,
body[data-page="projects"] .project-card small {
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

body[data-page="creators"] .creator-card .creator-role {
  margin-bottom: 10px;
  color: var(--clay-dark);
  font-weight: 500;
}

body[data-page="creators"] .creator-card h3 {
  margin-bottom: 10px;
}

body[data-page="creators"] .page-hero h1 {
  max-width: 1100px;
  font-size: clamp(58px, 7.4vw, 104px);
}

body[data-page="creators"] .page-hero h1 span {
  display: block;
  white-space: nowrap;
}

body[data-page="creators"] .page-hero p:not(.eyebrow) {
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 20px;
}

@media (max-width: 760px) {
  body[data-page="events"] .event-row p,
  body[data-page="workshops"] .event-row p,
  body[data-page="projects"] .project-card p,
  body[data-page="creators"] .creator-card p,
  body[data-page="events"] .page-context-grid p,
  body[data-page="workshops"] .page-context-grid p,
  body[data-page="projects"] .page-context-grid p {
    font-size: 20px;
  }

  body[data-page="creators"] .page-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }
}

/* HFCD display, navigation and homepage refinements — 2026-07-31. */
h1,
h2,
.hero h1,
.page-hero h1,
.section-heading h2,
.article-header h1 {
  font-family: "HFCD Display", "HFCD Roboto Condensed", Arial, Helvetica, sans-serif;
  font-stretch: normal;
  text-rendering: optimizeLegibility;
}

body .eyebrow.eyebrow {
  font-family: "Hanoi Grotesk Medium", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.main-nav .nav-home {
  display: inline-flex;
  flex: 0 0 40px;
  width: 40px;
  padding: 0;
}

.hero {
  background: #fc6b3e;
}

.hero::before {
  z-index: 0;
  top: 0;
  right: 0;
  width: min(58vw, 760px);
  height: 100%;
  border-radius: 0;
  background-image: var(--hero-pattern-image, url("/assets/hfcd-hero-pattern-2026.png"));
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
  background-blend-mode: normal;
  mix-blend-mode: normal;
  opacity: 1;
  transform: none;
}

.map-canvas.has-configured-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-inner {
  z-index: 1;
}

.news-feature-layout {
  align-items: stretch;
}

.news-side-list {
  height: 100%;
  grid-template-rows: auto auto;
  align-content: space-between;
}

.news-mini-card img {
  margin-top: 20px;
}

.map-sidebar,
.map-guide-card,
.map-legend-panel {
  color: #660205;
  font-family: "Hanoi Grotesk Medium", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.map-guide-card h3 {
  color: #660205;
  font-family: "Hanoi Grotesk Medium", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.map-guide-badge {
  color: #660205;
  font-family: "Hanoi Grotesk Medium", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

.map-steps strong,
.map-steps span,
.map-legend-panel summary,
.map-legend span {
  color: #660205;
  font-family: "Hanoi Grotesk Medium", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

@media (max-width: 1020px) {
  .news-side-list {
    height: auto;
    align-content: start;
  }
}

@media (max-width: 760px) {
  .hero::before {
    right: -34%;
    width: 134%;
    background-size: auto 88%;
    opacity: 0.72;
  }

  body .eyebrow.eyebrow {
    font-size: 24px;
  }
}

/* Figma typography and activity overview refinements — 2026-07-31. */
.main-nav a,
.hero-tags span,
.visual-pill,
body .eyebrow.eyebrow {
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.main-nav {
  gap: 0;
}

.main-nav a {
  padding-right: clamp(6px, 0.65vw, 10px);
  padding-left: clamp(6px, 0.65vw, 10px);
}

.explore-band .eyebrow {
  margin-bottom: clamp(20px, 2vw, 30px);
}

.explore-list article {
  border: 1px solid #fc6b3e;
  background: rgba(254, 212, 99, 0.5);
}

.activity-summary {
  gap: 14px;
}

.activity-summary a,
.activity-summary a.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  align-items: center;
  gap: 12px;
  min-height: 134px;
  padding: 20px 22px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.activity-summary a::before {
  display: none;
}

.activity-summary a::after {
  top: 0;
  right: 0;
  width: 54%;
  height: 12px;
  border-radius: 0 10px 0 0;
  background: var(--activity-color);
  opacity: 1;
}

.activity-summary .activity-summary-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  max-width: none;
}

.activity-summary strong {
  color: #660205;
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.activity-summary .activity-summary-copy > span {
  max-width: 12ch;
  color: #660205;
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.12;
}

.activity-summary-icon {
  display: block;
  width: 76px;
  height: 76px;
  justify-self: end;
  object-fit: contain;
}

@media (max-width: 1400px) and (min-width: 901px) {
  .activity-summary a,
  .activity-summary a.active {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 8px;
    padding: 16px 14px;
  }

  .activity-summary-icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 1020px) {
  .main-nav a {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .main-nav a {
    font-size: 20px;
  }
}

/* Hanoi Grotesk global type and four-item homepage news — 2026-07-31. */
html,
body,
button,
input,
select,
textarea {
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
}

h3,
h4,
h5,
h6,
.activity-panel-title,
.stat-card strong,
.partner-wordmark {
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
}

.text-link,
.button.compact,
.button.compact.secondary,
.card-tags b,
.hero-tags span,
.visual-pill,
.filter,
.category-tabs a,
.library-tabs a,
.category-list,
.category-list a {
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.explore-list article {
  border: 0;
  background: #fff8ef;
}

.explore-icon {
  border: 1px solid #fc6b3e;
  background: rgba(254, 212, 99, 0.5);
}

.news-side-list {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-content: stretch;
}

.news-mini-card,
.news-mini-card a {
  height: 100%;
}

.news-mini-card a {
  grid-template-columns: minmax(150px, 40%) minmax(0, 1fr);
  align-items: start;
}

.news-mini-card .news-mini-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 20px 16px 16px;
}

.news-mini-card .news-mini-copy h3,
.news-mini-card .news-mini-copy span {
  margin: 0;
}

.news-mini-card .news-mini-summary {
  grid-column: auto;
  margin: 4px 0 0;
  padding: 0;
}

@media (max-width: 1020px) {
  .news-side-list {
    grid-template-rows: repeat(3, auto);
  }
}

@media (max-width: 480px) {
  .news-mini-card a {
    grid-template-columns: 1fr;
  }

  .news-mini-card img {
    margin-top: 0;
  }
}

/* Library actions, page heroes and activity time contrast — 2026-07-31. */
body[data-page="library"] .resource-actions > .resource-link:first-child,
body[data-page="media"] .resource-actions > .resource-link:first-child {
  border: 1px solid #fc6b3e;
  background: rgba(254, 212, 99, 0.5);
  color: #660205;
}

body[data-page="library"] .resource-actions > .resource-link:first-child:hover,
body[data-page="library"] .resource-actions > .resource-link:first-child:focus-visible,
body[data-page="media"] .resource-actions > .resource-link:first-child:hover,
body[data-page="media"] .resource-actions > .resource-link:first-child:focus-visible {
  background: rgba(254, 212, 99, 0.72);
  color: #660205;
}

body[data-page="activity"] .page-hero,
body[data-page="events"] .page-hero {
  display: grid;
  min-height: clamp(520px, 49vw, 710px);
  border: 0;
  color: #fff8ef;
}

body[data-page="activity"] .page-hero {
  background:
    linear-gradient(90deg, rgba(121, 10, 10, 0.28) 0%, rgba(121, 10, 10, 0.1) 46%, transparent 72%),
    url("/assets/activity-hero-2026.png") center / cover no-repeat;
}

body[data-page="events"] .page-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 58%, transparent 82%),
    url("/assets/events-hero-2026.png") center / cover no-repeat,
    #000000;
}

body[data-page="activity"] .page-hero .section-inner,
body[data-page="events"] .page-hero .section-inner {
  display: grid;
  align-content: center;
  width: min(100%, 1440px);
  min-height: inherit;
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(64px, 7vw, 104px);
}

body[data-page="activity"] .page-hero .eyebrow,
body[data-page="activity"] .page-hero h1,
body[data-page="activity"] .page-hero p:not(.eyebrow),
body[data-page="events"] .page-hero .eyebrow,
body[data-page="events"] .page-hero h1,
body[data-page="events"] .page-hero p:not(.eyebrow) {
  color: #fff8ef;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.14);
}

body[data-page="activity"] .page-hero h1,
body[data-page="events"] .page-hero h1 {
  max-width: 900px;
  margin: clamp(32px, 4.5vw, 58px) 0 28px;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.88;
}

body[data-page="events"] .page-hero h1 {
  max-width: 540px;
}

body[data-page="events"] .page-hero p:not(.eyebrow) {
  max-width: 680px;
}

body[data-page="activity"] .page-hero p:not(.eyebrow),
body[data-page="events"] .page-hero p:not(.eyebrow) {
  max-width: 780px;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.18;
}

body[data-page="activity"] .activity-slots > span {
  border: 1px solid #fc6b3e;
  border-radius: 10px;
  background: rgba(254, 212, 99, 0.5);
  color: #660205;
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}

body[data-page="activity"] .activity-slots > span > span {
  color: inherit;
  font-family: inherit;
  font-weight: 500;
}

@media (max-width: 760px) {
  body[data-page="activity"] .page-hero,
  body[data-page="events"] .page-hero {
    min-height: 520px;
    background-position: 62% center;
  }

  body[data-page="events"] .page-hero {
    background-position: 58% center;
  }

  body[data-page="activity"] .page-hero .section-inner,
  body[data-page="events"] .page-hero .section-inner {
    align-content: end;
    padding-top: 64px;
    padding-bottom: 54px;
  }

  body[data-page="activity"] .page-hero h1,
  body[data-page="events"] .page-hero h1 {
    margin: 24px 0 18px;
    font-size: clamp(58px, 18vw, 86px);
  }

  body[data-page="activity"] .page-hero p:not(.eyebrow),
  body[data-page="events"] .page-hero p:not(.eyebrow) {
    max-width: 22ch;
    font-size: 22px;
  }
}

/* Final cascade: Figma orange heroes and activity category time colors. */
body[data-page="about"] .page-hero h1,
body[data-page="activity"] .page-hero h1,
body[data-page="events"] .page-hero h1,
body[data-page="workshops"] .page-hero h1,
body[data-page="projects"] .page-hero h1,
body[data-page="creators"] .page-hero h1,
body[data-page="content-list"] .page-hero h1,
body[data-page="media"] .page-hero h1,
body[data-page="highlights"] .page-hero h1,
body[data-page="companion"] .page-hero h1,
body[data-page="partners"] .page-hero h1 {
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

body[data-page="highlights"] .page-hero,
body[data-page="workshops"] .page-hero {
  display: grid;
  min-height: clamp(500px, 48vw, 620px);
  padding: 0;
  background: #fc6b3e;
  color: #fff8ef;
}

body[data-page="highlights"] .page-hero::before,
body[data-page="highlights"] .page-hero::after,
body[data-page="workshops"] .page-hero::before,
body[data-page="workshops"] .page-hero::after {
  display: none;
}

body[data-page="highlights"] .page-hero .section-inner,
body[data-page="workshops"] .page-hero .section-inner {
  display: grid;
  align-content: start;
  box-sizing: border-box;
  width: min(100%, 1440px);
  min-height: inherit;
  margin-inline: auto;
  padding: clamp(52px, 4.7vw, 68px) clamp(28px, 5vw, 72px) clamp(54px, 6vw, 88px);
}

body[data-page="highlights"] .page-hero .eyebrow,
body[data-page="highlights"] .page-hero p:not(.eyebrow),
body[data-page="workshops"] .page-hero .eyebrow,
body[data-page="workshops"] .page-hero p:not(.eyebrow) {
  color: #fff8ef;
}

body[data-page="highlights"] .page-hero h1,
body[data-page="workshops"] .page-hero h1 {
  max-width: 1100px;
  margin: clamp(34px, 3.5vw, 52px) 0 30px;
  color: #660205;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.92;
}

body[data-page="highlights"] .page-hero h1 span,
body[data-page="workshops"] .page-hero h1 span {
  display: block;
}

body[data-page="highlights"] .page-hero p:not(.eyebrow),
body[data-page="workshops"] .page-hero p:not(.eyebrow) {
  max-width: 1080px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.18;
}

body[data-page="activity"] .activity-schedule-card time {
  border-color: color-mix(in srgb, var(--activity-color, #fc6b3e) 72%, #660205);
}

body[data-page="activity"] .activity-schedule-card time span {
  background: color-mix(in srgb, var(--activity-color, #fc6b3e) 32%, #ffffff);
  color: color-mix(in srgb, var(--activity-color, #fc6b3e) 58%, #330103);
}

body[data-page="activity"] .activity-schedule-card time strong {
  background: color-mix(in srgb, var(--activity-color, #fc6b3e) 8%, #ffffff);
  color: color-mix(in srgb, var(--activity-color, #fc6b3e) 62%, #330103);
}

body[data-page="activity"] .activity-slots > span {
  border-color: color-mix(in srgb, var(--activity-color, #fc6b3e) 72%, #660205);
  background: color-mix(in srgb, var(--activity-color, #fc6b3e) 28%, #ffffff);
  color: color-mix(in srgb, var(--activity-color, #fc6b3e) 58%, #330103);
}

@media (max-width: 760px) {
  body[data-page="highlights"] .page-hero,
  body[data-page="workshops"] .page-hero {
    min-height: 480px;
  }

  body[data-page="highlights"] .page-hero .section-inner,
  body[data-page="workshops"] .page-hero .section-inner {
    padding: 54px 24px;
  }

  body[data-page="highlights"] .page-hero h1,
  body[data-page="workshops"] .page-hero h1 {
    margin: 28px 0 24px;
    font-size: clamp(44px, 12vw, 60px);
    line-height: 0.96;
  }

  body[data-page="highlights"] .page-hero p:not(.eyebrow),
  body[data-page="workshops"] .page-hero p:not(.eyebrow) {
    font-size: 22px;
  }
}

@media (max-width: 760px) {
  body[data-page="about"] .page-hero h1,
  body[data-page="activity"] .page-hero h1,
  body[data-page="events"] .page-hero h1,
  body[data-page="workshops"] .page-hero h1,
  body[data-page="projects"] .page-hero h1,
  body[data-page="creators"] .page-hero h1,
  body[data-page="content-list"] .page-hero h1,
  body[data-page="media"] .page-hero h1,
  body[data-page="highlights"] .page-hero h1,
  body[data-page="companion"] .page-hero h1,
  body[data-page="partners"] .page-hero h1 {
    font-size: clamp(44px, 12vw, 60px);
    line-height: 0.96;
  }
}

body[data-page="activity"] .activity-schedule-main h3 {
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.14;
}

/* Homepage Media wall: readable Hanoi Grotesk titles on photography. */
.media-wall-v2 .media-overlay {
  background:
    linear-gradient(
      0deg,
      rgba(18, 14, 13, 0.94) 0%,
      rgba(18, 14, 13, 0.76) 42%,
      rgba(18, 14, 13, 0.18) 78%,
      transparent 100%
    );
}

.media-wall-v2 .media-overlay h3,
.featured-media-wide .media-overlay h3 {
  color: #fff8ef;
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.media-wall-v2 .media-overlay p,
.media-wall-v2 .media-overlay small {
  color: rgba(255, 248, 239, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* Homepage news, activity typography and fixed photographic heroes — 2026-07-31. */
.news-feature-card h3,
.news-mini-card h3 {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.news-mini-card a {
  grid-template-columns: minmax(150px, 40%) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: start;
  height: 100%;
}

.news-mini-card img {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 20px;
}

.news-mini-card .news-mini-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.news-mini-card .news-mini-summary {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  padding: 12px 20px 18px;
}

body[data-page="activity"] .activity-schedule-main h3 {
  font-size: 24px;
}

body[data-page="partners"] .partner-group-heading span {
  font-size: 20px;
}

body[data-page="activity"] .page-hero,
body[data-page="events"] .page-hero {
  height: 620px;
  min-height: 620px;
  max-height: 620px;
  background-position: center center;
  background-size: cover;
}

body[data-page="activity"] .page-hero .section-inner,
body[data-page="events"] .page-hero .section-inner {
  height: 100%;
  min-height: 0;
}

@media (max-width: 760px) {
  .news-mini-card a {
    grid-template-columns: minmax(128px, 40%) minmax(0, 1fr);
  }

  .news-mini-card img {
    margin-top: 16px;
  }

  .news-mini-card .news-mini-summary {
    padding: 10px 16px 16px;
  }

  body[data-page="activity"] .page-hero,
  body[data-page="events"] .page-hero {
    height: 520px;
    min-height: 520px;
    max-height: 520px;
    background-position: center center;
  }
}

@media (max-width: 480px) {
  .news-mini-card a {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .news-mini-card img,
  .news-mini-card .news-mini-copy,
  .news-mini-card .news-mini-summary {
    grid-column: 1;
  }

  .news-mini-card img {
    grid-row: 1;
    margin-top: 0;
  }

  .news-mini-card .news-mini-copy {
    grid-row: 2;
  }

  .news-mini-card .news-mini-summary {
    grid-row: 3;
  }
}

/* Partners hero: intentional two-line desktop heading. */
body[data-page="partners"] .page-hero h1 span {
  display: block;
}

@media (min-width: 761px) {
  body[data-page="partners"] .page-hero h1 {
    max-width: none;
    font-size: clamp(50px, 5vw, 76px);
  }

  body[data-page="partners"] .page-hero h1 span:first-child {
    white-space: nowrap;
  }
}

@media (min-width: 1021px) {
  body[data-page="home"] main > .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .news-mini-card h3 {
    font-size: 16px;
    line-height: 1.25;
  }

  .news-mini-card .news-mini-summary {
    max-height: calc(5.2em + 30px);
    line-height: 1.3;
  }

  .news-mini-card .news-mini-summary.is-truncated::after {
    content: none;
  }
}

/* Mobile navigation and event-card space optimizations — 2026-07-31. */
@media (max-width: 760px) {
  .main-nav.open .nav-home {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    justify-content: center;
  }

  body[data-page="events"] .event-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    align-items: center;
    padding: 16px;
  }

  body[data-page="events"] .event-row > time {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    width: max-content;
    min-height: 0;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    overflow: visible;
    border-radius: 7px;
    background: rgba(254, 212, 99, 0.5);
  }

  body[data-page="events"] .event-row > time strong {
    padding: 0;
    color: var(--ink);
    font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  }

  body[data-page="events"] .event-row > time span {
    width: auto;
    padding: 0;
    background: transparent;
    color: var(--ink);
    font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
  }

  body[data-page="events"] .event-row > div {
    display: contents;
  }

  body[data-page="events"] .event-row > div > span {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 16px;
  }

  body[data-page="events"] .event-row h3,
  body[data-page="events"] .event-row p,
  body[data-page="events"] .event-row .event-meta-line,
  body[data-page="events"] .event-row .card-tags {
    grid-column: 1 / -1;
  }

  body[data-page="events"] .event-row h3 {
    grid-row: 2;
    margin: 2px 0 0;
    font-size: 24px;
  }

  body[data-page="events"] .event-row p {
    grid-row: 3;
    margin: 0;
  }

  body[data-page="events"] .event-row .event-meta-line {
    grid-row: 4;
    margin: 2px 0 0;
  }

  body[data-page="events"] .event-row .card-tags {
    grid-row: 5;
  }

  body[data-page="events"] .event-row > .button {
    grid-column: 1 / -1;
    grid-row: 6;
    justify-self: start;
    margin-top: 2px;
  }
}

/* Give the two-column mobile menu a firmer, less crowded rhythm. */
@media (max-width: 760px) {
  .main-nav.open {
    gap: 10px;
    padding: 16px;
    border-radius: 10px;
  }

  .main-nav.open > a {
    min-height: 54px;
    padding: 8px 14px;
    border-radius: 8px;
  }
}

/* Keep the homepage Festival Highlights compact on every mobile width. */
@media (max-width: 760px) {
  body[data-page="home"] .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-page="home"] .stat-card {
    min-width: 0;
    min-height: 132px;
    padding: 16px 14px;
  }

  body[data-page="home"] .stat-card span:last-child {
    max-width: 100%;
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
}

/* Desktop news heading scale. */
@media (min-width: 1021px) {
  body[data-page="home"] .news-feature-card h3 {
    font-size: 31px;
  }

  body[data-page="content-list"] .content-list-item h2 {
    font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
    font-size: 24px;
  }

  body[data-page="content-list"] .featured-news-card h2 {
    font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
    font-size: 26px;
  }

  body[data-page="content-detail"] .article-header h1 {
    font-size: 31px;
  }
}

.article-header h1 {
  font-family: "Hanoi Grotesk", Arial, Helvetica, sans-serif;
}

/* Library titles and compact actions remain fully readable. */
body[data-page="media"] .library-card h3,
body[data-page="library"] .library-card h3 {
  display: block;
  margin: 8px 0;
  overflow: visible;
  font-size: 20px;
  line-height: 1.2;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

body[data-page="media"] .resource-actions .button.compact,
body[data-page="library"] .resource-actions .button.compact,
body[data-page="highlights"] .button.compact {
  font-size: 16px;
}
