@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500;700;800;900&family=Noto+Sans+JP:wght@500;600;700;800;900&display=swap");

:root {
  --night: #0c1124;
  --night-deep: #070d1b;
  --night-soft: #121a32;
  --moon: #f1ecd6;
  --lantern: #ffb24a;
  --pine: #6dd6a0;
  --ember: #e8643c;
  --fog: #8b93b4;
  --paper: #e8dcc2;
  --paper-2: #d7c7a5;
  --lantern-deep: #d57722;
  --wood: #2b1b12;
  --wood-light: #4a2c19;
  --gold: #ffc353;
  --ink: #1b130b;
  --purple: #a794ff;
  --wood-dark: #160d08;
  --radius-card: 18px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shadow-paper: 0 14px 34px rgba(0, 0, 0, 0.26);
  --display-font: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --handwriting: var(--display-font);
  --body-font: "Noto Sans JP", system-ui, sans-serif;
  color-scheme: dark;
  font-family: var(--body-font);
  font-weight: 500;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* About page */
.aboutPage {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 178, 74, 0.055), transparent 25%),
    linear-gradient(145deg, #07101f 0%, #0a1324 48%, #080e1b 100%);
  box-shadow: 0 -28px 72px 46px rgba(8, 20, 38, 0.92);
  scroll-margin-top: 0;
}

.aboutMain {
  position: relative;
  width: min(100% - 48px, 1380px);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 82px) 0 36px;
}

.aboutMain::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 178, 74, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.aboutTop {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.aboutIntro {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 0;
  padding: 12px 0;
}

.sectionLabel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 34px;
  color: var(--lantern);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.25em;
}

.sectionLabel::before {
  width: 42px;
  height: 2px;
  background: var(--lantern);
  content: "";
}

.aboutIntro h1 {
  margin: 0 0 42px;
  color: #f3e4ca;
  font-family: var(--handwriting);
  font-size: clamp(34px, 3.55vw, 54px);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.45;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.aboutLead {
  margin: 0;
  color: rgba(241, 236, 214, 0.88);
  font-size: 18px;
  font-weight: 500;
  line-height: 2.05;
}

.noticeBoard {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  min-width: 0;
  justify-self: end;
  padding: 36px 28px 28px;
  border: 1px solid rgba(255, 178, 74, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent),
    repeating-linear-gradient(90deg, var(--wood) 0, var(--wood) 32px, var(--wood-light) 33px, var(--wood) 64px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.noticeBoard::before {
  position: absolute;
  top: -22px;
  right: 16px;
  left: 16px;
  height: 30px;
  border: 1px solid rgba(255, 178, 74, 0.12);
  border-radius: 6px 6px 0 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(90deg, #281911 0, #3a2417 62px, #24150e 64px);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.42);
  content: "";
}

.boardHeaderPaper,
.promisePaper {
  border: 1px solid rgba(77, 55, 31, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 42%),
    var(--paper);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  color: #17110b;
}

.boardHeaderPaper {
  margin-bottom: 28px;
  padding: 24px clamp(18px, 3vw, 34px);
  text-align: center;
  transform: rotate(-0.6deg);
}

.boardHeaderPaper h2 {
  margin: 0 0 12px;
  font-family: var(--handwriting);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.boardHeaderPaper p {
  margin: 6px 0 0;
  font-weight: 700;
}

.promiseCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 18px);
}

.promisePaper {
  position: relative;
  min-width: 0;
  min-height: 225px;
  padding: 30px 18px 22px;
  text-align: center;
}

.promisePaper:nth-child(1) { transform: rotate(-1.2deg); }
.promisePaper:nth-child(2) { transform: rotate(0.7deg); }
.promisePaper:nth-child(3) { transform: rotate(-0.4deg); }

.paperPin {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--lantern-deep);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.promiseIcon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0 auto 18px;
  border: 0;
  border-radius: 0;
  color: var(--lantern-deep);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.promiseIcon.flat { color: #5f8d54; }
.promiseIcon.peer { color: var(--lantern-deep); }
.promiseIcon.ctf { color: #7461a8; }

.promisePaper h3 {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 10px;
}

.promisePaper p {
  margin: 22px 0 0;
  font-weight: 600;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.7;
}

.hackNote {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 12px 13px;
  background: #cdbb98;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
  color: #1c140e;
  font-family: var(--handwriting);
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  transform: rotate(3deg);
}

.aboutPage .joinPanel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  width: min(100%, 980px);
  margin: 48px auto 0;
  padding: 34px 52px;
  border: 2px solid rgba(116, 77, 43, 0.72);
  border-radius: 2px;
  background:
    radial-gradient(circle at 90% 50%, rgba(255, 178, 74, 0.07), transparent 24%),
    rgba(5, 10, 22, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  animation: panel-glow 5s ease-in-out infinite;
}

.aboutPage .joinPanel::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(241, 236, 214, 0.06);
  content: "";
  pointer-events: none;
}

.joinLeft,
.joinRight {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 28px;
}

.joinRight {
  padding-left: 44px;
  border-left: 1px solid rgba(241, 236, 214, 0.18);
}

.aboutPage .joinPanel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.aboutPage .joinPanel p {
  margin: 0;
  color: rgba(241, 236, 214, 0.84);
  line-height: 1.85;
}

.lockIcon,
.lanternIcon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(255, 178, 74, 0.42);
  background: rgba(255, 178, 74, 0.08);
}

.lockIcon {
  border-radius: 4px;
  box-shadow: 0 0 28px rgba(255, 178, 74, 0.14);
}

.lanternIcon {
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(255, 178, 74, 0.24);
}

.lockIcon span,
.lanternIcon span {
  color: var(--lantern);
  font-size: 38px;
  text-shadow: 0 0 15px rgba(255, 178, 74, 0.64);
}

.ctfButton {
  display: inline-flex;
  min-width: 230px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 14px 26px;
  border-radius: 8px;
  background: var(--lantern);
  color: #1b1006;
  font-weight: 900;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.ctfButton:hover {
  box-shadow: 0 12px 28px rgba(255, 178, 74, 0.2);
  transform: translateY(-1px);
}

.aboutNote {
  position: relative;
  z-index: 2;
  margin: 20px 0 0;
  color: var(--fog);
  font-size: 15px;
  text-align: center;
}

@media (max-width: 900px) {
  .aboutTop {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .aboutIntro {
    width: 100%;
    max-width: 680px;
    min-height: 0;
  }

  .noticeBoard {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    margin-top: 0;
  }

  .aboutPage .joinPanel {
    width: 100%;
    margin: 48px 0 0;
  }

}

@media (max-width: 760px) {
  .aboutMain {
    width: min(100% - 32px, 1380px);
    padding: 42px 0 28px;
  }

  .aboutTop {
    gap: 46px;
  }

  .aboutIntro h1 {
    font-size: 38px;
  }

  .aboutLead {
    font-size: 15px;
  }

  .noticeBoard {
    padding: 34px 16px 24px;
  }

  .boardHeaderPaper {
    padding: 22px;
  }

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

  .promisePaper {
    transform: none !important;
  }

  .aboutPage .joinPanel {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .joinLeft,
  .joinRight {
    grid-template-columns: 1fr;
  }

  .joinRight {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid rgba(241, 236, 214, 0.18);
    border-left: 0;
  }

  .ctfButton {
    width: 100%;
    min-width: 0;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--night);
  color: var(--moon);
  font-family: var(--body-font);
  font-weight: 500;
  overflow-x: clip;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night) url("/assets/homepage.bp.png") 62% calc(var(--header-height, 88px) - 12px) / cover no-repeat;
}

.hero::after {
  content: none;
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 29, 0.96) 0%, rgba(5, 14, 29, 0.78) 28%, rgba(5, 14, 29, 0.16) 48%, transparent 72%),
    linear-gradient(180deg, rgba(2, 9, 20, 0.06), transparent 30%, rgba(7, 16, 31, 0.2) 86%, rgba(7, 16, 31, 0.68) 100%);
  content: "";
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 3.4vw, 58px);
  border-bottom: 1px solid rgba(255, 247, 223, 0.12);
  background: rgba(2, 12, 22, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
}

.brand__image {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  background: #f4ecd9;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 247, 223, 0.15);
  object-fit: cover;
}

.brand__name {
  color: #f4ead6;
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 70px);
}

.site-nav__link {
  position: relative;
  padding: 14px 0;
  font-family: var(--body-font);
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-nav__link:not(.site-nav__link--cta)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--lantern);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav__link:not(.site-nav__link--cta):hover::after,
.site-nav__link:not(.site-nav__link--cta):focus-visible::after,
.site-nav__link--active::after {
  transform: scaleX(1);
}

.site-nav__link--active {
  color: var(--lantern);
}

.site-nav__link--cta {
  min-width: 158px;
  padding: 12px 22px;
  border: 1px solid #ffad35;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 177, 61, 0.24), rgba(107, 45, 14, 0.48));
  box-shadow:
    inset 0 0 20px rgba(255, 207, 125, 0.1),
    0 0 12px rgba(255, 145, 24, 0.32),
    0 0 28px rgba(255, 145, 24, 0.12);
  color: #ffd184;
  text-align: center;
  text-shadow: 0 0 9px rgba(255, 201, 112, 0.42);
  animation: nav-cta-glow 3.2s ease-in-out infinite;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav__link--cta:hover,
.site-nav__link--cta:focus-visible {
  border-color: #ffd078;
  box-shadow:
    inset 0 0 24px rgba(255, 220, 159, 0.15),
    0 0 18px rgba(255, 158, 34, 0.58),
    0 0 40px rgba(255, 145, 24, 0.26);
  color: #fff1c7;
  transform: translateY(-2px);
}

.site-nav__discord {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 247, 223, 0.56);
  border-radius: 50%;
  text-decoration: none;
}

.site-nav__discord span,
.button__icon--discord {
  position: relative;
  width: 28px;
  height: 20px;
  overflow: hidden;
  border-radius: 8px 8px 11px 11px;
  background: currentColor;
  color: transparent;
}

.site-nav__discord span::after,
.button__icon--discord::after {
  position: absolute;
  inset: 7px 6px auto;
  height: 4px;
  border-right: 4px solid var(--night);
  border-left: 4px solid var(--night);
  content: "";
}

.hero__content {
  --hero-content-offset: clamp(38px, 4.5vw, 68px);
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100% - 48px, 1480px);
  min-height: 100svh;
  align-items: center;
  margin-inline: auto;
  padding: calc(88px + clamp(28px, 5vh, 58px)) 0 clamp(92px, 12vh, 124px);
}

.hero__copy {
  position: relative;
  z-index: 4;
  width: min(100%, 650px);
  margin-left: var(--hero-content-offset);
}

.hero__title {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  opacity: 0;
  transform: rotate(-0.6deg);
  animation: hero-reveal 800ms 140ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-logo {
  display: block;
  width: clamp(220px, 24vw, 460px);
  height: auto;
  margin-bottom: 28px;
  filter:
    brightness(0)
    saturate(100%)
    invert(94%)
    sepia(21%)
    saturate(442%)
    hue-rotate(342deg)
    brightness(104%)
    contrast(94%)
    drop-shadow(0 5px 10px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 12px rgba(255, 190, 91, 0.18));
}

.hero__ornament {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  width: min(100%, 420px);
  margin: clamp(14px, 2.8vh, 28px) 0 clamp(10px, 1.8vh, 19px);
  color: var(--gold);
  opacity: 0;
  animation: hero-reveal 750ms 260ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__ornament span {
  height: 2px;
  background: currentColor;
}

.hero__paw {
  position: relative;
  display: block;
  width: 34px;
  height: 31px;
  transform: rotate(-10deg);
  animation: paw-step 3.2s ease-in-out infinite;
}

.hero__paw i,
.hero__paw em {
  position: absolute;
  display: block;
  background: currentColor;
  box-shadow: 0 0 9px rgba(255, 195, 83, 0.48);
}

.hero__paw i {
  width: 8px;
  height: 10px;
  border-radius: 55% 55% 48% 48%;
}

.hero__paw i:nth-child(1) {
  top: 2px;
  left: 2px;
  transform: rotate(-27deg);
}

.hero__paw i:nth-child(2) {
  top: -2px;
  left: 10px;
  transform: rotate(-8deg);
}

.hero__paw i:nth-child(3) {
  top: -1px;
  right: 7px;
  transform: rotate(9deg);
}

.hero__paw i:nth-child(4) {
  top: 4px;
  right: 0;
  transform: rotate(28deg);
}

.hero__paw em {
  right: 6px;
  bottom: 0;
  left: 6px;
  height: 17px;
  border-radius: 55% 55% 48% 48%;
  transform: rotate(2deg);
}

.hero__tagline {
  margin: 0 0 20px;
  font-size: clamp(1.32rem, 2.05vw, 2rem);
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
  opacity: 0;
  white-space: nowrap;
  animation: hero-reveal 750ms 360ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__tagline strong {
  color: var(--lantern);
  font-size: 1.12em;
}

.hero__description {
  margin: 0;
  font-size: clamp(0.92rem, 1.22vw, 1.18rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
  opacity: 0;
  text-shadow: 0 2px 8px #020b13;
  animation: hero-reveal 750ms 460ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__description-line {
  display: block;
}

.hero__actions {
  position: relative;
  z-index: 6;
  display: flex;
  gap: 28px;
  margin-top: clamp(20px, 3vh, 34px);
  opacity: 0;
  isolation: isolate;
  animation: hero-reveal 750ms 570ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.button {
  display: inline-flex;
  min-height: clamp(58px, 7.4vh, 70px);
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: clamp(0.92rem, 1.18vw, 1.08rem);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button--primary {
  position: relative;
  z-index: 7;
  min-width: 270px;
  background: linear-gradient(135deg, #f5a51d, #ff8d11);
  box-shadow: 0 12px 26px rgba(236, 126, 0, 0.22);
  color: #fff;
  animation: primary-button-glow 3.4s ease-in-out infinite;
}

.button--secondary {
  min-width: 230px;
  border-color: #e69b31;
  background: rgba(3, 14, 25, 0.68);
  backdrop-filter: blur(8px);
}

.button__arrow {
  margin-left: auto;
  font-size: 1.7rem;
  font-weight: 400;
}

.button__shield {
  display: grid;
  width: 32px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 45% 45% 55% 55%;
  color: var(--gold);
  font-size: 1.35rem;
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-scene-drift {
  from {
    transform: scale(1.01) translate3d(-0.2%, 0, 0);
  }

  to {
    transform: scale(1.025) translate3d(0.25%, 0, 0);
  }
}

@keyframes about-scene-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035) translate3d(-0.35%, -0.2%, 0);
  }
}

@keyframes ornament-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(255, 195, 83, 0.2));
    opacity: 0.7;
  }

  50% {
    filter: drop-shadow(0 0 9px rgba(255, 195, 83, 0.72));
    opacity: 1;
  }
}

@keyframes paw-step {
  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(255, 195, 83, 0.2));
    opacity: 0.64;
    transform: rotate(-10deg) translate3d(0, -2px, 0) scale(0.94);
  }

  42% {
    filter: drop-shadow(0 0 10px rgba(255, 195, 83, 0.74));
    opacity: 1;
    transform: rotate(-6deg) translate3d(0, 3px, 0) scale(1.05);
  }

  58% {
    transform: rotate(-8deg) translate3d(0, 1px, 0) scale(1);
  }
}

@keyframes primary-button-glow {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(255, 145, 17, 0.45);
  }

  50% {
    box-shadow: 0 0 32px rgba(255, 167, 52, 0.72);
  }
}

@keyframes nav-cta-glow {
  0%,
  100% {
    box-shadow:
      inset 0 0 18px rgba(255, 207, 125, 0.08),
      0 0 10px rgba(255, 145, 24, 0.25),
      0 0 24px rgba(255, 145, 24, 0.1);
  }

  50% {
    box-shadow:
      inset 0 0 22px rgba(255, 220, 159, 0.13),
      0 0 17px rgba(255, 158, 34, 0.48),
      0 0 34px rgba(255, 145, 24, 0.2);
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(-3px);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes panel-glow {
  0%,
  100% {
    border-color: rgba(255, 211, 143, 0.18);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  }

  50% {
    border-color: rgba(255, 190, 93, 0.3);
    box-shadow: 0 18px 54px rgba(225, 135, 45, 0.12);
  }
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(54px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .aboutIntro,
  .noticeBoard,
  .aboutPage .joinPanel {
    animation: section-reveal linear both;
    animation-range: entry 8% cover 38%;
    animation-timeline: view();
  }

  .noticeBoard {
    animation-range: entry 4% cover 32%;
  }

  .aboutPage .joinPanel {
    animation-range: entry 0% cover 28%;
  }
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .hero__content {
    --hero-content-offset: clamp(24px, 4vw, 42px);
  }

  .hero {
    background-position: 66% calc(var(--header-height, 88px) - 12px);
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav__discord {
    display: none;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 14, 25, 0.94) 0%, rgba(3, 14, 25, 0.72) 42%, rgba(3, 14, 25, 0.08) 76%),
      linear-gradient(180deg, rgba(2, 12, 22, 0.14), transparent 32%, rgba(2, 12, 22, 0.22) 68%, rgba(8, 20, 38, 0.68) 94%, #081426 100%);
  }

}

@media (max-width: 900px) {
  .brand__name {
    display: none;
  }

  .site-nav {
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 76px;
    padding-inline: 18px;
  }

  .brand {
    width: auto;
    gap: 0;
  }

  .brand__image {
    width: 52px;
    height: 52px;
  }

  .brand__name {
    display: none;
  }

  .site-nav__link--cta {
    min-width: 0;
    padding: 10px 14px;
  }

  .site-nav {
    margin-left: auto;
  }

  .hero {
    background-position: 76% calc(var(--header-height, 76px) - 10px);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 14, 25, 0.04), rgba(3, 14, 25, 0.18) 46%, rgba(8, 20, 38, 0.44) 84%, #081426 100%),
      linear-gradient(90deg, rgba(3, 14, 25, 0.34), rgba(3, 14, 25, 0.04) 48%, rgba(3, 14, 25, 0.18) 100%);
  }

  .hero__content {
    --hero-content-offset: 8px;
    flex-direction: column;
    justify-content: flex-end;
    width: min(100% - 36px, 1480px);
    min-height: 100svh;
    align-items: stretch;
    padding: 100px 0 max(72px, env(safe-area-inset-bottom));
  }

  .hero__copy {
    width: 100%;
  }

  .hero__title {
    width: clamp(190px, 55vw, 280px);
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-logo {
    opacity: 1;
    filter:
      brightness(0)
      saturate(100%)
      invert(96%)
      sepia(16%)
      saturate(300%)
      hue-rotate(342deg)
      brightness(110%)
      contrast(102%)
      drop-shadow(0 4px 10px rgba(0, 0, 0, 0.72));
  }

  .hero__tagline {
    white-space: normal;
  }

  .hero__actions {
    display: grid;
    gap: 14px;
    opacity: 1;
    animation: none;
  }

  .button,
  .button--primary,
  .button--secondary {
    width: 100%;
    min-width: 0;
  }

  .hero__actions .button {
    min-height: 56px;
    padding-block: 11px;
  }

  .hero__actions .button--primary {
    position: relative;
    z-index: 9;
    border: 1px solid #ffd46f;
    background: #fca605;
    background-image: none;
    box-shadow:
      0 1px 0 rgba(255, 245, 214, 0.24) inset,
      0 10px 22px rgba(205, 106, 0, 0.16);
    color: #fff8e8;
    filter: none;
    animation: none;
  }

  .hero__actions .button--primary .button__shield,
  .hero__actions .button--primary .button__arrow {
    color: #fff8e8;
  }
}

@media (max-width: 460px) {
  .hero__title {
    width: 190px;
  }

  .hero__ornament {
    margin-top: 34px;
  }

  .hero__description {
    font-size: 0.88rem;
  }

  .hero__description-line {
    display: inline;
  }

  .hero__description-line + .hero__description-line::before {
    content: " ";
  }
}

@media (min-width: 761px) and (max-height: 760px) {
  .site-header {
    height: 72px;
  }

  .brand {
    width: auto;
  }

  .brand__image {
    width: 54px;
    height: 54px;
  }

  .site-nav__discord {
    width: 44px;
    height: 44px;
  }

  .hero__content {
    min-height: 100svh;
    padding-top: 92px;
    padding-bottom: 74px;
  }

  .hero__title {
    width: clamp(190px, 20vw, 245px);
  }

  .hero__ornament {
    width: min(100%, 380px);
    margin: 10px 0 8px;
  }

  .hero__tagline {
    margin-bottom: 10px;
    font-size: clamp(1.15rem, 1.9vw, 1.7rem);
    line-height: 1.35;
  }

  .hero__description {
    font-size: clamp(0.82rem, 1.06vw, 1rem);
    line-height: 1.5;
  }

  .hero__actions {
    gap: 20px;
    margin-top: 18px;
  }

  .button {
    min-height: 56px;
    padding-block: 10px;
  }

  .button--primary {
    min-width: 300px;
  }

  .button--secondary {
    min-width: 270px;
  }

}

@media (max-width: 760px) and (max-height: 760px) {
  .hero__content {
    padding-bottom: max(72px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Home journey */
.homeJourney {
  --header-height: 88px;
  background:
    linear-gradient(180deg, #07101f 0%, #07101f 30%, #0a1324 48%, #080f1c 66%, #07101f 100%);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
}

.scrollProgress {
  position: fixed;
  z-index: 110;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff9b22, #ffd478);
  box-shadow: 0 0 14px rgba(255, 166, 53, 0.8);
  transform: scaleX(0);
  transform-origin: left center;
  animation: page-scroll-progress linear;
  animation-timeline: scroll(root block);
}

@keyframes page-scroll-progress {
  to {
    transform: scaleX(1);
  }
}

.scrollFrame {
  position: relative;
  min-height: 100svh;
  scroll-margin-top: var(--header-height, 88px);
}

.scrollFrame:not(.hero)::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(2, 9, 18, 0.58), transparent);
  content: "";
  pointer-events: none;
}

.scrollFrame::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(96px, 14vh, 170px);
  background: linear-gradient(180deg, transparent, rgba(7, 16, 31, 0.72) 62%, #07101f 100%);
  content: "";
  pointer-events: none;
}

.scrollFrame + .scrollFrame {
  margin-top: -1px;
}

.scrollFrame + .scrollFrame::before {
  height: clamp(120px, 16vh, 190px);
  background: linear-gradient(180deg, #07101f 0%, rgba(7, 16, 31, 0.78) 30%, transparent 100%);
}

.frameInner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1280px);
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-height, 88px) + 56px) 0 64px;
}

.frameGrid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.frameCopy {
  max-width: 560px;
}

.frameEyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--lantern);
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.frameEyebrow::before {
  width: 36px;
  height: 2px;
  background: currentColor;
  content: "";
}

.frameCopy h2,
.frameHeading h2 {
  margin: 0 0 28px;
  color: #f3e4ca;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.42;
}

.frameCopy > p:not(.frameEyebrow),
.frameHeading > p:not(.frameEyebrow) {
  margin: 0;
  color: rgba(241, 236, 214, 0.76);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 500;
  line-height: 2;
}

.frameCta {
  display: inline-flex;
  min-width: 210px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 36px;
  padding: 15px 22px;
  min-height: 54px;
  border: 1px solid rgba(255, 178, 74, 0.78);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 167, 53, 0.16), rgba(255, 126, 20, 0.08));
  color: #ffd181;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.frameCta:hover,
.frameCta:focus-visible {
  background: linear-gradient(135deg, rgba(255, 167, 53, 0.28), rgba(255, 126, 20, 0.16));
  box-shadow: 0 0 28px rgba(255, 151, 28, 0.22);
  transform: translateY(-2px);
}

.frameCta span {
  font-size: 1.4rem;
}

.homeAboutFrame {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 174, 61, 0.07), transparent 27%),
    linear-gradient(145deg, #07101f, #0b1425 54%, #080e1a);
}

.homeAboutFrame {
  margin-top: -1px;
}

.villageBoard {
  position: relative;
  width: 100%;
  max-width: 680px;
  justify-self: end;
  padding: 36px 28px 30px;
  border: 1px solid rgba(205, 133, 56, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent),
    repeating-linear-gradient(90deg, #281910 0, #281910 40px, #432817 41px, #281910 82px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.villageBoard::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 219, 166, 0.08);
  content: "";
  pointer-events: none;
}

.villageBoard::before {
  position: absolute;
  top: -18px;
  right: 14px;
  left: 14px;
  height: 22px;
  border: 1px solid rgba(205, 133, 56, 0.3);
  border-radius: 6px 6px 0 0;
  background: repeating-linear-gradient(90deg, #21140d 0, #392216 58px, #21140d 60px);
  content: "";
}

.boardTitlePaper,
.boardCard {
  color: #19120b;
  background:
    repeating-linear-gradient(0deg, rgba(83, 58, 29, 0.025) 0, rgba(83, 58, 29, 0.025) 1px, transparent 1px, transparent 5px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 42%),
    #e8dcc2;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.boardTitlePaper {
  margin-bottom: 24px;
  padding: 19px 24px;
  text-align: center;
  transform: rotate(-0.4deg);
}

.boardTitlePaper span {
  color: #9a5718;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.boardTitlePaper h3 {
  margin: 5px 0 0;
  font-family: var(--handwriting);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
}

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

.boardCard {
  position: relative;
  min-height: 184px;
  padding: 30px 14px 20px;
  text-align: center;
}

.boardCard:nth-child(1) { transform: rotate(-1deg); }
.boardCard:nth-child(2) { transform: rotate(0.7deg); }
.boardCard:nth-child(3) { transform: rotate(-0.4deg); }

.boardPin {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #bc681f;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
}

.boardCard small {
  color: #a45a19;
  font-weight: 800;
}

.boardCard h4 {
  margin: 16px 0 12px;
  font-size: 1rem;
  font-weight: 800;
}

.boardCard p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.65;
}

.membersFrame {
  background:
    radial-gradient(circle at 50% 42%, rgba(109, 214, 160, 0.055), transparent 34%),
    #090f1d;
}

.frameHeading {
  max-width: 720px;
  text-align: left;
}

.memberCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(38px, 6vh, 64px);
}

.memberCard {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(241, 236, 214, 0.12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(18, 31, 51, 0.94), rgba(8, 16, 29, 0.96));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.25);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.memberCard::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 178, 74, 0.08);
  border-radius: 50%;
  content: "";
}

.memberCard:hover {
  border-color: rgba(255, 178, 74, 0.34);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px);
}

.memberAvatar {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 178, 74, 0.35);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 178, 74, 0.18), transparent 65%),
    #0a1424;
  color: var(--lantern);
  font-family: var(--handwriting);
  font-size: 1.5rem;
}

.memberRole {
  margin: 0 0 8px;
  color: var(--lantern);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.memberCard h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 800;
}

.frameAction {
  text-align: right;
}

.joinFrame {
  overflow: hidden;
  background:
    linear-gradient(180deg, #07101f 0%, rgba(7, 16, 31, 0.78) 10%, transparent 28%),
    radial-gradient(circle at 25% 50%, rgba(255, 166, 51, 0.1), transparent 25%),
    linear-gradient(120deg, #07101f, #0d1728);
}

.joinFrameGrid {
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
}

.joinFrame .frameCopy {
  max-width: 620px;
}

.discordLockedCard {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
  max-width: 520px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(139, 147, 180, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(139, 147, 180, 0.065), transparent 58%),
    rgba(5, 13, 25, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.discordLockedIcon {
  position: relative;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: url("/assets/discord-icon.png") center / cover no-repeat;
  box-shadow:
    0 10px 24px rgba(88, 101, 242, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.discordLockedIcon::before,
.discordLockedIcon::after {
  content: none;
}

.discordLockedHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.discordLockedHeader h3 {
  margin: 0;
  color: #e9e4d2;
  font-size: 1rem;
  font-weight: 800;
}

.discordLockedHeader span {
  padding: 4px 9px;
  border: 1px solid rgba(139, 147, 180, 0.35);
  border-radius: 999px;
  color: #aeb5cc;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.discordLockedCard p {
  margin: 6px 0 0 !important;
  color: rgba(211, 214, 225, 0.62) !important;
  font-size: 0.77rem !important;
  line-height: 1.55 !important;
}

.discordUnlockedCard {
  border-color: rgba(88, 101, 242, 0.34);
  background:
    linear-gradient(90deg, rgba(88, 101, 242, 0.13), transparent 58%),
    rgba(5, 13, 25, 0.78);
}

.discordStatus--unlocked {
  border-color: rgba(109, 214, 160, 0.44) !important;
  color: #8ae0b3 !important;
}

.discordInviteButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(88, 101, 242, 0.42);
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.2);
  color: #eef0ff;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

.discordInviteButton:hover {
  border-color: rgba(126, 137, 255, 0.68);
  background: rgba(88, 101, 242, 0.3);
}

.gateMark {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto auto 1fr;
  width: min(38vw, 390px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 178, 74, 0.28);
  border-radius: 50% 50% 12px 12px;
  background:
    radial-gradient(circle, rgba(255, 178, 74, 0.14), transparent 52%),
    repeating-linear-gradient(90deg, rgba(74, 44, 25, 0.32) 0, rgba(74, 44, 25, 0.32) 24px, transparent 25px, transparent 48px);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.42), 0 0 44px rgba(255, 153, 30, 0.08);
}

.gateMark::before,
.gateMark::after {
  position: absolute;
  bottom: 0;
  width: 22px;
  height: 76%;
  border: 1px solid rgba(255, 178, 74, 0.24);
  background: linear-gradient(90deg, #24150d, #4b2b17 52%, #21130c);
  content: "";
}

.gateMark::before {
  left: 9%;
}

.gateMark::after {
  right: 9%;
}

.gateMark__lantern {
  position: relative;
  z-index: 1;
  grid-row: 2;
  width: 34px;
  height: 46px;
  margin-bottom: 14px;
  border: 2px solid #a95c1c;
  border-radius: 8px 8px 13px 13px;
  background: radial-gradient(circle, #ffe2a0 0 18%, #ffad35 38%, rgba(255, 139, 28, 0.22) 72%);
  box-shadow: 0 0 30px rgba(255, 161, 43, 0.48);
}

.gateMark strong {
  position: relative;
  z-index: 1;
  grid-row: 3;
  color: #ffc15e;
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  text-shadow: 0 0 26px rgba(255, 171, 55, 0.42);
}

.gateMark small {
  position: relative;
  z-index: 1;
  grid-row: 4;
  align-self: start;
  color: rgba(255, 224, 174, 0.66);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.contactFrame {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 75% 45%, rgba(124, 103, 184, 0.09), transparent 28%),
    #080e1a;
}

.contactFrame .frameInner {
  flex: 1;
}

.contactCards {
  display: grid;
  gap: 18px;
}

.contactCard {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(241, 236, 214, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255, 178, 74, 0.04), transparent 36%),
    rgba(11, 22, 39, 0.82);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.contactCard:hover,
.contactCard:focus-visible {
  border-color: rgba(255, 178, 74, 0.55);
  transform: translateX(4px);
}

.contactCardLocked {
  cursor: default;
  border-style: dashed;
  border-color: rgba(139, 147, 180, 0.25);
  background:
    linear-gradient(90deg, rgba(139, 147, 180, 0.05), transparent 45%),
    rgba(9, 17, 30, 0.7);
  color: rgba(241, 236, 214, 0.56);
}

.contactCardLocked:hover {
  border-color: rgba(139, 147, 180, 0.25);
  transform: none;
}

.contactIconLocked {
  border: 1px solid rgba(139, 147, 180, 0.25);
  background: rgba(139, 147, 180, 0.06);
  color: #929bb8;
}

.contactDiscordNotice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px !important;
  color: #aab1c7 !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.contactDiscordNotice::before {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.contactIcon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 178, 74, 0.1);
  color: var(--lantern);
  font-family: var(--handwriting);
  font-size: 1.5rem;
}

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

.contactCard small {
  margin-bottom: 5px;
  color: var(--fog);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contactCard strong {
  font-weight: 800;
}

.homeFooter {
  padding: 24px;
  border-top: 1px solid rgba(241, 236, 214, 0.07);
  color: rgba(241, 236, 214, 0.48);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-align: center;
}

.aboutPage {
  padding-top: 88px;
}

.aboutPage .site-header {
  top: 0;
}

@supports (animation-timeline: view()) {
  .frameCopy,
  .villageBoard,
  .frameHeading,
  .memberCards,
  .gateMark,
  .contactCards {
    animation: section-reveal linear both;
    animation-range: entry 8% cover 34%;
    animation-timeline: view();
  }
}

@media (max-width: 900px) {
  .frameGrid,
  .joinFrameGrid {
    grid-template-columns: 1fr;
  }

  .frameInner {
    padding-top: calc(var(--header-height, 88px) + 44px);
  }

  .villageBoard {
    max-width: none;
    justify-self: stretch;
  }

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

  .memberCard {
    min-height: 220px;
    padding: 22px;
  }

  .memberAvatar {
    width: 84px;
    height: 84px;
  }

  .gateMark {
    width: min(70vw, 340px);
  }
}

@media (max-width: 760px) {
  .homeJourney {
    --header-height: 76px;
    background:
      linear-gradient(180deg, #07101f 0%, #081322 38%, #08111f 64%, #07101f 100%);
  }

  .scrollProgress {
    top: 76px;
  }

  .frameInner {
    width: min(100% - 32px, 1280px);
    min-height: auto;
    padding: 118px 0 72px;
  }

  .scrollFrame:not(.hero) {
    min-height: auto;
  }

  .homeJourney .scrollFrame {
    border-top: 0;
  }

  .homeJourney .scrollFrame::after {
    bottom: -2px;
    height: clamp(190px, 30vh, 300px);
    background:
      linear-gradient(180deg, transparent 0%, rgba(7, 16, 31, 0.34) 34%, rgba(7, 16, 31, 0.82) 72%, #07101f 100%);
  }

  .homeJourney .scrollFrame + .scrollFrame {
    margin-top: -72px;
  }

  .homeJourney .scrollFrame + .scrollFrame::before {
    height: clamp(220px, 34vh, 330px);
    background:
      linear-gradient(180deg, #07101f 0%, rgba(7, 16, 31, 0.86) 30%, rgba(7, 16, 31, 0.34) 72%, transparent 100%);
  }

  .homeJourney .homeAboutFrame {
    border-top: 0;
    background:
      linear-gradient(180deg, #07101f 0%, rgba(7, 16, 31, 0.72) 12%, transparent 32%),
      radial-gradient(circle at 78% 38%, rgba(255, 174, 61, 0.07), transparent 27%),
      linear-gradient(145deg, #07101f, #0b1425 54%, #080e1a);
  }

  .homeJourney .joinFrame {
    background:
      linear-gradient(180deg, #07101f 0%, rgba(7, 16, 31, 0.82) 18%, transparent 42%),
      radial-gradient(circle at 25% 50%, rgba(255, 166, 51, 0.1), transparent 25%),
      linear-gradient(120deg, #07101f, #0d1728);
  }

  .homeJourney .homeAboutFrame,
  .homeJourney .joinFrame,
  .homeJourney .homeFooter,
  .homeJourney .aboutQuickFacts,
  .homeJourney .contactItem {
    border-top: 0;
  }

  .frameGrid {
    gap: 46px;
  }

  .frameCopy h2,
  .frameHeading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .boardCards,
  .memberCards {
    grid-template-columns: 1fr;
  }

  .boardCard {
    min-height: 150px;
  }

  .villageBoard {
    padding: 32px 16px 20px;
  }

  .memberCard {
    min-height: 0;
  }

  .frameAction {
    text-align: left;
  }

  .contactCard {
    grid-template-columns: 52px 1fr;
  }

  .contactIcon {
    width: 52px;
    height: 52px;
  }

  .discordLockedCard {
    grid-template-columns: 48px 1fr;
    padding: 16px;
  }

  .discordLockedIcon {
    width: 48px;
    height: 48px;
  }

  .frameCta {
    width: 100%;
  }

  .aboutPage {
    padding-top: 76px;
  }
}

/* Shared village notice board */
.noticeBoardShell {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 680px;
  min-width: 0;
  justify-self: end;
  padding: 34px 32px 38px;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.4));
}

.noticeBoardShell--detail {
  max-width: 680px;
}

.noticeBoardSurface {
  position: relative;
  z-index: 2;
  padding: 30px 28px 34px;
  border: 1px solid #6d3c1d;
  border-radius: 4px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 201, 117, 0.055), transparent 16%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.17), transparent 13%, transparent 86%, rgba(0, 0, 0, 0.2)),
    repeating-linear-gradient(
      0deg,
      #2a180e 0,
      #2a180e 44px,
      #3c2314 45px,
      #4a2a17 47px,
      #25140c 49px,
      #25140c 91px
    );
  box-shadow:
    inset 0 0 48px rgba(0, 0, 0, 0.5),
    inset 0 0 0 8px rgba(19, 10, 6, 0.32);
}

.noticeBoardBeam,
.noticeBoardPost {
  position: absolute;
  z-index: 3;
  border: 1px solid #75401e;
  background:
    linear-gradient(90deg, rgba(255, 194, 112, 0.08), transparent 24%, rgba(0, 0, 0, 0.25) 84%),
    repeating-linear-gradient(90deg, #28160c 0, #452714 58px, #321c10 61px, #231209 118px);
  box-shadow:
    inset 0 2px rgba(255, 211, 147, 0.06),
    inset 0 -8px 14px rgba(0, 0, 0, 0.32),
    0 12px 20px rgba(0, 0, 0, 0.32);
}

.noticeBoardBeam {
  right: 18px;
  left: 18px;
  height: 30px;
}

.noticeBoardBeam--top {
  top: 8px;
  border-radius: 7px 7px 2px 2px;
  transform: perspective(600px) rotateX(4deg);
}

.noticeBoardBeam--bottom {
  bottom: 8px;
  height: 25px;
  border-radius: 2px 2px 7px 7px;
}

.noticeBoardPost {
  top: 26px;
  bottom: 26px;
  width: 29px;
  background:
    linear-gradient(90deg, #1d0f08, #4a2a17 38%, #352011 70%, #1b0e07),
    repeating-linear-gradient(0deg, transparent 0 60px, rgba(255, 197, 111, 0.06) 61px 63px);
}

.noticeBoardPost--left {
  left: 10px;
  border-radius: 6px 1px 1px 6px;
}

.noticeBoardPost--right {
  right: 10px;
  border-radius: 1px 6px 6px 1px;
}

.noticeBoardHeaderPaper,
.noticePromiseCard,
.noticeStickyNote {
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(91, 63, 30, 0.026) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.4), transparent 30%),
    linear-gradient(145deg, #eee2c8, #decca8);
  color: #1c140d;
  box-shadow:
    0 14px 22px rgba(0, 0, 0, 0.3),
    inset 0 0 26px rgba(112, 77, 36, 0.08);
}

.noticeBoardHeaderPaper {
  z-index: 2;
  width: calc(100% - 20px);
  margin: 0 auto 25px;
  padding: 20px 34px 18px;
  text-align: center;
  transform: rotate(-0.45deg);
  clip-path: polygon(0.6% 2%, 99.2% 0, 100% 96%, 98.5% 100%, 1% 98%);
}

.noticeBoardHeaderPaper::after {
  position: absolute;
  right: 10%;
  bottom: 12px;
  width: 64px;
  height: 18px;
  border-bottom: 2px solid rgba(161, 83, 25, 0.35);
  border-radius: 50%;
  content: "";
  transform: rotate(-5deg);
}

.noticeBoardHeaderPaper > p {
  margin: 0 0 5px;
  color: #a45a1b;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.noticeBoardHeaderPaper h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.noticeBoardHeaderPaper small {
  display: block;
  margin-top: 6px;
  color: #5e4830;
  font-size: 0.72rem;
  font-weight: 700;
}

.noticeBoardTape {
  position: absolute;
  z-index: 2;
  top: -8px;
  width: 54px;
  height: 19px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent),
    rgba(183, 146, 92, 0.66);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
}

.noticeBoardTape--left {
  left: -13px;
  transform: rotate(-37deg);
}

.noticeBoardTape--right {
  right: -12px;
  transform: rotate(34deg);
}

.noticePromiseList {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 15px;
}

.noticePromiseCard {
  min-width: 0;
  min-height: 224px;
  padding: 26px 15px 20px;
  text-align: center;
  clip-path: polygon(1% 1%, 98% 0, 100% 97%, 96% 100%, 2% 98%, 0 5%);
}

.noticePromiseCard--flat {
  margin-top: 4px;
  transform: rotate(-1.25deg);
}

.noticePromiseCard--peer {
  margin-top: 0;
  transform: rotate(0.65deg);
}

.noticePromiseCard--ctf {
  margin-top: 5px;
  transform: rotate(-0.45deg);
}

.noticePromiseCard::after {
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(121, 86, 46, 0.18) 0 49%, #c5ad82 51%);
  content: "";
  transform: rotate(7deg);
}

.noticePromisePin {
  position: absolute;
  z-index: 2;
  top: -6px;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(77, 39, 12, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffbd57, #a64e12 68%);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
}

.noticePromiseCard--flat .noticePromisePin {
  background: radial-gradient(circle at 35% 28%, #a4d285, #45653c 68%);
}

.noticePromiseCard--ctf .noticePromisePin {
  background: radial-gradient(circle at 35% 28%, #a99bd4, #57487c 68%);
}

.noticePromiseIcon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0 auto 13px;
  border: 1px solid rgba(153, 83, 25, 0.22);
  border-radius: 50%;
  background: rgba(171, 104, 44, 0.08);
  color: #a75d1d;
  font-size: 0.72rem;
  font-weight: 900;
}

.noticePromiseCard--flat .noticePromiseIcon {
  color: #4e7348;
}

.noticePromiseCard--ctf .noticePromiseIcon {
  color: #65538c;
}

.noticePromiseCard h4 {
  margin: 0 0 11px;
  font-size: clamp(0.9rem, 1.2vw, 1.03rem);
  font-weight: 900;
  line-height: 1.45;
}

.noticePromiseCard strong {
  display: block;
  margin-bottom: 9px;
  color: #9a571c;
  font-size: 0.7rem;
  font-weight: 900;
}

.noticePromiseCard p {
  margin: 0;
  color: #473522;
  font-size: clamp(0.68rem, 0.8vw, 0.77rem);
  font-weight: 600;
  line-height: 1.65;
}

.boardLantern {
  position: absolute;
  z-index: 7;
  top: -22px;
  width: 70px;
  height: 126px;
  pointer-events: none;
}

.boardLantern--right {
  right: -42px;
}

.boardLantern::before {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 63, 0.25), transparent 68%);
  content: "";
  transform: translateX(-50%);
  filter: blur(3px);
}

.boardLanternHook {
  position: absolute;
  top: 0;
  left: 50%;
  width: 32px;
  height: 43px;
  border-top: 3px solid #15100c;
  border-right: 3px solid #15100c;
  border-radius: 0 18px 0 0;
}

.boardLanternBody {
  position: absolute;
  top: 36px;
  left: 50%;
  width: 48px;
  height: 70px;
  border: 4px solid #17100b;
  border-radius: 15px 15px 20px 20px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(27, 15, 8, 0.58) 47% 53%, transparent 55%),
    radial-gradient(circle, #fff0bd 0 12%, #ffb13e 35%, #be5d17 74%);
  box-shadow:
    inset 0 0 15px rgba(255, 230, 158, 0.48),
    0 0 24px rgba(255, 148, 30, 0.54);
  transform: translateX(-50%);
}

.boardLanternBody::before,
.boardLanternBody::after {
  position: absolute;
  right: -8px;
  left: -8px;
  height: 6px;
  border-radius: 5px;
  background: #17100b;
  content: "";
}

.boardLanternBody::before {
  top: 8px;
}

.boardLanternBody::after {
  bottom: 8px;
}

.noticeStickyNote {
  position: absolute;
  z-index: 6;
  right: -14px;
  bottom: -19px;
  width: 116px;
  min-height: 82px;
  padding: 23px 12px 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), transparent 40%),
    #cab68c;
  text-align: center;
  transform: rotate(4deg);
  clip-path: polygon(2% 0, 98% 3%, 100% 94%, 91% 100%, 0 97%);
}

.noticeStickyTape {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 48px;
  height: 15px;
  background: rgba(152, 117, 69, 0.65);
  transform: translateX(-50%) rotate(-3deg);
}

.noticeStickyNote strong {
  display: block;
  color: #6f3916;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.noticeStickyNote p {
  margin: 7px 0 0;
  color: #2e2115;
  font-family: var(--display-font);
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.4;
}

.noticeBoardDecorations {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.boardCarving {
  position: absolute;
  opacity: 0.36;
}

.boardCarving--moon {
  top: 18px;
  right: 94px;
  width: 24px;
  height: 24px;
  border: 3px solid #b06a27;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(35deg);
}

.boardCarving--pine {
  bottom: 19px;
  left: 40px;
  width: 0;
  height: 0;
  border-right: 14px solid transparent;
  border-bottom: 27px solid #7b4a25;
  border-left: 14px solid transparent;
}

.boardNail {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17100c;
  box-shadow: inset 2px 2px rgba(255, 255, 255, 0.08);
}

.boardNail--one {
  top: 18px;
  left: 18px;
}

.boardNail--two {
  right: 18px;
  bottom: 18px;
}

@media (max-width: 900px) {
  .noticeBoardShell {
    max-width: 720px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .noticeBoardShell {
    padding: 28px 17px 31px;
  }

  .noticeBoardSurface {
    padding: 25px 18px 29px;
  }

  .noticeBoardBeam {
    right: 7px;
    left: 7px;
  }

  .noticeBoardPost {
    width: 18px;
  }

  .noticeBoardPost--left {
    left: 3px;
  }

  .noticeBoardPost--right {
    right: 3px;
  }

  .noticeBoardHeaderPaper {
    width: calc(100% - 8px);
    padding: 18px 18px 16px;
  }

  .noticePromiseList {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .noticePromiseCard,
  .noticePromiseCard--flat,
  .noticePromiseCard--peer,
  .noticePromiseCard--ctf {
    min-height: 0;
    margin-top: 0;
    padding: 25px 20px 20px;
    transform: none;
  }

  .noticePromiseCard p {
    font-size: 0.78rem;
  }

  .boardLantern {
    top: -24px;
    right: -22px;
    transform: scale(0.78);
    transform-origin: top right;
  }

  .noticeStickyNote {
    right: -5px;
    bottom: -26px;
    transform: rotate(2deg) scale(0.9);
  }
}

/* NoticeBoard v2: simple semantic structure */
.notice-board {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  justify-self: end;
  padding: 42px 42px 38px;
  border: 1px solid rgba(255, 178, 74, 0.28);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 8%, transparent 92%, rgba(0, 0, 0, 0.35)),
    repeating-linear-gradient(
      0deg,
      #2b1a10 0,
      #2b1a10 43px,
      #3a2417 44px,
      #442818 46px,
      #24150d 48px,
      #24150d 88px
    );
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -24px 40px rgba(0, 0, 0, 0.28),
    inset 0 0 54px rgba(0, 0, 0, 0.38);
}

.notice-board::before,
.notice-board::after {
  position: absolute;
  z-index: 4;
  right: 20px;
  left: 20px;
  height: 28px;
  border: 1px solid #6e3c1d;
  background:
    linear-gradient(180deg, rgba(255, 222, 169, 0.08), transparent 42%),
    repeating-linear-gradient(90deg, #25130a 0, #452615 70px, #28160c 73px, #311b0f 138px);
  box-shadow: 0 9px 17px rgba(0, 0, 0, 0.34), inset 0 -8px 12px rgba(0, 0, 0, 0.26);
  content: "";
}

.notice-board::before {
  top: -15px;
  border-radius: 7px 7px 2px 2px;
}

.notice-board::after {
  bottom: -13px;
  height: 23px;
  border-radius: 2px 2px 7px 7px;
}

.board-header-paper,
.promise-card,
.sticky-note {
  color: #1d150e;
  background:
    repeating-linear-gradient(0deg, rgba(91, 63, 30, 0.028) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(145deg, #eee2c8, #ddcba7);
  box-shadow:
    0 14px 25px rgba(0, 0, 0, 0.28),
    inset 0 0 30px rgba(109, 74, 34, 0.08);
}

.board-header-paper {
  position: relative;
  z-index: 2;
  width: calc(100% - 16px);
  margin: 0 auto 28px;
  padding: 24px 34px 22px;
  text-align: center;
  transform: rotate(-0.45deg);
  clip-path: polygon(0.5% 2%, 99.2% 0, 100% 96%, 98.4% 100%, 1% 98%);
}

.board-header-paper h2 {
  margin: 0 0 11px;
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2.05vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.035em;
}

.board-header-paper p {
  margin: 4px 0 0;
  color: #443320;
  font-size: clamp(0.72rem, 0.92vw, 0.84rem);
  font-weight: 700;
  line-height: 1.55;
}

.board-paw {
  position: relative;
  display: inline-block;
  width: 22px;
  margin-left: 7px;
  color: #8e4f1b;
  font-size: 0.68em;
  transform: rotate(-16deg);
}

.board-paw::before {
  position: absolute;
  top: -8px;
  left: 2px;
  letter-spacing: 1px;
  content: "•••";
}

.paper-tape {
  position: absolute;
  z-index: 2;
  top: -8px;
  width: 58px;
  height: 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent),
    rgba(173, 135, 82, 0.68);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
}

.paper-tape-left {
  left: -14px;
  transform: rotate(-36deg);
}

.paper-tape-right {
  right: -14px;
  transform: rotate(34deg);
}

.board-village-sketch {
  position: absolute;
  right: 20px;
  bottom: 13px;
  width: 105px;
  height: 31px;
  opacity: 0.2;
  background:
    linear-gradient(145deg, transparent 46%, #75451f 48% 52%, transparent 54%) 8px 9px / 28px 21px no-repeat,
    linear-gradient(35deg, transparent 46%, #75451f 48% 52%, transparent 54%) 20px 9px / 28px 21px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 8px, #75451f 9px 11px) 0 26px / 100% 2px no-repeat;
}

.promise-card-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 17px;
}

.promise-card {
  position: relative;
  min-width: 0;
  min-height: 236px;
  padding: 31px 18px 24px;
  text-align: center;
  clip-path: polygon(1% 1%, 98% 0, 100% 97%, 96% 100%, 2% 98%, 0 5%);
}

.promise-card-flat {
  margin-top: 3px;
  transform: rotate(-1.2deg);
}

.promise-card-peer {
  transform: rotate(0.65deg);
}

.promise-card-ctf {
  margin-top: 4px;
  transform: rotate(-0.45deg);
}

.paper-pin {
  position: absolute;
  z-index: 3;
  top: -8px;
  left: 50%;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(66, 32, 10, 0.35);
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25), 0 6px 8px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

.paper-pin-flat {
  background: radial-gradient(circle at 35% 28%, #a9d88c, #496840 68%);
}

.paper-pin-peer {
  background: radial-gradient(circle at 35% 28%, #ffc263, #a95515 68%);
}

.paper-pin-ctf {
  background: radial-gradient(circle at 35% 28%, #b5a8df, #5a4a80 68%);
}

.promise-icon {
  position: relative;
  width: 52px;
  height: 48px;
  margin: 0 auto 15px;
  color: #a55c1c;
}

.promise-icon::before,
.promise-icon::after {
  position: absolute;
  content: "";
}

.promise-icon-flat {
  color: #527149;
  background:
    radial-gradient(circle at 50% 13px, currentColor 0 6px, transparent 7px),
    radial-gradient(circle at 22% 19px, currentColor 0 5px, transparent 6px),
    radial-gradient(circle at 78% 19px, currentColor 0 5px, transparent 6px);
}

.promise-icon-flat::before {
  right: 15px;
  bottom: 1px;
  left: 15px;
  height: 23px;
  border-radius: 15px 15px 4px 4px;
  background: currentColor;
}

.promise-icon-flat::after {
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 17px;
  border-radius: 12px 12px 3px 3px;
  background:
    linear-gradient(90deg, currentColor 0 28%, transparent 29% 71%, currentColor 72%);
}

.promise-icon-peer {
  border-bottom: 3px solid currentColor;
}

.promise-icon-peer::before,
.promise-icon-peer::after {
  top: 6px;
  bottom: 5px;
  width: 24px;
  border: 3px solid currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.promise-icon-peer::before {
  left: 2px;
  border-radius: 6px 1px 1px 4px;
  transform: skewY(7deg);
}

.promise-icon-peer::after {
  right: 2px;
  border-radius: 1px 6px 4px 1px;
  transform: skewY(-7deg);
}

.promise-icon-ctf::before {
  top: 4px;
  left: 12px;
  width: 4px;
  height: 42px;
  border-radius: 3px;
  background: currentColor;
}

.promise-icon-ctf::after {
  top: 6px;
  left: 16px;
  width: 30px;
  height: 20px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 12%, 78% 52%, 100% 88%, 0 77%);
}

.promise-card h3 {
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 900;
  line-height: 1.45;
}

.card-divider {
  display: block;
  width: 46px;
  height: 2px;
  margin: 12px auto 15px;
  border-radius: 2px;
  background: currentColor;
  color: #a55c1c;
  opacity: 0.72;
}

.promise-card-flat .card-divider {
  color: #527149;
}

.promise-card-ctf .card-divider {
  color: #67558e;
}

.promise-card p {
  margin: 0;
  color: #493724;
  font-size: clamp(0.72rem, 0.83vw, 0.8rem);
  font-weight: 600;
  line-height: 1.72;
}

.board-lantern {
  position: absolute;
  z-index: 8;
  top: 23px;
  right: -30px;
  width: 70px;
  height: 126px;
  pointer-events: none;
}

.board-lantern::before {
  position: absolute;
  top: 29px;
  left: 50%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 68, 0.27), transparent 68%);
  content: "";
  filter: blur(4px);
  transform: translateX(-50%);
}

.lantern-rope {
  position: absolute;
  top: -35px;
  left: 50%;
  width: 34px;
  height: 74px;
  border-top: 3px solid #16100c;
  border-right: 3px solid #16100c;
  border-radius: 0 20px 0 0;
}

.lantern-body {
  position: absolute;
  top: 35px;
  left: 50%;
  width: 48px;
  height: 73px;
  border: 4px solid #17100b;
  border-radius: 14px 14px 20px 20px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(31, 17, 9, 0.58) 47% 53%, transparent 55%),
    radial-gradient(circle, #fff0bd 0 12%, #ffb13e 35%, #ac4e14 76%);
  box-shadow: inset 0 0 15px rgba(255, 230, 158, 0.5), 0 0 29px rgba(255, 148, 30, 0.58);
  transform: translateX(-50%);
}

.lantern-body::before,
.lantern-body::after {
  position: absolute;
  right: -8px;
  left: -8px;
  height: 6px;
  border-radius: 5px;
  background: #17100b;
  content: "";
}

.lantern-body::before {
  top: 8px;
}

.lantern-body::after {
  bottom: 8px;
}

.sticky-note {
  position: absolute;
  z-index: 7;
  right: -20px;
  bottom: -25px;
  display: grid;
  width: 116px;
  min-height: 105px;
  align-content: center;
  padding: 22px 13px 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.25), transparent 42%),
    #cab68c;
  font-family: var(--display-font);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transform: rotate(4deg);
  clip-path: polygon(2% 0, 98% 3%, 100% 94%, 91% 100%, 0 97%);
}

.sticky-note span {
  display: block;
}

.sticky-pin {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #86b9d8, #315f7d 70%);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.sticky-smile {
  margin-top: 3px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .notice-board {
    max-width: 720px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .notice-board {
    padding: 34px 22px 31px;
  }

  .board-header-paper {
    width: 100%;
    padding: 21px 20px 19px;
  }

  .board-village-sketch {
    display: none;
  }

  .promise-card-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .promise-card,
  .promise-card-flat,
  .promise-card-peer,
  .promise-card-ctf {
    min-height: 0;
    margin-top: 0;
    padding: 29px 24px 23px;
    transform: none;
  }

  .promise-card p {
    font-size: 0.82rem;
  }

  .board-lantern {
    top: 10px;
    right: -20px;
    transform: scale(0.76);
    transform-origin: top right;
  }

  .sticky-note {
    right: -8px;
    bottom: -34px;
    transform: rotate(2deg) scale(0.88);
  }
}

/* Village visual system */
.villageScene {
  isolation: isolate;
  overflow: hidden;
}

.sceneLayers {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sceneSky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(106, 133, 172, 0.1), transparent 22%),
    radial-gradient(circle at 18% 74%, rgba(255, 153, 42, 0.045), transparent 19%),
    linear-gradient(145deg, #07101f, #0a1628 54%, #07101d);
}

.sceneSky::before {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(223, 231, 225, 0.4) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 197, 106, 0.24) 0 1px, transparent 1.5px);
  background-position: 0 0, 55px 37px;
  background-size: 107px 103px, 139px 127px;
  content: "";
  opacity: 0.18;
}

.sceneHorizon {
  position: absolute;
  right: -3%;
  bottom: 7%;
  left: 35%;
  height: 38%;
  opacity: 0.5;
  filter: blur(0.3px);
}

.sceneHorizon::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, transparent 42%, #08101a 43% 58%, transparent 59%) 3% 70% / 150px 110px repeat-x,
    linear-gradient(35deg, transparent 42%, #0c1722 43% 58%, transparent 59%) 0 74% / 190px 125px repeat-x,
    linear-gradient(90deg, #08101a, #0b1420);
  clip-path: polygon(0 76%, 5% 68%, 9% 72%, 14% 56%, 18% 69%, 25% 61%, 30% 73%, 35% 49%, 42% 72%, 50% 59%, 57% 73%, 63% 52%, 70% 70%, 76% 59%, 82% 72%, 88% 48%, 94% 69%, 100% 57%, 100% 100%, 0 100%);
  content: "";
}

.sceneHorizon::after {
  position: absolute;
  right: 4%;
  bottom: 7%;
  width: 72%;
  height: 43%;
  background-image:
    radial-gradient(circle, #f6a139 0 2px, rgba(246, 161, 57, 0.18) 3px 8px, transparent 9px);
  background-position: 0 0;
  background-size: 72px 44px;
  content: "";
  opacity: 0.6;
}

.sceneLanternString {
  position: absolute;
  z-index: 3;
  top: 12%;
  right: -2%;
  width: 48%;
  height: 170px;
  border-top: 2px solid rgba(20, 13, 10, 0.74);
  border-radius: 50%;
  transform: rotate(5deg);
}

.sceneLantern {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 55px;
  background: rgba(22, 14, 10, 0.78);
}

.sceneLantern--one { left: 14%; height: 44px; }
.sceneLantern--two { left: 51%; height: 75px; }
.sceneLantern--three { left: 84%; height: 39px; }

.sceneLantern > span {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 25px;
  height: 38px;
  border: 3px solid #2b190f;
  border-radius: 7px 7px 11px 11px;
  background:
    linear-gradient(90deg, transparent 44%, rgba(55, 29, 13, 0.5) 46% 54%, transparent 56%),
    radial-gradient(circle, #ffe1a0 0 12%, #ffab35 38%, #8c431a 76%);
  box-shadow: 0 0 22px rgba(255, 153, 35, 0.36);
  transform: translateX(-50%);
}

.sceneFog {
  position: absolute;
  width: 68%;
  height: 22%;
  border-radius: 50%;
  background: rgba(94, 122, 153, 0.08);
  filter: blur(34px);
}

.sceneFog--back {
  top: 32%;
  right: -14%;
  transform: rotate(-7deg);
}

.sceneFog--front {
  bottom: 3%;
  left: -18%;
  opacity: 0.7;
  transform: rotate(5deg);
}

.sceneForeground {
  position: absolute;
  z-index: 4;
  right: -5%;
  bottom: -7%;
  left: -5%;
  height: 20%;
  background:
    radial-gradient(ellipse at 4% 100%, #030810 0 24%, transparent 25%),
    radial-gradient(ellipse at 95% 100%, #030810 0 28%, transparent 29%),
    linear-gradient(180deg, transparent, rgba(2, 7, 14, 0.92));
  opacity: 0.9;
}

.sceneForeground::before,
.sceneForeground::after {
  position: absolute;
  bottom: 24%;
  width: 190px;
  height: 150px;
  background: #030810;
  content: "";
  opacity: 0.78;
}

.sceneForeground::before {
  left: 0;
  clip-path: polygon(0 100%, 0 42%, 13% 59%, 17% 13%, 24% 56%, 38% 23%, 39% 66%, 54% 36%, 54% 70%, 72% 44%, 67% 76%, 100% 71%, 100% 100%);
}

.sceneForeground::after {
  right: 0;
  clip-path: polygon(0 100%, 0 72%, 24% 75%, 20% 43%, 37% 67%, 42% 22%, 50% 62%, 66% 11%, 67% 61%, 83% 38%, 81% 72%, 100% 48%, 100% 100%);
}

.sceneMarker {
  position: absolute;
  z-index: 6;
  top: calc(var(--header-height, 88px) + 22px);
  right: clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 205, 125, 0.52);
  font-weight: 800;
  letter-spacing: 0.13em;
  pointer-events: none;
}

.sceneMarker span {
  color: #ffb24a;
  font-family: var(--display-font);
  font-size: 1.15rem;
}

.sceneMarker small {
  font-size: 0.62rem;
}

.sceneLayers--square .sceneSky {
  background:
    radial-gradient(circle at 77% 35%, rgba(255, 168, 51, 0.09), transparent 24%),
    linear-gradient(145deg, #07101f, #0b1728 55%, #080f1c);
}

.sceneLayers--plaza .sceneSky {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 171, 61, 0.065), transparent 28%),
    radial-gradient(circle at 15% 68%, rgba(70, 132, 111, 0.06), transparent 24%),
    linear-gradient(150deg, #08111f, #0a1422 58%, #070d18);
}

.sceneLayers--plaza .sceneLanternString {
  top: 16%;
  right: 4%;
  width: 60%;
  transform: rotate(-3deg);
}

.sceneLayers--gate .sceneSky {
  background:
    radial-gradient(circle at 28% 48%, rgba(255, 153, 35, 0.11), transparent 23%),
    linear-gradient(120deg, #07101d, #0c1828 62%, #070d18);
}

.sceneLayers--gate .sceneHorizon {
  right: 28%;
  left: -5%;
  opacity: 0.35;
}

.sceneLayers--gate .sceneLanternString {
  display: none;
}

.sceneLayers--post .sceneSky {
  background:
    radial-gradient(circle at 78% 42%, rgba(116, 95, 171, 0.09), transparent 26%),
    radial-gradient(circle at 20% 70%, rgba(255, 157, 43, 0.055), transparent 20%),
    linear-gradient(145deg, #070e1a, #0b1424 55%, #080d18);
}

.sceneLayers--post .sceneLanternString {
  top: 10%;
  width: 40%;
}

.villageScene .frameInner {
  z-index: 5;
}

.membersFrame .memberCard {
  border-color: rgba(132, 82, 43, 0.55);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(255, 198, 113, 0.035), transparent 40%),
    repeating-linear-gradient(0deg, #152235 0, #152235 35px, #101c2d 36px, #101c2d 70px);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    inset 0 0 0 5px rgba(40, 23, 13, 0.2);
}

.membersFrame .memberAvatar {
  border: 3px solid #382113;
  background:
    radial-gradient(circle, rgba(255, 177, 72, 0.2), transparent 58%),
    linear-gradient(145deg, #17273b, #0a1421);
  box-shadow: 0 0 22px rgba(255, 151, 36, 0.08);
}

.contactFrame .contactCard {
  position: relative;
  overflow: hidden;
  border-color: rgba(130, 82, 45, 0.46);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(255, 230, 186, 0.06), transparent 40%),
    rgba(19, 28, 40, 0.9);
}

.contactFrame .contactCard::after {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 178, 74, 0.1);
  border-radius: 50%;
  content: "";
}

@media (max-width: 900px) {
  .sceneHorizon {
    left: 5%;
    opacity: 0.35;
  }

  .sceneLanternString {
    right: -15%;
    width: 70%;
    opacity: 0.65;
  }
}

@media (max-width: 760px) {
  .sceneMarker {
    top: 91px;
    right: 18px;
  }

  .sceneMarker small {
    display: none;
  }

  .sceneHorizon {
    bottom: 14%;
    left: -20%;
    width: 120%;
    opacity: 0.22;
  }

  .sceneLanternString {
    top: 14%;
    right: -35%;
    width: 95%;
    transform: scale(0.78) rotate(4deg);
  }

  .sceneForeground {
    height: 12%;
    opacity: 0.6;
  }

  .sceneFog {
    opacity: 0.5;
  }
}

/* Members detail page */
.membersPage {
  min-height: 100vh;
  padding-top: 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 177, 67, 0.075), transparent 22%),
    radial-gradient(circle at 12% 56%, rgba(81, 124, 103, 0.055), transparent 26%),
    linear-gradient(145deg, #07101e, #0b1627 52%, #080e1a);
}

.membersPage::before {
  position: fixed;
  z-index: 0;
  inset: 88px 0 0;
  background:
    linear-gradient(145deg, transparent 46%, rgba(4, 9, 16, 0.5) 47% 58%, transparent 59%) 0 100% / 210px 160px repeat-x,
    radial-gradient(circle, rgba(255, 178, 74, 0.12) 0 2px, transparent 3px) 0 68% / 92px 64px repeat-x;
  content: "";
  opacity: 0.22;
  pointer-events: none;
}

.scrollProgressNav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100% - 48px, 1120px);
  margin: 34px auto 0;
}

.progressLine {
  position: absolute;
  z-index: -1;
  top: 9px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: rgba(241, 236, 214, 0.16);
}

.progressLine::before {
  display: block;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, #d87a22, #ffb24a);
  box-shadow: 0 0 9px rgba(255, 178, 74, 0.34);
  content: "";
}

.progressItem {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(241, 236, 214, 0.46);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.progressDot {
  width: 18px;
  height: 18px;
  border: 4px solid #0a1423;
  border-radius: 50%;
  background: #596174;
  box-shadow: 0 0 0 1px rgba(241, 236, 214, 0.15);
}

.progressItem:hover,
.progressItem:focus-visible,
.progressItemActive {
  color: #ffc568;
}

.progressItemActive .progressDot {
  background: #ffad38;
  box-shadow: 0 0 0 1px #ffbd5c, 0 0 18px rgba(255, 173, 56, 0.58);
}

.membersMain {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 110px) 0 80px;
}

.membersIntroArea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  min-height: 430px;
}

.membersHero {
  max-width: 650px;
}

.membersHero h1 {
  margin: 0 0 32px;
  color: #f2e5cd;
  font-family: var(--display-font);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.32;
}

.membersHero .accent {
  color: #ffb24a;
  text-shadow: 0 0 24px rgba(255, 178, 74, 0.18);
}

.membersLead {
  margin: 0;
  color: rgba(241, 236, 214, 0.76);
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  font-weight: 500;
  line-height: 2;
}

.pinnedNote {
  position: relative;
  justify-self: end;
  width: min(100%, 390px);
  min-height: 230px;
  padding: 62px 48px 38px;
  color: #21170f;
  background:
    repeating-linear-gradient(0deg, rgba(91, 63, 30, 0.03) 0 1px, transparent 1px 6px),
    linear-gradient(145deg, #eee2c8, #d8c39e);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.33);
  clip-path: polygon(1% 1%, 98% 0, 100% 95%, 94% 100%, 2% 98%, 0 6%);
  transform: rotate(1.4deg);
}

.pinnedNote p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 700;
  line-height: 1.65;
}

.pinnedNote strong {
  color: #a85819;
  font-weight: 900;
}

.pinnedNotePin {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #ffc768, #9a4d16 70%);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
}

.pinnedNoteTape {
  position: absolute;
  top: -7px;
  right: 23px;
  width: 70px;
  height: 22px;
  background: rgba(172, 136, 84, 0.62);
  transform: rotate(28deg);
}

.pinnedNoteSketch {
  position: absolute;
  right: 28px;
  bottom: 22px;
  width: 105px;
  height: 62px;
  opacity: 0.2;
  background:
    linear-gradient(145deg, transparent 46%, #70411e 48% 52%, transparent 54%) 5px 12px / 48px 35px no-repeat,
    linear-gradient(35deg, transparent 46%, #70411e 48% 52%, transparent 54%) 29px 12px / 48px 35px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 14px, #70411e 15px 18px) 0 49px / 100% 3px no-repeat;
}

.adminCardSection {
  margin-top: clamp(78px, 9vw, 120px);
}

.adminCardHeading,
.adminValuesHeading {
  margin-bottom: 44px;
  text-align: center;
}

.adminCardHeading > p,
.adminValuesHeading > p {
  margin: 0 0 9px;
  color: #ffad3b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.adminCardHeading h2,
.adminValuesHeading h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
}

.adminCardList {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}

.adminCard {
  --card-accent: #d57722;
  position: relative;
  min-width: 0;
  min-height: 490px;
  padding: 56px 34px 34px;
  border: 2px solid color-mix(in srgb, var(--card-accent) 58%, #2a1a12);
  border-radius: 7px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card-accent) 7%, transparent), transparent 35%),
    repeating-linear-gradient(0deg, #132236 0, #132236 42px, #0e1a2b 43px, #0e1a2b 84px);
  box-shadow:
    0 30px 64px rgba(0, 0, 0, 0.35),
    inset 0 0 0 7px rgba(38, 21, 12, 0.24);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.adminCard:hover {
  box-shadow: 0 35px 72px rgba(0, 0, 0, 0.43), 0 0 30px color-mix(in srgb, var(--card-accent) 14%, transparent);
  transform: translateY(-5px);
}

.adminCard-security {
  --card-accent: #5f8d54;
}

.adminCard-community {
  --card-accent: #7461a8;
}

.adminRibbon {
  position: absolute;
  top: -17px;
  left: 50%;
  min-width: 160px;
  padding: 9px 25px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    var(--card-accent);
  box-shadow: 0 8px 17px rgba(0, 0, 0, 0.3);
  color: #fff3da;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  transform: translateX(-50%);
}

.adminRibbon::before,
.adminRibbon::after {
  position: absolute;
  top: 8px;
  border-top: 17px solid var(--card-accent);
  border-bottom: 17px solid var(--card-accent);
  content: "";
  filter: brightness(0.72);
}

.adminRibbon::before {
  right: 100%;
  border-left: 16px solid transparent;
}

.adminRibbon::after {
  left: 100%;
  border-right: 16px solid transparent;
}

.adminAvatar {
  position: relative;
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  margin: 0 auto 30px;
  border: 6px solid #301c11;
  border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--card-accent) 23%, transparent), transparent 58%),
    linear-gradient(145deg, #182a3f, #081321);
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.48), 0 0 0 2px color-mix(in srgb, var(--card-accent) 44%, transparent);
}

.adminAvatarSilhouette {
  position: relative;
  width: 78px;
  height: 102px;
  border-radius: 48% 48% 43% 43%;
  background: #040b13;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.5));
}

.adminAvatarSilhouette::before,
.adminAvatarSilhouette::after {
  position: absolute;
  top: -24px;
  width: 38px;
  height: 48px;
  background: #040b13;
  content: "";
}

.adminAvatarSilhouette::before {
  left: 2px;
  clip-path: polygon(0 0, 100% 62%, 20% 100%);
}

.adminAvatarSilhouette::after {
  right: 2px;
  clip-path: polygon(100% 0, 80% 100%, 0 62%);
}

.adminBadge {
  position: absolute;
  right: -6px;
  bottom: 8px;
  padding: 6px 9px;
  border: 2px solid #29170e;
  border-radius: 999px;
  background: var(--card-accent);
  color: #fff4de;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.adminRole {
  margin: 0 0 9px;
  color: color-mix(in srgb, var(--card-accent) 74%, #fff0d2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.adminSubtitle {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 800;
}

.adminDivider {
  display: block;
  width: 56px;
  height: 2px;
  margin: 20px auto;
  background: var(--card-accent);
}

.adminDescription {
  margin: 0;
  color: rgba(241, 236, 214, 0.74);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.85;
}

.adminValues {
  margin-top: clamp(90px, 11vw, 145px);
  padding: 52px;
  border: 1px solid rgba(121, 77, 42, 0.55);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 178, 74, 0.06), transparent 22%),
    rgba(5, 12, 23, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), inset 0 0 0 9px rgba(255, 255, 255, 0.015);
}

.adminValueList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.adminValueItem {
  --value-accent: #5f8d54;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: start;
  gap: 20px;
}

.adminValueItem-action {
  --value-accent: #d57722;
}

.adminValueItem-safe {
  --value-accent: #7461a8;
}

.adminValueIcon {
  position: relative;
  width: 62px;
  height: 62px;
  border: 1px solid color-mix(in srgb, var(--value-accent) 62%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--value-accent) 12%, transparent);
}

.adminValueIcon::before,
.adminValueIcon::after {
  position: absolute;
  content: "";
}

.adminValueIcon::before {
  inset: 18px;
  border: 3px solid var(--value-accent);
  border-radius: 50%;
}

.adminValueIcon::after {
  right: 10px;
  bottom: 9px;
  width: 19px;
  height: 3px;
  border-radius: 3px;
  background: var(--value-accent);
  transform: rotate(-38deg);
}

.adminValueItem h3 {
  margin: 0 0 9px;
  color: color-mix(in srgb, var(--value-accent) 72%, #fff1d5);
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: 800;
}

.adminValueItem p {
  margin: 0;
  color: rgba(241, 236, 214, 0.67);
  font-size: 0.85rem;
  line-height: 1.75;
}

.membersCTA {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 72px;
  padding: 36px 44px;
  border: 1px solid rgba(255, 178, 74, 0.35);
  background: linear-gradient(100deg, rgba(255, 157, 36, 0.09), rgba(5, 13, 24, 0.92) 35%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.membersCTA p {
  margin: 0 0 8px;
  color: rgba(241, 236, 214, 0.62);
  font-size: 0.84rem;
}

.membersCTA h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
}

.membersCTALantern {
  width: 62px;
  height: 78px;
  border: 4px solid #25160e;
  border-radius: 15px 15px 22px 22px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(44, 23, 11, 0.55) 47% 53%, transparent 54%),
    radial-gradient(circle, #ffe7aa 0 13%, #ffaf39 39%, #9b4815 76%);
  box-shadow: 0 0 32px rgba(255, 160, 37, 0.38);
}

.membersCTA .ctfButton {
  margin: 0;
}

@media (max-width: 900px) {
  .membersIntroArea {
    grid-template-columns: 1fr;
  }

  .pinnedNote {
    justify-self: center;
  }

  .adminCardList {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .adminCard {
    width: min(100%, 560px);
    min-height: 0;
    justify-self: center;
  }

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

  .membersCTA {
    grid-template-columns: 70px 1fr;
  }

  .membersCTA .ctfButton {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .membersPage {
    padding-top: 76px;
  }

  .membersPage::before {
    inset: 76px 0 0;
  }

  .scrollProgressNav {
    width: min(100% - 24px, 1120px);
    margin-top: 24px;
    overflow-x: auto;
  }

  .progressItem small {
    font-size: 0.58rem;
  }

  .membersMain {
    width: min(100% - 32px, 1280px);
    padding-top: 64px;
  }

  .membersIntroArea {
    min-height: 0;
  }

  .membersHero h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .membersLead br {
    display: none;
  }

  .pinnedNote {
    padding: 52px 30px 35px;
  }

  .adminCard {
    padding: 54px 24px 30px;
  }

  .adminAvatar {
    width: 145px;
    height: 145px;
  }

  .adminValues {
    padding: 38px 22px;
  }

  .adminValueItem {
    grid-template-columns: 54px 1fr;
  }

  .adminValueIcon {
    width: 54px;
    height: 54px;
  }

  .membersCTA {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    text-align: center;
  }

  .membersCTALantern {
    justify-self: center;
  }
}

/* Home About scene */
.homeAboutFrame {
  min-height: 115svh;
}

.homeAboutFrame .frameInner {
  width: min(100% - 48px, 1560px);
  min-height: 115svh;
  padding-top: calc(var(--header-height, 88px) + 76px);
  padding-bottom: 92px;
}

.homeAboutLayout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(42px, 4vw, 72px);
}

.homeAboutCopy {
  position: relative;
  z-index: 6;
  max-width: 540px;
  padding-left: 30px;
}

.homeAboutCopy::before {
  position: absolute;
  top: 2px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, #ffb24a, rgba(255, 178, 74, 0.05));
  content: "";
}

.homeAboutCopy::after {
  position: absolute;
  top: 2px;
  left: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffb24a;
  box-shadow: 0 0 15px rgba(255, 178, 74, 0.64);
  content: "";
}

.homeAboutCopy > p:not(.frameEyebrow) {
  max-width: 470px;
}

.homeAboutCopy h2 {
  max-width: 10em;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.aboutQuickFacts {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid rgba(241, 236, 214, 0.09);
}

.aboutQuickFact {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(241, 236, 214, 0.09);
}

.aboutQuickFact dt {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aboutQuickFact dt span {
  color: rgba(255, 178, 74, 0.5);
  font-size: 0.65rem;
  font-weight: 900;
}

.aboutQuickFact dt strong {
  color: #ffc66e;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.aboutQuickFact dd {
  margin: 0;
  color: rgba(241, 236, 214, 0.64);
  font-size: 0.78rem;
  font-weight: 600;
}

.homeAboutBoardArea {
  position: relative;
  min-width: 0;
  padding-top: 25px;
}

.homeAboutBoardArea .noticeBoardShell {
  width: min(108%, 880px);
  max-width: 880px;
}

.homeAboutBoardArea::before {
  position: absolute;
  z-index: -1;
  top: 16%;
  right: -8%;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 168, 53, 0.12), transparent 68%);
  content: "";
  filter: blur(18px);
}

.boardLocationLabel {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 215, 150, 0.58);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.boardLocationLabel span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5a13b;
  box-shadow: 0 0 10px rgba(245, 161, 59, 0.6);
}

.homeAboutBoardArea .notice-board {
  transform: perspective(1400px) rotateY(-1.8deg);
  transform-origin: center left;
}

.homeAboutDecorations {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.villageDirectionSign {
  position: absolute;
  left: clamp(14px, 2.4vw, 42px);
  min-width: 120px;
  padding: 9px 26px 9px 18px;
  border: 1px solid rgba(145, 82, 35, 0.58);
  background:
    linear-gradient(90deg, rgba(255, 191, 99, 0.08), transparent),
    #29180f;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.34);
  color: rgba(255, 184, 77, 0.58);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  clip-path: polygon(0 5%, 85% 0, 100% 50%, 85% 100%, 0 94%);
  transform-origin: left center;
}

.villageDirectionSign--one {
  bottom: 20%;
  transform: rotate(-3deg);
}

.villageDirectionSign--two {
  bottom: 13%;
  left: clamp(32px, 4vw, 72px);
  transform: rotate(2deg);
}

.homeAboutGroundLight {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 52%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255, 143, 32, 0.09);
  filter: blur(35px);
  transform: perspective(300px) rotateX(68deg);
}

.homeAboutBranch {
  position: absolute;
  top: 12%;
  right: -4%;
  width: 190px;
  height: 240px;
  border-right: 8px solid rgba(3, 8, 14, 0.86);
  border-radius: 50%;
  transform: rotate(-11deg);
}

.homeAboutBranch::before,
.homeAboutBranch::after {
  position: absolute;
  right: -6px;
  width: 120px;
  height: 80px;
  background: #03080e;
  content: "";
  opacity: 0.84;
}

.homeAboutBranch::before {
  top: 42px;
  clip-path: polygon(100% 48%, 54% 38%, 74% 0, 42% 29%, 31% 2%, 24% 38%, 0 20%, 18% 57%, 2% 78%, 42% 69%, 60% 100%, 67% 63%);
}

.homeAboutBranch::after {
  top: 128px;
  clip-path: polygon(100% 47%, 61% 33%, 79% 0, 45% 26%, 28% 2%, 26% 39%, 0 24%, 19% 58%, 3% 83%, 43% 69%, 60% 100%, 69% 61%);
}

@media (max-width: 1280px) {
  .homeAboutLayout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 44px;
  }

  .homeAboutCopy h2 {
    font-size: clamp(2rem, 3.15vw, 2.55rem);
  }

  .aboutQuickFact {
    grid-template-columns: 84px 1fr;
  }
}

@media (max-width: 1080px) {
  .homeAboutFrame,
  .homeAboutFrame .frameInner {
    min-height: auto;
  }

  .homeAboutFrame .frameInner {
    padding-top: calc(var(--header-height, 88px) + 68px);
    padding-bottom: 88px;
  }

  .homeAboutLayout {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .homeAboutCopy {
    max-width: 650px;
  }

  .homeAboutCopy h2 {
    max-width: 100%;
    white-space: normal;
  }

  .homeAboutBoardArea {
    width: 100%;
  }

  .homeAboutBoardArea .notice-board {
    transform: none;
  }

  .villageDirectionSign {
    opacity: 0.45;
  }
}

@media (max-width: 760px) {
  .homeAboutFrame .frameInner {
    padding-top: 118px;
    padding-bottom: 82px;
  }

  .homeAboutCopy {
    padding-left: 20px;
  }

  .homeAboutCopy h2 {
    max-width: 9.5em;
    font-size: clamp(1.9rem, 9vw, 2.7rem);
    line-height: 1.34;
  }

  .aboutQuickFact {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .boardLocationLabel {
    left: 8px;
  }

  .homeAboutBranch,
  .villageDirectionSign {
    display: none;
  }
}

/* Notice Board image asset */
.noticeBoardShell {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1672 / 941;
  min-width: 0;
  justify-self: end;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("/assets/notice-board-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.42));
}

.noticeBoardShell::before,
.noticeBoardShell::after {
  content: none;
}

.noticeBoardContent {
  position: absolute;
  inset: 14.8% 25.5% 16.2% 17.8%;
  display: grid;
  grid-template-rows: 35.5% 1fr;
  gap: 8.2%;
  color: #1b130b;
}

.boardHeaderPaper {
  display: grid;
  width: 89%;
  min-width: 0;
  place-content: center;
  margin-left: 11%;
  padding: 2% 7% 1%;
  background: transparent;
  box-shadow: none;
  color: #1b130b;
  text-align: center;
  transform: none;
  clip-path: none;
}

.boardHeaderPaper h2 {
  margin: 0 0 3.5%;
  font-family: var(--display-font);
  font-size: clamp(0.72rem, 1.35vw, 1.38rem);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1.3;
}

.boardHeaderPaper p {
  margin: 1% 0 0;
  color: #392719;
  font-size: clamp(0.48rem, 0.72vw, 0.76rem);
  font-weight: 700;
  line-height: 1.45;
}

.promiseCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 2.6%;
}

.promiseCard {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8% 6% 6%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1b130b;
  text-align: center;
  transform: none;
  clip-path: none;
}

.promiseCard h3 {
  margin: 0;
  font-size: clamp(0.55rem, 0.92vw, 0.93rem);
  font-weight: 900;
  line-height: 1.35;
}

.promiseCardDivider {
  display: block;
  width: 38%;
  height: 2px;
  margin: 8% auto 9%;
  border-radius: 2px;
  background: #ad6426;
  opacity: 0.68;
}

.promiseCardFlat .promiseCardDivider {
  background: #58794d;
}

.promiseCardCtf .promiseCardDivider {
  background: #6b5b94;
}

.promiseCard p {
  margin: 0;
  color: #3f2d1d;
  font-size: clamp(0.4rem, 0.6vw, 0.64rem);
  font-weight: 650;
  line-height: 1.55;
}

.aboutPage .aboutTop {
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  gap: 56px;
}

.aboutPage .noticeBoardShell {
  max-width: 760px;
}

.joinCta {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 44px;
  max-width: 980px;
  padding: 32px 40px !important;
}

.joinCtaCopy h2 {
  margin: 0 0 12px;
}

.joinCtaCopy p {
  margin: 0;
}

.joinCta .ctfButton {
  min-width: 230px;
  margin: 0;
}

@media (max-width: 900px) {
  .aboutPage .aboutTop {
    grid-template-columns: 1fr;
  }

  .noticeBoardShell {
    max-width: 760px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .noticeBoardShell {
    aspect-ratio: auto;
    min-height: 690px;
    background-position: center;
    background-size: auto 100%;
  }

  .noticeBoardContent {
    inset: 15% 15% 14% 15%;
    grid-template-rows: auto 1fr;
    gap: 28px;
  }

  .boardHeaderPaper {
    width: 100%;
    min-height: 150px;
    margin-left: 0;
    padding: 22px 18px;
    background: rgba(232, 216, 184, 0.9);
    clip-path: polygon(1% 1%, 99% 0, 100% 96%, 97% 100%, 1% 98%);
  }

  .boardHeaderPaper h2 {
    font-size: 1.1rem;
  }

  .boardHeaderPaper p {
    font-size: 0.68rem;
  }

  .promiseCards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .promiseCard {
    min-height: 112px;
    padding: 18px 20px;
    background: rgba(229, 211, 176, 0.92);
    clip-path: polygon(1% 1%, 99% 0, 100% 97%, 96% 100%, 1% 98%);
  }

  .promiseCard h3 {
    font-size: 0.9rem;
  }

  .promiseCardDivider {
    width: 44px;
    margin: 9px auto 10px;
  }

  .promiseCard p {
    font-size: 0.72rem;
  }

  .joinCta {
    grid-template-columns: 1fr !important;
    padding: 28px 22px !important;
  }

  .joinCta .ctfButton {
    width: 100%;
  }
}

/* Join + Contact frame */
.joinFrame {
  min-height: 100svh;
}

.joinFrameInner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(58px, 8vw, 120px);
}

.joinIntro {
  max-width: 650px;
}

.joinTitle {
  margin: 0 0 27px;
  color: #f3e5cd;
  font-family: var(--display-font);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.3;
}

.joinLead,
.joinDescription {
  margin: 0;
  color: rgba(241, 236, 214, 0.78);
  font-size: clamp(0.94rem, 1.2vw, 1.06rem);
  font-weight: 500;
  line-height: 1.9;
}

.joinDescription {
  margin-top: 5px;
}

.joinSteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.joinStep {
  position: relative;
  min-width: 0;
  padding: 15px 13px;
  border: 1px solid rgba(255, 178, 74, 0.17);
  border-radius: 7px;
  background: rgba(255, 160, 39, 0.045);
}

.joinStep:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -9px;
  z-index: 2;
  color: rgba(255, 178, 74, 0.5);
  content: "›";
  transform: translateY(-50%);
}

.joinStep span,
.joinStep strong {
  display: block;
}

.joinStep span {
  margin-bottom: 5px;
  color: #d67b28;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.joinStep strong {
  color: rgba(241, 236, 214, 0.84);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.45;
}

.joinLockedNote {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: #aab1c7;
  font-size: 0.78rem;
  font-weight: 700;
}

.joinLockedNote::before {
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.joinActions {
  margin-top: 30px;
}

.joinActions .ctfButton {
  min-width: 280px;
  margin: 0;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 153, 26, 0.28);
  color: #fff1cf;
  text-shadow: 0 2px 7px rgba(44, 20, 7, 0.72);
}

.joinSide {
  display: grid;
  gap: 20px;
}

.joinSide .discordLockedCard {
  max-width: none;
  margin: 0;
  padding: 24px;
  border-color: rgba(139, 147, 180, 0.26);
  background:
    linear-gradient(145deg, rgba(139, 147, 180, 0.075), transparent 55%),
    rgba(4, 10, 20, 0.9);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.discordStatus {
  padding: 5px 10px;
  border: 1px solid rgba(139, 147, 180, 0.35);
  border-radius: 999px;
  color: #aeb5cc;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.discordLockedDescription {
  margin: 7px 0 0 !important;
  color: rgba(211, 214, 225, 0.64) !important;
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
}

.contactMiniCard {
  padding: 24px;
  border: 1px solid rgba(126, 81, 44, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 178, 74, 0.055), transparent 52%),
    rgba(8, 17, 29, 0.84);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.contactMiniCard h3 {
  margin: 0 0 16px;
  color: #f0dfc3;
  font-family: var(--display-font);
  font-size: 1.12rem;
  font-weight: 800;
}

.contactItem {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-top: 1px solid rgba(241, 236, 214, 0.08);
}

.contactItem span {
  color: #d9822c;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contactItem a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(241, 236, 214, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.contactItem a:hover,
.contactItem a:focus-visible {
  color: #ffc971;
}

.joinFrame .homeFooter {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
}

@media (max-width: 900px) {
  .joinFrameInner {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-bottom: 120px;
  }

  .joinIntro,
  .joinSide {
    width: min(100%, 680px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .joinSteps {
    grid-template-columns: 1fr;
  }

  .joinStep:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -14px;
    transform: translateX(50%) rotate(90deg);
  }

  .joinActions .ctfButton {
    width: 100%;
    min-width: 0;
  }

  .joinSide .discordLockedCard,
  .contactMiniCard {
    padding: 20px;
  }
}

/* Notice Board layout for notice-board-bg.png */
@media (min-width: 761px) {
  .noticeBoardShell {
    container-type: inline-size;
  }

  .noticeBoardContent {
    position: absolute;
    inset: 0;
    display: block;
  }

  .noticeBoardContent .boardHeaderPaper {
    position: absolute;
    top: 22.4%;
    left: 18.9%;
    display: grid;
    width: 36%;
    height: 61.5%;
    place-content: center;
    margin: 0;
    padding: 8% 7% 6%;
  }

  .noticeBoardContent .boardHeaderPaper h2 {
    margin-bottom: 8%;
    font-size: clamp(1.04rem, 3cqw, 2.05rem);
    line-height: 1.38;
    white-space: nowrap;
  }

  .noticeBoardContent .boardHeaderPaper p {
    margin-top: 3%;
    font-size: clamp(0.63rem, 1.5cqw, 1rem);
    line-height: 1.62;
  }

  .noticeBoardContent .promiseCards {
    position: absolute;
    inset: 0;
    display: block;
  }

  .noticeBoardContent .promiseCard {
    position: absolute;
    display: flex;
    margin: 0;
    padding: 3% 5%;
    transform: none;
  }

  .noticeBoardContent .promiseCardFlat {
    top: 23.2%;
    left: 56.9%;
    width: 22.2%;
    height: 21.7%;
  }

  .noticeBoardContent .promiseCardPeer {
    top: 48.5%;
    left: 56.6%;
    width: 10.8%;
    height: 32%;
    padding-inline: 1.2%;
  }

  .noticeBoardContent .promiseCardCtf {
    top: 48.5%;
    left: 68.9%;
    width: 11.5%;
    height: 32%;
    padding-inline: 1.2%;
  }

  .noticeBoardContent .promiseCard h3 {
    font-size: clamp(0.64rem, 1.8cqw, 1.2rem);
    line-height: 1.35;
    white-space: nowrap;
  }

  .noticeBoardContent .promiseCardPeer h3,
  .noticeBoardContent .promiseCardCtf h3 {
    font-size: clamp(0.56rem, 1.42cqw, 1rem);
  }

  .noticeBoardContent .promiseCardDivider {
    width: 38%;
    margin: 6% auto 7%;
  }

  .noticeBoardContent .promiseCard p {
    font-size: clamp(0.47rem, 1.04cqw, 0.73rem);
    line-height: 1.5;
  }

  .noticeBoardContent .promiseCardPeer p,
  .noticeBoardContent .promiseCardCtf p {
    font-size: clamp(0.42rem, 0.88cqw, 0.63rem);
  }
}

@media (max-width: 760px) {
  .noticeBoardShell {
    min-height: 720px;
    background-size: auto 100%;
    background-position: center top;
  }

  .noticeBoardContent {
    inset: 13% 14% 12%;
  }
}

.noticeBoardShell {
  max-width: 880px;
  background-image: url("/assets/notice-board-bg.png");
}

.joinFrame {
  background-color: var(--night);
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 13, 27, 0.98) 0%,
      rgba(7, 13, 27, 0.9) 34%,
      rgba(7, 13, 27, 0.5) 66%,
      rgba(7, 13, 27, 0.18) 100%
    ),
    url("/assets/join-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.joinFrame .sceneLayers {
  display: none;
}

.aboutAssetLantern,
.joinAssetLantern {
  position: absolute;
  z-index: 4;
  width: clamp(130px, 13vw, 220px);
  height: auto;
  opacity: 0.17;
  mix-blend-mode: screen;
  filter: saturate(0.88) blur(0.2px);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(circle at center, #000 20%, transparent 70%);
}

.aboutAssetLantern {
  top: 10%;
  right: -2%;
}

.joinAssetLantern {
  right: 3%;
  bottom: 4%;
  opacity: 0.12;
}

.promiseCard {
  overflow: hidden;
}

.promiseCard::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("/assets/paper-card-texture.png") center / cover no-repeat;
  content: "";
  opacity: 0.055;
  mix-blend-mode: multiply;
  pointer-events: none;
}

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

.joinActions .ctfButton,
.site-nav__link--cta {
  background-image:
    linear-gradient(rgba(255, 178, 74, 0.74), rgba(213, 119, 34, 0.82)),
    url("/assets/wood-sign-bg.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: color, normal;
}

.joinSide .discordLockedCard,
.contactMiniCard {
  backdrop-filter: blur(13px);
}

@media (max-width: 900px) {
  .joinFrame {
    background-image:
      linear-gradient(180deg, rgba(7, 13, 27, 0.86), rgba(7, 13, 27, 0.68) 48%, rgba(7, 13, 27, 0.9)),
      url("/assets/join-path-bg.png");
    background-position: 62% center;
  }
}

@media (max-width: 760px) {
  .aboutAssetLantern {
    display: none;
  }

  .joinAssetLantern {
    right: -16%;
    bottom: 7%;
    width: 190px;
    opacity: 0.09;
  }

  .joinFrame {
    background-position: 68% center;
  }
}

/* Members roster detail */
.membersRosterPage {
  min-height: 100vh;
  --header-height: 88px;
  padding-top: 88px;
  overflow-x: hidden;
  background-color: var(--night);
  background-image:
    linear-gradient(180deg, rgba(7, 13, 27, 0.92) 0%, rgba(7, 13, 27, 0.42) 18%, rgba(7, 13, 27, 0.82) 66%, #070d1b 100%),
    linear-gradient(180deg, rgba(7, 13, 27, 0.74), rgba(7, 13, 27, 0.94) 58%, #070d1b 100%),
    url("/assets/members-bg.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.membersRosterPage::before {
  content: none;
}

.membersRosterMain {
  width: min(100% - 48px, 1320px);
  padding-top: clamp(76px, 9vw, 126px);
  padding-bottom: 70px;
}

.membersRosterHero {
  position: relative;
  max-width: 720px;
  min-height: 0;
  padding: 0;
}

.membersRosterHero h1 {
  margin-bottom: 30px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.32;
}

.membersRosterHero h1 {
  white-space: nowrap;
}

.rosterBoard {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1220px;
  scroll-margin-top: calc(var(--header-height, 88px) + 24px);
  margin: clamp(52px, 7vw, 92px) auto 0;
  padding: clamp(70px, 8vw, 112px) clamp(34px, 6vw, 82px) clamp(76px, 8vw, 108px);
  border: 1px solid rgba(255, 178, 74, 0.18);
  border-radius: 12px;
  background-color: rgba(7, 13, 27, 0.88);
  background-image:
    linear-gradient(180deg, rgba(7, 13, 27, 0.42), rgba(7, 13, 27, 0.74)),
    url("/assets/members/roster-board-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-soft);
}

.rosterBoard::before {
  position: absolute;
  z-index: -1;
  inset: 16px;
  border: 1px solid rgba(255, 203, 122, 0.1);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.rosterBoardHeading {
  margin-bottom: clamp(44px, 6vw, 70px);
  text-align: center;
}

.rosterBoardHeading p {
  margin: 0 0 9px;
  color: var(--lantern);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.rosterBoardHeading h2 {
  margin: 0;
  color: #f2e4cb;
  font-family: var(--display-font);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
}

.rosterMemberCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(22px, 3vw, 38px);
}

.rosterMemberCard {
  --member-accent: #d57722;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 420px;
  flex-direction: column;
  align-items: center;
  padding: 46px 30px 34px;
  border: 1px solid rgba(94, 57, 26, 0.42);
  border-radius: var(--radius-card);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(241, 236, 214, 0.12), rgba(232, 220, 194, 0.12)),
    url("/assets/members/member-card-bg.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-paper);
  color: var(--ink);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rosterMemberCard:hover {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
  transform: translateY(-5px) rotate(-0.25deg);
}

.rosterMemberCard-curiosity {
  --member-accent: #5f8d54;
}

.rosterMemberCard-kumama {
  --member-accent: #7461a8;
}

.rosterMemberCard::before {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffd078, var(--member-accent) 68%);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.22);
  content: "";
  transform: translateX(-50%);
}

.rosterMemberAvatar {
  display: block;
  width: 142px;
  height: 142px;
  min-width: 142px;
  max-width: 142px;
  margin: 0 auto 26px;
  border: 4px solid color-mix(in srgb, var(--member-accent) 72%, #ffe1a8);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 45%, #f6eddc 0%, #eadfc7 74%, #d0b98f 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  visibility: visible;
  animation: roster-avatar-float 3.6s ease-in-out infinite;
  transform-origin: 50% 62%;
  will-change: transform, filter;
}

.rosterMemberCard-curiosity .rosterMemberAvatar {
  animation-delay: -0.8s;
}

.rosterMemberCard-kumama .rosterMemberAvatar {
  animation-delay: -1.6s;
}

.rosterMemberCard:hover .rosterMemberAvatar {
  animation-duration: 2.8s;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.16));
}

.rosterMemberRole {
  margin: 0 0 9px;
  color: var(--member-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rosterMemberCard h3 {
  margin: 0;
  color: #25180e;
  font-family: var(--display-font);
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  font-weight: 900;
}

.rosterMemberDivider {
  width: 54px;
  height: 2px;
  margin: 18px auto;
  background: var(--member-accent);
  opacity: 0.72;
}

.memberBio {
  flex: 1;
  margin: 0;
  color: #513a24;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.75;
}

.memberXLink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 18px;
  border: 1px solid color-mix(in srgb, var(--member-accent) 62%, transparent);
  border-radius: 999px;
  color: #4d311d;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.memberXLinkPending {
  cursor: not-allowed;
  opacity: 0.52;
  pointer-events: none;
}

.membersMessage {
  width: min(100%, 900px);
  margin: clamp(72px, 9vw, 120px) auto 0;
  padding: 34px 42px;
  border-left: 3px solid var(--lantern);
  background:
    linear-gradient(90deg, rgba(255, 178, 74, 0.08), transparent 52%),
    rgba(8, 16, 31, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.membersMessage p {
  margin: 0;
  color: rgba(255, 248, 232, 0.94);
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  font-weight: 500;
  line-height: 1.95;
  text-align: center;
}

.membersRosterCTA {
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 980px;
  margin: 58px auto 0;
  border-color: rgba(255, 190, 92, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 178, 74, 0.52), rgba(255, 124, 32, 0.28) 42%, rgba(109, 214, 160, 0.08)),
    #10182a;
  color: #fff8e8;
  opacity: 1;
  filter: none;
}

.membersRosterCTA p {
  color: rgba(255, 248, 232, 0.96);
  font-size: 0.92rem;
}

.membersRosterCTA h2 {
  color: #fff7df;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  text-shadow: 0 0 14px rgba(255, 178, 74, 0.16);
}

.membersRosterCTA .ctfButton {
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc15b, #ff9418);
  box-shadow:
    0 0 24px rgba(255, 145, 17, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #221409;
  text-shadow: none;
}

.membersFooter {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 26px;
  border-top: 1px solid rgba(241, 236, 214, 0.07);
  color: rgba(241, 236, 214, 0.46);
  font-size: 0.72rem;
}

.membersFooter a {
  color: rgba(255, 196, 105, 0.62);
  text-decoration: none;
}

@media (max-width: 900px) {
  .rosterMemberCards {
    grid-template-columns: 1fr;
  }

  .rosterMemberCard {
    width: min(100%, 560px);
    min-height: 0;
    justify-self: center;
  }

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

  .membersRosterCTA .ctfButton {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .membersRosterPage {
    --header-height: 76px;
    padding-top: 76px;
    background-attachment: scroll;
    background-position: 66% top;
  }

  .membersRosterMain {
    width: min(100% - 32px, 1320px);
    padding-top: 62px;
  }

  .membersRosterHero h1 {
    font-size: clamp(2.4rem, 12vw, 3.7rem);
    white-space: normal;
  }

  .membersRosterHero {
    min-height: 0;
    padding-bottom: 0;
  }

  .membersRosterHero .membersLead br,
  .membersMessage br {
    display: none;
  }

  .rosterBoard {
    margin-top: 72px;
    padding: 68px 18px 48px;
  }

  .rosterMemberCard {
    padding: 42px 24px 30px;
  }

  .rosterMemberAvatar {
    width: 126px;
    height: 126px;
    min-width: 126px;
    max-width: 126px;
  }

  .membersMessage {
    padding: 28px 22px;
  }

  .membersRosterCTA {
    padding: 30px 24px;
    border-color: rgba(255, 205, 116, 0.86);
    background:
      linear-gradient(135deg, rgba(255, 193, 91, 0.68), rgba(255, 148, 24, 0.42) 48%, rgba(109, 214, 160, 0.1)),
      #172033;
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.32),
      0 0 24px rgba(255, 151, 28, 0.16);
  }

  .membersRosterCTA p {
    color: #fff4d6;
    font-weight: 800;
  }

  .membersRosterCTA h2 {
    color: #fff9e8;
    text-shadow:
      0 2px 12px rgba(0, 0, 0, 0.42),
      0 0 18px rgba(255, 190, 92, 0.22);
  }

  .membersRosterCTA .ctfButton {
    background: linear-gradient(135deg, #ffd071, #ff9b21);
    color: #1e1208;
    box-shadow:
      0 0 26px rgba(255, 151, 28, 0.62),
      inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  }

  .membersFooter {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

/* Motion system */
@keyframes village-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes board-arrive {
  from {
    opacity: 0;
    transform: perspective(1400px) rotateY(-3deg) translate3d(34px, 26px, 0);
  }

  to {
    opacity: 1;
    transform: perspective(1400px) rotateY(-1.8deg) translate3d(0, 0, 0);
  }
}

@keyframes paper-settle {
  from {
    opacity: 0;
    transform: translate3d(0, -16px, 0) rotate(-0.8deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes lantern-sway {
  0%,
  100% {
    transform: rotate(-1.2deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(1.4deg) translate3d(0, 3px, 0);
  }
}

@keyframes lantern-breathe {
  0%,
  100% {
    opacity: 0.13;
  }

  50% {
    opacity: 0.22;
  }
}

@keyframes roster-card-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0) rotate(-0.6deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

@keyframes roster-avatar-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-8px) rotate(-2deg) scale(1.01);
  }

  50% {
    transform: translateY(-3px) rotate(0deg) scale(1);
  }

  75% {
    transform: translateY(-12px) rotate(2deg) scale(1.015);
  }
}

.aboutAssetLantern,
.joinAssetLantern {
  transform-origin: 50% 8%;
  animation:
    lantern-sway 5.8s ease-in-out infinite,
    lantern-breathe 3.4s ease-in-out infinite;
  will-change: transform, opacity;
}

.joinAssetLantern {
  animation-delay: -1.7s, -0.9s;
}

.rosterMemberCard {
  opacity: 0;
  animation: roster-card-enter 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

.rosterMemberCard:nth-child(1) {
  animation-delay: 120ms;
}

.rosterMemberCard:nth-child(2) {
  animation-delay: 240ms;
}

.rosterMemberCard:nth-child(3) {
  animation-delay: 360ms;
}

@supports (animation-timeline: view()) {
  .homeAboutCopy,
  .joinIntro,
  .joinSide {
    animation: village-rise linear both;
    animation-range: entry 8% cover 34%;
    animation-timeline: view();
  }

  .homeAboutBoardArea {
    animation: board-arrive linear both;
    animation-range: entry 4% cover 32%;
    animation-timeline: view();
  }

  .noticeBoardContent .boardHeaderPaper,
  .noticeBoardContent .promiseCard {
    animation: paper-settle linear both;
    animation-timeline: view();
  }

  .noticeBoardContent .boardHeaderPaper {
    animation-range: entry 4% cover 22%;
  }

  .noticeBoardContent .promiseCardFlat {
    animation-range: entry 8% cover 25%;
  }

  .noticeBoardContent .promiseCardPeer {
    animation-range: entry 11% cover 28%;
  }

  .noticeBoardContent .promiseCardCtf {
    animation-range: entry 14% cover 31%;
  }
}

@media (max-width: 760px) {
  .aboutAssetLantern,
  .joinAssetLantern {
    animation-duration: 7s, 4.5s;
  }

  .rosterMemberCard {
    animation-delay: 80ms;
  }

  .rosterMemberAvatar {
    animation-duration: 4.2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aboutAssetLantern,
  .joinAssetLantern,
  .rosterMemberCard,
  .rosterMemberAvatar {
    opacity: 1;
    animation: none !important;
    transform: none;
    filter: none;
  }
}

/* Final responsive polish */
.site-nav__link--cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .site-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
  }

  .site-nav__link {
    flex: 0 0 auto;
    padding-block: 10px;
    font-size: 0.86rem;
  }

  .site-nav__link--home,
  .site-nav__link--members,
  .site-nav__link--events {
    display: inline-flex !important;
  }

  .site-nav__link--cta {
    min-width: 96px;
    min-height: 38px;
    padding: 10px 13px;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 8px;
    padding-inline: 10px;
  }

  .brand__image {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    gap: 8px;
  }

  .site-nav__link {
    font-size: 0.72rem;
  }

  .site-nav__link--cta {
    min-width: 78px;
    padding-inline: 9px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 76px;
    min-height: 76px;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 10px;
  }

  .site-nav {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    gap: clamp(6px, 2vw, 10px);
    margin-left: 0;
  }

  .site-nav__link {
    padding-block: 8px;
    font-size: clamp(0.82rem, 3.3vw, 0.98rem);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .site-nav__link--home,
  .site-nav__link--members,
  .site-nav__link--events {
    display: inline-flex !important;
  }

  .site-nav__link--cta {
    min-width: 0;
    padding: 8px clamp(8px, 2vw, 11px);
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-inline: 8px;
  }

  .brand__image {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav__link {
    font-size: 0.76rem;
  }

  .site-nav__link--cta {
    padding-inline: 7px;
  }
}

@media (max-width: 760px) {
  .noticeBoardShell {
    container-type: inline-size;
    aspect-ratio: 1672 / 941;
    min-height: 0;
    max-width: 100%;
    padding: 0;
    background-image: url("/assets/notice-board-bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .noticeBoardContent {
    position: absolute;
    inset: 0;
    display: block;
  }

  .noticeBoardContent .boardHeaderPaper {
    position: absolute;
    top: 22.4%;
    left: 18.9%;
    display: grid;
    width: 36%;
    height: 61.5%;
    min-height: 0;
    place-content: center;
    margin: 0;
    padding: 8% 7% 6%;
    background: transparent;
    box-shadow: none;
    clip-path: none;
  }

  .noticeBoardContent .boardHeaderPaper h2 {
    margin-bottom: 8%;
    font-size: clamp(0.38rem, 3cqw, 0.82rem);
    line-height: 1.35;
    white-space: nowrap;
  }

  .noticeBoardContent .boardHeaderPaper p {
    margin-top: 3%;
    font-size: clamp(0.25rem, 1.45cqw, 0.48rem);
    line-height: 1.55;
  }

  .noticeBoardContent .promiseCards {
    position: absolute;
    inset: 0;
    display: block;
  }

  .noticeBoardContent .promiseCard {
    position: absolute;
    display: flex;
    min-height: 0;
    margin: 0;
    padding: 3% 5%;
    background: transparent;
    box-shadow: none;
    clip-path: none;
    transform: none;
  }

  .noticeBoardContent .promiseCardFlat {
    top: 23.2%;
    left: 56.9%;
    width: 22.2%;
    height: 21.7%;
  }

  .noticeBoardContent .promiseCardPeer {
    top: 48.5%;
    left: 56.6%;
    width: 10.8%;
    height: 32%;
    padding-inline: 1.2%;
  }

  .noticeBoardContent .promiseCardCtf {
    top: 48.5%;
    left: 68.9%;
    width: 11.5%;
    height: 32%;
    padding-inline: 1.2%;
  }

  .noticeBoardContent .promiseCard h3 {
    font-size: clamp(0.28rem, 1.55cqw, 0.52rem);
    line-height: 1.3;
    white-space: nowrap;
  }

  .noticeBoardContent .promiseCardPeer h3,
  .noticeBoardContent .promiseCardCtf h3 {
    font-size: clamp(0.24rem, 1.18cqw, 0.44rem);
  }

  .noticeBoardContent .promiseCardDivider {
    width: 38%;
    margin: 6% auto 7%;
  }

  .noticeBoardContent .promiseCard p {
    font-size: clamp(0.2rem, 0.9cqw, 0.34rem);
    line-height: 1.45;
  }

  .noticeBoardContent .promiseCardPeer p,
  .noticeBoardContent .promiseCardCtf p {
    font-size: clamp(0.17rem, 0.72cqw, 0.3rem);
  }
}

/* Events page */
.eventsPage {
  position: relative;
  min-height: 100vh;
  --header-height: 88px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(7, 16, 31, 0.96) 0%, rgba(7, 16, 31, 0.32) 22%, rgba(8, 14, 28, 0.88) 70%, #080e1b 100%),
    radial-gradient(circle at 16% 12%, rgba(109, 214, 160, 0.12), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255, 178, 74, 0.12), transparent 26%),
    linear-gradient(145deg, #07101f 0%, #101626 48%, #080e1b 100%);
}

.eventsPage::before {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 236, 194, 0.16) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  opacity: 0.08;
  pointer-events: none;
}

.eventsMain {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: clamp(112px, 13vw, 154px) 0 56px;
}

.eventsHero {
  position: relative;
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 48px);
  padding-bottom: 0;
}

.eventsHero h1 {
  margin: 0 0 28px;
  color: #f3e4ca;
  font-family: var(--display-font);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.58);
}

.eventsHero .accent {
  color: var(--lantern);
}

.eventsLead {
  margin: 0;
  color: rgba(241, 236, 214, 0.9);
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 600;
  line-height: 2;
}

.eventsTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
  padding: 8px;
  border: 1px solid rgba(255, 195, 83, 0.2);
  border-radius: 8px;
  background: rgba(7, 13, 27, 0.64);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.eventsTab {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(241, 236, 214, 0.82);
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.eventsTab:hover,
.eventsTab:focus-visible,
.eventsTab--active {
  border-color: rgba(255, 195, 83, 0.45);
  background: rgba(255, 178, 74, 0.16);
  color: #ffe7ad;
}

.schedulePanel {
  display: grid;
  gap: 22px;
  scroll-margin-top: calc(var(--header-height, 88px) + 24px);
}

.scheduleIntro {
  max-width: 760px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 195, 83, 0.18);
  border-radius: 8px;
  background: rgba(10, 18, 36, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.scheduleEyebrow,
.scheduleCard__label,
.calendarPlaceholder__label,
.calendarPanel__label {
  margin: 0 0 10px;
  color: var(--pine);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scheduleIntro h2,
.calendarPlaceholder h3,
.calendarPanel h3 {
  margin: 0 0 14px;
  color: #f3e4ca;
  font-family: var(--display-font);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
}

.scheduleIntro p,
.scheduleCard p,
.calendarPlaceholder p,
.calendarPanel p {
  color: rgba(241, 236, 214, 0.82);
  font-weight: 600;
  line-height: 1.8;
}

.scheduleIntro p:last-child,
.scheduleCard p:last-child,
.calendarPlaceholder p:last-child,
.calendarPanel p:last-child {
  margin-bottom: 0;
}

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

.scheduleCard,
.calendarPlaceholder,
.calendarPanel {
  border: 1px solid rgba(255, 195, 83, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 178, 74, 0.08), transparent 44%),
    rgba(8, 14, 28, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.scheduleCard {
  min-height: 190px;
  padding: 24px;
}

.scheduleCard h3 {
  margin: 0 0 12px;
  color: #f3e4ca;
  font-size: 20px;
  font-weight: 900;
}

.calendarPlaceholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-style: dashed;
  text-align: center;
}

.calendarPanel {
  display: grid;
  gap: 22px;
  min-height: 0;
  padding: clamp(24px, 4vw, 36px);
}

.speakerPanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(109, 214, 160, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(109, 214, 160, 0.1), rgba(255, 178, 74, 0.04) 42%),
    rgba(8, 14, 28, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.speakerPanel__intro {
  display: grid;
  gap: 10px;
}

.speakerPanel__label {
  margin: 0;
  color: var(--pine);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.speakerPanel h3 {
  margin: 0;
  color: #f3e4ca;
  font-family: var(--display-font);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
}

.speakerPanel p {
  margin: 0;
  color: rgba(241, 236, 214, 0.82);
  font-weight: 600;
  line-height: 1.8;
}

.speakerPanel__button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5a51d, #ff8d11);
  box-shadow: 0 0 22px rgba(255, 145, 17, 0.42);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.speakerPanel__button:hover,
.speakerPanel__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 145, 17, 0.54);
}

.calendarEmbed {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 195, 83, 0.2);
  border-radius: 8px;
  background: #fff;
}

.calendarEmbed iframe {
  display: block;
  width: 100%;
  height: min(72vh, 680px);
  min-height: 520px;
  border: 0;
}

.calendarPanel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.calendarPanel__status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(109, 214, 160, 0.28);
  border-radius: 999px;
  color: #b9f4d2;
  background: rgba(109, 214, 160, 0.1);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendarEventList {
  display: grid;
  gap: 12px;
}

.calendarEvent {
  display: grid;
  grid-template-columns: minmax(112px, 150px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 195, 83, 0.16);
  border-radius: 8px;
  background: rgba(7, 13, 27, 0.62);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.calendarEvent:hover,
.calendarEvent:focus-visible {
  border-color: rgba(255, 195, 83, 0.42);
  background: rgba(255, 178, 74, 0.1);
  transform: translateY(-1px);
}

.calendarEvent__date {
  color: #ffe7ad;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}

.calendarEvent__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.calendarEvent__body strong {
  color: #f3e4ca;
  font-size: 18px;
  line-height: 1.45;
}

.calendarEvent__body span {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(241, 236, 214, 0.76);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.eventsFooter {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 22px 24px 34px;
  color: rgba(241, 236, 214, 0.7);
  font-size: 14px;
}

.eventsFooter a {
  color: rgba(241, 236, 214, 0.76);
  text-decoration: none;
}

@media (max-width: 760px) {
  .eventsPage {
    --header-height: 76px;
  }

  .eventsMain {
    width: min(100% - 32px, 1180px);
    padding-top: 138px;
  }

  .eventsHero {
    min-height: 0;
    padding-bottom: 0;
  }

  .eventsLead br {
    display: none;
  }

  .eventsTabs {
    display: grid;
  }

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

  .calendarPanel__header,
  .calendarEvent {
    grid-template-columns: 1fr;
  }

  .calendarPanel__header {
    display: grid;
  }

  .calendarEmbed iframe {
    height: 620px;
    min-height: 620px;
  }

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

  .speakerPanel__button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-nav__link--cta {
    display: none !important;
  }

  .homeAboutBoardArea {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
  }

  .homeAboutBoardArea .noticeBoardShell {
    width: 100%;
    max-width: none;
    margin-right: auto;
    transform: none;
    transform-origin: left center;
  }

  .homeAboutBoardArea .boardLocationLabel {
    transform: none;
  }
}
