/* ============================================================
   呼和浩特市第十六中学 · 学生科创联合会
   Visual system: editorial white · warm paper · ink · copper
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #faf9f6;
  --paper-2: #f4f0e8;
  --ink: #141517;
  --ink-2: #3f4348;
  --muted: #70747b;
  --dim: #9a9c9f;
  --line: #e6e2da;
  --line-2: #d6d0c5;
  --copper: #a4693d;
  --copper-soft: #f3eae1;
  --green: #2c5c4f;
  --danger: #b3261e;
  --radius: 2px;
  --radius-lg: 4px;
  --container: 1240px;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "STZhongsong", "SimSun", serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(164, 105, 61, 0.2);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: #c9c3b8;
  border-radius: 10px;
  border: 3px solid var(--paper);
}

::-webkit-scrollbar-thumb:hover {
  background: #ada69a;
}

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

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

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p, dl, dd, ul, ol, figure {
  margin: 0;
}

em,
i,
cite {
  font-style: normal;
}

ul, ol {
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.load-bar {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 200;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.load-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--copper), #d7a67a);
  box-shadow: 0 0 12px rgba(164, 105, 61, 0.45);
  transition: width 0.4s var(--ease);
}

.load-bar.is-done i {
  width: 100% !important;
}

.load-bar.is-done {
  opacity: 0;
}

/* ---------------- Buttons / links ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease, color 0.3s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 21, 23, 0.12);
}

.btn--primary:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(20, 21, 23, 0.18);
}

.btn--ghost {
  border-color: var(--line-2);
  background: var(--white);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--ink);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
}

.btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 11px 21px;
  font-size: 12.5px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.link-arrow::after {
  content: "→";
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--copper);
  border-color: var(--copper);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ---------------- Navigation ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  height: 46px;
  width: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo img {
  width: auto;
  height: 100%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.brand__text strong {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand__text small {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 17px;
  height: 1.4px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.nav__toggle span:first-child {
  top: 16px;
}

.nav__toggle span:last-child {
  top: 22px;
}

.nav.is-open .nav__toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 148px 0 88px;
  overflow: hidden;
  background: var(--white);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 22%, rgba(164, 105, 61, 0.07), transparent 36%),
    radial-gradient(circle at 12% 88%, rgba(44, 92, 79, 0.05), transparent 38%);
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d9d2c7 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 55% 58% at 78% 42%, #000 10%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 55% 58% at 78% 42%, #000 10%, transparent 74%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 76px;
  min-height: calc(100svh - 236px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.eyebrow i {
  color: #c6bfb4;
  font-style: normal;
}

.pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 0 rgba(164, 105, 61, 0.4);
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(164, 105, 61, 0.4); }
  70% { box-shadow: 0 0 0 9px rgba(164, 105, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(164, 105, 61, 0); }
}

.hero__title {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(54px, 7.6vw, 106px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--ink);
}

.hero__title em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: var(--copper);
}

.hero__lead {
  margin-top: 32px;
  max-width: 35em;
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 2;
  color: var(--muted);
}

.hero__lead strong {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid rgba(164, 105, 61, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 640px;
}

.hero__meta > div {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--line);
}

.hero__meta > div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero__meta dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}

.hero__meta dd {
  margin-top: 7px;
  font-size: 13px;
  color: var(--ink-2);
}

/* Hero poster */

.poster-wrap {
  position: relative;
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

.poster-wrap::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--line-2);
  pointer-events: none;
}

.poster {
  position: relative;
  z-index: 2;
  min-height: 582px;
  padding: 30px 32px 28px;
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  box-shadow: 0 34px 70px rgba(20, 21, 23, 0.1);
}

.poster__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ded6c7;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: #8a857c;
}

.poster__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 22px;
  padding: 26px 0 20px;
  border-top: 1px solid #ded6c7;
  border-bottom: 1px solid #ded6c7;
}

.poster__mark-num {
  font-family: var(--serif);
  font-size: 118px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--copper);
}

.poster__mark-line {
  width: 34px;
  height: 1px;
  margin: 14px 0 9px;
  background: var(--ink);
}

.poster__mark-text {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--ink-2);
}

.poster__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 212px;
  height: 212px;
  border: 1px dashed rgba(164, 105, 61, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.poster__ring::before,
.poster__ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.poster__ring::before {
  inset: 22px;
  border: 1px solid rgba(20, 21, 23, 0.08);
}

.poster__ring::after {
  width: 5px;
  height: 5px;
  top: 12px;
  left: 50%;
  background: var(--copper);
  box-shadow: 0 0 10px rgba(164, 105, 61, 0.6);
}

.poster__logo {
  position: relative;
  z-index: 2;
  width: 200px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.poster__logo img {
  width: 100%;
  height: auto;
}

.poster__en {
  text-align: center;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  color: #99938a;
}

.poster__title {
  margin-top: 14px;
  text-align: center;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.32;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  font-weight: 600;
  color: var(--ink);
}

.poster__slogan {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--copper);
}

.poster__foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #ded6c7;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: #8a857c;
}

.poster__stamp {
  position: absolute;
  top: 128px;
  right: -20px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(164, 105, 61, 0.55);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--copper);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-align: center;
  transform: rotate(11deg);
}

.poster__caption {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  text-align: right;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--dim);
}

/* ---------------- Ticker ---------------- */

.ticker {
  padding: 14px 0;
  background: var(--ink);
  color: #d8d6d1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ticker__track span {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.ticker__track b {
  color: var(--copper);
  font-size: 13px;
  font-weight: 400;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------------- Sections ---------------- */

.section {
  position: relative;
  padding: clamp(88px, 10vw, 138px) 0;
  background: var(--white);
}

.section--paper {
  background: var(--paper);
  border-top: 1px solid #efebe4;
  border-bottom: 1px solid #efebe4;
}

.section__head {
  max-width: 840px;
  margin-bottom: clamp(44px, 5vw, 66px);
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__head--center .section__intro {
  margin-left: auto;
  margin-right: auto;
}

.section__head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
}

.section__head--split .section__intro {
  max-width: 400px;
  margin-top: 0;
  padding-bottom: 4px;
  flex-shrink: 0;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.section__label span {
  color: var(--copper);
  margin-right: 4px;
  padding: 1px 5px;
  border: 1px solid var(--line-2);
  border-radius: 0;
}

.section__label i {
  font-style: normal;
  color: #c4bdb2;
  margin-left: 4px;
}

.section__head--center .section__label {
  justify-content: center;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.24;
  letter-spacing: 0.015em;
  font-weight: 600;
  color: var(--ink);
}

.section__title em {
  font-style: normal;
  color: var(--copper);
}

.section__intro {
  margin-top: 20px;
  max-width: 680px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--muted);
}

/* ---------------- About ---------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: start;
}

.about__copy p {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ink-2);
}

.about__copy p + p {
  margin-top: 18px;
}

.about__quote {
  margin-top: 38px !important;
  padding-left: 24px;
  border-left: 2px solid var(--copper);
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.7;
  color: var(--ink) !important;
  letter-spacing: 0.02em;
}

.about__quote em {
  font-style: normal;
  color: var(--copper);
}

.about__list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.about__list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-areas:
    "num title"
    "num desc";
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.about__list span {
  grid-area: num;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--copper);
}

.about__list b {
  grid-area: title;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about__list small {
  grid-area: desc;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.functions {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.functions li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  transition: background 0.3s ease;
}

.functions li:first-child {
  border-left: 0;
  padding-left: 0;
}

.functions li:hover {
  background: var(--paper);
}

.functions span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--copper);
}

/* ---------------- Story ---------------- */

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

.story {
  padding: 34px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
}

.story:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 20px 40px rgba(20, 21, 23, 0.06);
}

.story__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  color: var(--copper);
  letter-spacing: 0.04em;
}

.story p {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}

.stat {
  padding-left: 30px;
  border-left: 1px solid var(--line-2);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat dt {
  font-family: var(--serif);
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1;
  font-weight: 600;
  color: var(--ink);
}

.stat__unit {
  font-size: 0.46em;
  color: var(--dim);
  margin-left: 3px;
  font-family: var(--sans);
  font-weight: 400;
}

.stat dd {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

/* ---------------- Criteria ---------------- */

.criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.criterion {
  padding: 40px 34px;
  border-left: 1px solid var(--line);
  transition: background 0.3s ease;
}

.criterion:first-child {
  border-left: 0;
  padding-left: 0;
}

.criterion:hover {
  background: var(--paper);
}

.criterion__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--copper-soft);
  border-radius: 0;
  background: var(--paper);
}

.criterion__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.criterion h3 {
  margin-top: 26px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.criterion p {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.nots {
  margin-top: 34px;
  padding: 28px 32px;
  border: 1px dashed var(--line-2);
  background: var(--paper);
}

.nots__title {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--copper);
}

.nots ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  margin-top: 16px;
  list-style: none;
}

.nots li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: rgba(179, 38, 30, 0.45);
}

.nots li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -1px;
  color: rgba(179, 38, 30, 0.6);
  font-size: 14px;
  text-decoration: none;
}

.nots p {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}

/* ---------------- Roles ---------------- */

.roles {
  border-top: 1px solid var(--line-2);
}

.role {
  border-bottom: 1px solid var(--line-2);
  transition: background 0.3s ease;
}

.role:hover {
  background: rgba(255, 255, 255, 0.55);
}

.role.is-open {
  background: var(--white);
}

.role__head {
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.05fr) auto 34px;
  align-items: center;
  gap: 22px;
  padding: 29px 8px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.role__index {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
  transition: color 0.3s ease;
}

.role.is-open .role__index {
  color: var(--copper);
}

.role__name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.role__name small {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.role__fit {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.role__count {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  white-space: nowrap;
}

.role__toggle {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.role__toggle::before,
.role__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}

.role__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.role.is-open .role__toggle {
  background: var(--ink);
  border-color: var(--ink);
}

.role.is-open .role__toggle::before,
.role.is-open .role__toggle::after {
  background: #fff;
}

.role.is-open .role__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.role__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.role.is-open .role__body {
  grid-template-rows: 1fr;
}

.role__body-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 52px;
  padding: 0 8px 36px 60px;
}

.role__duties h4 {
  margin: 26px 0 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--copper);
}

.role__duties h4:first-child {
  margin-top: 0;
}

.role__duties ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role__duties li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.role__duties li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 1px;
  background: var(--copper);
}

.role__aside {
  align-self: start;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.role__aside > span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

.role__aside strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--ink);
}

.role__aside p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--dim);
}

.role__cta {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 2px;
  font-size: 12px;
  color: var(--copper);
  border-bottom: 1px solid rgba(164, 105, 61, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.role__cta:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------------- Activities ---------------- */

.activity-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  min-height: 372px;
}

.activity-feature__copy {
  padding: 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--copper);
  white-space: nowrap;
}

.tag--quiet {
  border-color: transparent;
  background: transparent;
  padding: 0;
  color: var(--dim);
}

.activity-feature h3 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.activity-feature__copy > p {
  margin-top: 16px;
  max-width: 540px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--muted);
}

.activity-feature__meta {
  display: flex;
  gap: 22px;
  margin-top: auto;
  padding-top: 30px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.activity-feature__meta span:first-child {
  color: var(--copper);
}

.activity-feature__meta span:first-child::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--copper);
  vertical-align: 1px;
}

.activity-art {
  position: relative;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.activity-art__ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.activity-art__ring--a {
  width: 330px;
  height: 330px;
  border-style: dashed;
  border-color: var(--line-2);
}

.activity-art__ring--b {
  width: 236px;
  height: 236px;
}

.activity-art__ring--c {
  width: 144px;
  height: 144px;
  border-color: var(--copper-soft);
}

.activity-art__num {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: 112px;
  line-height: 1;
  color: var(--copper);
  letter-spacing: -0.04em;
}

.activity-art__label {
  position: absolute;
  bottom: 34px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--dim);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.activity-card {
  display: flex;
  flex-direction: column;
  min-height: 212px;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 36px rgba(20, 21, 23, 0.06);
}

.activity-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.activity-card__top > span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--copper);
}

.activity-card h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.activity-card__image {
  margin: -28px -28px 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
}

.activity-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-loaded {
  white-space: pre-line;
}

.activity-card > p {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

.activity-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.activity-card__foot b {
  font-weight: 400;
  color: #b3ada3;
}

.activity-card--cta {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.activity-card--cta:hover {
  border-color: var(--ink);
  box-shadow: 0 22px 44px rgba(20, 21, 23, 0.2);
}

.activity-card--cta .tag--quiet {
  color: #c99573;
}

.activity-card--cta h3 {
  color: #fff;
}

.activity-card--cta > p {
  color: #9fa1a4;
}

.activity-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
  color: #c99573;
  border-top: 1px solid #303134;
}

.activity-card__link span {
  transition: transform 0.3s var(--ease);
}

.activity-card__link:hover span {
  transform: translateX(4px);
}

.activity-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 22px 28px;
  border: 1px dashed var(--line-2);
}

.activity-note__plus {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--copper);
  font-size: 17px;
  flex-shrink: 0;
}

.activity-note b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.activity-note p {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--dim);
}

.activity-note__status {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--copper);
  white-space: nowrap;
}

/* ---------------- Rhythm ---------------- */

.rhythm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
}

.rhythm__item {
  padding: 38px 34px 0;
  border-left: 1px solid var(--line-2);
}

.rhythm__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.rhythm__num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--copper);
  letter-spacing: 0.06em;
}

.rhythm__item h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rhythm__item p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}

/* ---------------- Benefits ---------------- */

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

.bento__card {
  position: relative;
  min-height: 232px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
}

.bento__card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 18px 38px rgba(20, 21, 23, 0.05);
}

.bento__card--wide {
  grid-column: span 2;
}

.bento__card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.bento__card--dark:hover {
  border-color: var(--ink);
  box-shadow: 0 24px 50px rgba(20, 21, 23, 0.2);
}

.bento__card--outline {
  background: transparent;
  border-style: dashed;
}

.bento__card--outline:hover {
  background: var(--paper);
}

.bento__tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--copper);
}

.bento__card--dark .bento__tag {
  border-color: #3b3c3e;
  color: #c99573;
}

.bento__card h3 {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bento__card--dark h3 {
  max-width: 56%;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.4;
  color: #fff;
}

.bento__card p {
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}

.bento__card--dark p {
  max-width: 54%;
  color: #a9abae;
}

.checks {
  list-style: none;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checks li {
  position: relative;
  padding-left: 19px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--copper);
  font-size: 11px;
}

.cert {
  position: absolute;
  right: 34px;
  top: 50%;
  width: 202px;
  height: 148px;
  transform: translateY(-50%) rotate(-4deg);
  border: 1px solid #d9cfc1;
  background: var(--paper-2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.5s var(--ease);
}

.bento__card:hover .cert {
  transform: translateY(-50%) rotate(-2deg) scale(1.02);
}

.cert__inner {
  position: absolute;
  inset: 9px;
  border: 1px solid #ddd2c3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.cert__inner img {
  width: 38px;
  height: auto;
}

.cert__inner span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.2em;
  color: #8d8880;
}

.cert__inner strong {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--copper);
  font-weight: 600;
}

.cert__inner i {
  width: 36px;
  height: 1px;
  background: #d3c8b8;
}

.cert__inner small {
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.16em;
  color: #a8a198;
}

/* ---------------- Signup ---------------- */

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

.steps li {
  display: flex;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}

.steps__num {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  color: var(--copper);
}

.steps h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.steps p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.signup {
  display: grid;
  grid-template-columns: 318px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 52px;
}

.signup__aside {
  position: sticky;
  top: 100px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
}

.signup__kicker {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.signup__date {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.signup__date span {
  margin: 0 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.signup__note {
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--dim);
}

.signup__block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.signup__block h3 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.signup__block p {
  margin: 7px 0 14px;
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--muted);
}

.signup__block--quiet p {
  margin-bottom: 0;
  color: var(--dim);
}

.signup__count {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--copper);
}

.signup__form-wrap {
  position: relative;
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(20, 21, 23, 0.05);
}

.form__head h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form__head p {
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--dim);
}

.form__head p span {
  color: var(--copper);
}

.form {
  margin-top: 28px;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
  margin-top: 21px;
}

.field--inline {
  margin-top: 13px;
}

.field__label {
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
}

.field__label i {
  color: var(--copper);
  font-style: normal;
}

.field__label small {
  margin-left: 6px;
  font-size: 10px;
  color: var(--dim);
}

.field input[type="text"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.6;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
  resize: vertical;
  min-height: 82px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #ada79d;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 21, 23, 0.06);
}

.field input.invalid,
.field textarea.invalid,
.segmented.invalid,
.choices.invalid,
.chips.invalid {
  border-color: rgba(179, 38, 30, 0.55);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.06);
}

.choices.invalid,
.chips.invalid {
  outline: 1px dashed rgba(179, 38, 30, 0.5);
  outline-offset: 4px;
}

.consent input.invalid {
  outline: 2px solid rgba(179, 38, 30, 0.6);
  outline-offset: 2px;
}

.field__counter {
  align-self: flex-end;
  margin-top: -3px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--dim);
}

.field__counter b {
  font-weight: 500;
  color: var(--muted);
}

.segmented {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--line-2);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

.segmented label {
  position: relative;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: block;
  padding: 11px 21px;
  font-size: 12.5px;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease;
}

.segmented label + label span {
  border-left: 1px solid var(--line);
}

.segmented input:checked + span {
  background: var(--ink);
  color: #fff;
}

.segmented input:focus-visible + span {
  outline: 2px solid var(--copper);
  outline-offset: -3px;
}

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

.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 13px 12px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #fff;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.choice b {
  font-size: 12.5px;
  font-weight: 600;
}

.choice small {
  font-size: 10px;
  line-height: 1.5;
  color: var(--dim);
}

.choice:hover > span {
  border-color: var(--ink-2);
  transform: translateY(-2px);
}

.choice input:checked + span {
  border-color: var(--ink);
  background: var(--paper);
}

.choice input:checked + span b {
  color: var(--copper);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

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

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: block;
  padding: 8px 15px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #fff;
  font-size: 12px;
  color: var(--muted);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.chip:hover span {
  border-color: var(--ink-2);
}

.chip input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.chip-line-input {
  width: 160px;
  margin-left: -2px;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}

.chip-line-input::placeholder {
  color: var(--dim);
}

.chip-line-input:focus {
  border-bottom-color: var(--ink);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.consent label {
  cursor: pointer;
}

.consent a {
  color: var(--copper);
  border-bottom: 1px solid rgba(164, 105, 61, 0.4);
}

.consent a:hover {
  border-color: var(--copper);
}

.consent input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form__hint {
  max-width: 320px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--dim);
}

.form__message {
  min-height: 18px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--danger);
}

.form__message.is-success {
  color: var(--green);
}

.form-success {
  padding: 52px 24px;
  text-align: center;
}

.form-success__mark {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
}

.form-success h3 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form-success p {
  max-width: 440px;
  margin: 13px auto 0;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.form-success p strong {
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--copper);
}

.form-success__sub {
  color: var(--dim) !important;
  font-size: 11.5px !important;
}

.form-success__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------------- Closing ---------------- */

.closing {
  padding: clamp(104px, 12vw, 164px) 0;
  background: #121316;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.closing .section__label {
  justify-content: center;
  color: #737578;
}

.closing .section__label span {
  color: #c99573;
}

.closing .section__label i {
  color: #4c4d50;
}

.closing h2 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.closing h2 em {
  font-style: normal;
  color: #c99573;
}

.closing__text {
  margin-top: 32px;
  font-size: 13.5px;
  line-height: 2.15;
  color: #a5a7ab;
}

.closing__slogan {
  margin-top: 38px;
  font-size: clamp(14px, 1.7vw, 18px);
  letter-spacing: 0.22em;
  color: #c99573;
}

.closing__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.closing__wait {
  margin-top: 30px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #6e7074;
}

/* ---------------- Footer ---------------- */

.footer {
  padding: 46px 0 28px;
  background: #14181f;
  color: rgba(255, 255, 255, 0.68);
}

.footer__partner {
  text-align: center;
}

.footer__partner h2 {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
}

.footer__partner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 26px;
  list-style: none;
}

.footer__partner li {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__divider {
  height: 1px;
  margin: 24px 0 22px;
  background: rgba(255, 255, 255, 0.14);
}

.footer__brandline {
  text-align: center;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.1em;
  color: #fff;
}

.footer__tagline {
  margin-top: 7px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 24px;
  margin-top: 18px;
}

.footer__nav a {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__copy {
  margin-top: 14px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.33);
}

.footer__copy img {
  display: inline-block;
  width: auto;
  height: 1em;
  margin-right: 4px;
  vertical-align: -1px;
  opacity: 0.85;
}

.footer__copy a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.25s ease;
}

.footer__copy a:hover {
  color: #fff;
}

/* ---------------- Dock ---------------- */

.dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 14px 34px rgba(20, 21, 23, 0.28);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s ease;
}

.dock svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

/* ---------------- Inner pages ---------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 22px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 28px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.page-hero__lead {
  max-width: 460px;
  padding-bottom: 4px;
  font-size: 12px;
  line-height: 1.95;
  color: var(--muted);
  text-align: right;
}

.page-hero__num {
  display: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
}

.breadcrumb a {
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--copper);
}

.breadcrumb i {
  color: #cfc8bd;
}

.page-hero .section__label {
  margin-bottom: 8px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding-bottom: 3px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.more-link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.more-link:hover {
  color: var(--copper);
  border-color: var(--copper);
}

.more-link:hover::after {
  transform: translateX(3px);
}

/* Home department preview */

.preview-roles {
  border-top: 1px solid var(--line-2);
}

.preview-role {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.15fr) auto 18px;
  align-items: center;
  gap: 20px;
  padding: 25px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding 0.35s var(--ease);
}

.preview-role:hover {
  padding-left: 18px;
  background: var(--paper);
}

.preview-role > span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--copper);
}

.preview-role b {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.preview-role small {
  font-size: 12px;
  color: var(--muted);
}

.preview-role em {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  text-align: right;
  white-space: nowrap;
}

.preview-role i {
  font-size: 13px;
  color: var(--copper);
  transition: transform 0.3s var(--ease);
}

.preview-role:hover i {
  transform: translateX(3px);
}

/* Compact CTA band */

.page-cta {
  padding: 60px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.page-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.page-cta__kicker {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--copper);
}

.page-cta h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 首页招募提示条 */

.recruit-strip {
  padding: 56px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.recruit-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.recruit-strip__kicker {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--copper);
}

.recruit-strip h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.recruit-strip p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.recruit-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------- Join page ---------------- */

.section--tight {
  padding-top: clamp(36px, 4vw, 54px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.join-form {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(20, 21, 23, 0.05);
}

.join-form__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.join-form__kicker {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--copper);
}

.join-form__top h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.join-form__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 3px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
  white-space: nowrap;
}

.join-form__meta span {
  color: var(--copper);
}

.join-form__meta a {
  border-bottom: 1px solid var(--line-2);
}

.join-form__meta a:hover {
  color: var(--copper);
  border-color: var(--copper);
}

.join-form .form {
  margin-top: 0;
}

.join-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.join-info > div {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.join-info > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.join-info span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--copper);
}

.join-info b {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
}

.join-info p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--dim);
}

/* ---------------- Login ---------------- */

.login-page {
  min-height: 100vh;
  background: var(--white);
}

.login-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
}

.login-top .brand__logo {
  height: 40px;
}

.login-top .brand__text strong {
  font-size: 13.5px;
}

.login-top .brand__text small {
  font-size: 9.5px;
}

.login-top__back {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
}

.login-top__back:hover {
  color: var(--copper);
  border-color: var(--copper);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  padding: 140px 64px 70px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.login-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d9d2c7 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 70% 65% at 40% 46%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 40% 46%, #000, transparent 76%);
  pointer-events: none;
}

.login-brand__inner {
  position: relative;
  z-index: 2;
}

.login-brand__logo {
  width: min(300px, 68%);
  height: auto;
  margin-bottom: 34px;
}

.login-brand h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.login-brand h1 em {
  display: block;
  color: var(--copper);
}

.login-brand__lead {
  max-width: 400px;
  margin-top: 20px;
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}

.login-brand__points {
  list-style: none;
  max-width: 380px;
  margin-top: 28px;
  display: grid;
  gap: 11px;
}

.login-brand__points li {
  position: relative;
  padding-left: 17px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.login-brand__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 1px;
  background: var(--copper);
}

.login-brand__meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 60px;
  background: var(--white);
}

.login-box {
  width: min(406px, 100%);
  padding: 38px 36px 30px;
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: 0 28px 70px rgba(20, 21, 23, 0.07);
}

.login-box__kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--copper);
}

.login-box h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.login-box__hint {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--dim);
}

.login-tabs {
  display: flex;
  gap: 26px;
  margin: 22px 0 22px;
  border-bottom: 1px solid var(--line);
}

.login-tabs span {
  padding-bottom: 10px;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.login-tabs span.is-active {
  color: var(--ink);
  border-bottom-color: var(--copper);
}

.login-box .field {
  margin-top: 14px;
}

.login-box .btn {
  width: 100%;
  height: 46px;
  margin-top: 20px;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.login-fields {
  margin-top: 20px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.login-field + .login-field {
  margin-top: 16px;
}

.login-field > span {
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.login-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #fff;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-field input::placeholder {
  color: #b3ada2;
}

.login-field input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 21, 23, 0.05);
}

.login-message {
  min-height: 18px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--danger);
}

.login-help {
  margin-top: 16px;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--dim);
}

.login-help a {
  color: var(--copper);
  border-bottom: 1px solid rgba(164, 105, 61, 0.35);
}

.login-legal {
  position: fixed;
  right: 30px;
  bottom: 18px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--dim);
}

.login-legal a:hover {
  color: var(--copper);
}

/* ---------------- Member ---------------- */

.member-page {
  min-height: 100vh;
  padding: 120px 0 90px;
  background: var(--paper);
}

.member-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-2);
}

.member-head h1 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 30px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.member-head p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.member-card {
  min-height: 196px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.member-card__tag {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--copper);
}

.member-card h2 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.member-card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

.member-card__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.member-kicker {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--copper);
}

.member-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.member-stats article {
  min-height: 96px;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.member-stats article:first-child {
  border-left: 0;
}

.member-stats span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.member-stats b {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.member-tabs {
  display: flex;
  gap: 4px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line-2);
}

.member-tabs button {
  position: relative;
  padding: 12px 24px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
}

.member-tabs button::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: var(--copper);
  opacity: 0;
}

.member-tabs button.is-active {
  color: var(--ink);
  font-weight: 600;
}

.member-tabs button.is-active::after {
  opacity: 1;
}

.member-panel {
  margin-top: 18px;
}

.member-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.member-input {
  min-width: 180px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  outline: none;
}

.member-input:focus {
  border-color: var(--ink);
}

.member-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}

.member-list {
  border-top: 1px solid var(--line);
}

.member-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.member-task__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  color: var(--dim);
}

.member-tag {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  color: var(--copper);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.member-priority {
  font-size: 9.5px;
}

.member-priority--high {
  color: #b3261e;
}

.member-priority--mid {
  color: var(--copper);
}

.member-priority--low {
  color: var(--dim);
}

.member-task h2 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.member-task p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

.member-task__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.member-status {
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  font-size: 9.5px;
  white-space: nowrap;
}

.member-status--pending {
  color: #9a5a00;
  border-color: rgba(154, 90, 0, 0.35);
}

.member-status--active {
  color: #1f5f8b;
  border-color: rgba(31, 95, 139, 0.35);
}

.member-status--done {
  color: #2e6b45;
  border-color: rgba(46, 107, 69, 0.35);
}

.member-notice {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.member-notice--pinned {
  background: linear-gradient(90deg, rgba(164, 105, 61, 0.05), transparent 60%);
}

.member-notice__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  color: var(--dim);
}

.member-notice__meta time {
  font-family: var(--mono);
  font-size: 9.5px;
}

.member-pin {
  padding: 2px 6px;
  border: 1px solid rgba(164, 105, 61, 0.45);
  color: var(--copper);
  font-size: 9px;
}

.member-notice h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.member-notice p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

.member-empty {
  padding: 34px 0;
  text-align: center;
  font-size: 12px;
  color: var(--dim);
}

/* ---------------- Legal ---------------- */

.legal-page {
  padding: 104px 0 80px;
  background: var(--white);
}

.legal-head {
  max-width: 840px;
  margin: 0 auto;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 28px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.legal-head p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.legal-body {
  max-width: 840px;
  margin: 0 auto;
  padding-top: 24px;
}

.legal-body h2 {
  margin: 30px 0 10px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.legal-body p,
.legal-body li {
  font-size: 13px;
  line-height: 2.1;
  color: var(--ink-2);
}

.legal-body p + p {
  margin-top: 10px;
}

.legal-body ul {
  margin: 10px 0 0 20px;
}

.legal-body li {
  margin: 5px 0;
}

.legal-body a {
  color: var(--copper);
  border-bottom: 1px solid rgba(164, 105, 61, 0.35);
}

.legal-updated {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

/* ---------------- 404 ---------------- */

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: var(--paper);
  text-align: center;
}

.error-page__num {
  font-family: var(--serif);
  font-size: clamp(84px, 18vw, 180px);
  line-height: 1;
  color: var(--copper);
  letter-spacing: 0.02em;
}

.error-page h1 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(25px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.error-page p {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.error-page .btn {
  margin-top: 30px;
}

/* ---------------- Reveal ---------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.js [data-reveal][data-delay="1"] { transition-delay: 0.09s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.18s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.27s; }
.js [data-reveal][data-delay="4"] { transition-delay: 0.36s; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1100px) {
  .nav__links {
    gap: 20px;
  }

  .nav__links a {
    font-size: 12.5px;
  }

  .brand__text small {
    display: none;
  }

  .hero__inner {
    gap: 44px;
  }

  .poster {
    min-height: 540px;
    padding: 26px 28px 24px;
  }

  .poster__title {
    font-size: 36px;
  }

  .poster__emblem {
    height: 176px;
  }

  .poster__ring {
    width: 182px;
    height: 182px;
  }

  .poster__logo {
    width: 172px;
    height: auto;
  }

  .section__head--split {
    gap: 40px;
  }

  .about {
    gap: 48px;
  }

  .role__head {
    grid-template-columns: 44px minmax(0, 1fr) auto 34px;
  }

  .role__fit {
    display: none;
  }

  .signup {
    grid-template-columns: 286px minmax(0, 1fr);
  }

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

@media (max-width: 920px) {
  .nav__links {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 22px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 28px 60px rgba(20, 21, 23, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav__links a {
    padding: 14px 2px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav__links a:last-child {
    border-bottom: 0;
  }

  .nav__links a::after {
    display: none;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__actions .btn {
    display: none;
  }

  .hero {
    padding: 126px 0 72px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: 0;
  }

  .poster-wrap {
    justify-self: start;
    max-width: 430px;
  }

  .hero__meta {
    margin-top: 46px;
  }

  .section__head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .section__head--split .section__intro {
    max-width: 620px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__list {
    max-width: none;
  }

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

  .functions li:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }

  .functions li:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

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

  .criterion,
  .criterion:first-child {
    padding: 30px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .criterion:first-child {
    border-top: 0;
  }

  .activity-feature {
    grid-template-columns: 1fr;
  }

  .activity-feature__copy {
    padding: 34px 28px;
  }

  .activity-art {
    min-height: 300px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .rhythm {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .rhythm__item,
  .rhythm__item:first-child {
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .rhythm__item:first-child {
    border-top: 1px solid var(--line-2);
  }

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

  .bento__card--wide {
    grid-column: 1 / -1;
    min-height: 270px;
  }

  .bento__card--dark h3,
  .bento__card--dark p {
    max-width: 55%;
  }

  .bento__card--outline {
    grid-column: 1 / -1;
  }

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

  .signup__aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }

  .signup__kicker,
  .signup__date,
  .signup__note {
    grid-column: 1;
  }

  .signup__block {
    margin-top: 0;
  }

  .signup__block:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1 / span 3;
    border-top: 0;
    padding-top: 0;
  }

  .signup__block:nth-of-type(2) {
    grid-column: 1;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .signup__block:nth-of-type(3) {
    grid-column: 2;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .signup__count {
    grid-column: 1 / -1;
  }

  .dock {
    display: flex;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__meta {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 20px;
  }

  .nav__inner {
    padding: 12px 20px;
    gap: 14px;
  }

  .brand__logo {
    height: 40px;
    width: auto;
  }

  .brand__text strong {
    font-size: 13px;
  }

  .brand__text small {
    font-size: 9px;
  }

  .hero {
    padding: 114px 0 64px;
  }

  .hero__title {
    font-size: clamp(44px, 13vw, 62px);
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 14px;
  }

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

  .hero__meta {
    margin-top: 38px;
    gap: 16px 0;
  }

  .hero__meta > div {
    padding-right: 18px;
    margin-right: 18px;
  }

  .hero__meta dd {
    font-size: 12px;
  }

  .poster {
    min-height: 500px;
    padding: 24px 24px 22px;
  }

  .poster-wrap::before {
    inset: 12px -12px -12px 12px;
  }

  .poster__title {
    font-size: 32px;
  }

  .poster__stamp {
    top: 118px;
    right: -10px;
    width: 66px;
    height: 66px;
    font-size: 10.5px;
  }

  .poster__caption {
    text-align: left;
    font-size: 8.5px;
  }

  .section__head {
    margin-bottom: 38px;
  }

  .section__title {
    font-size: clamp(30px, 8vw, 38px);
  }

  .section__intro {
    font-size: 13.5px;
  }

  .about__quote {
    font-size: 20px;
  }

  .functions {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 44px;
  }

  .functions li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .functions li:nth-child(4) {
    border-left: 1px solid var(--line);
    padding-left: 18px;
  }

  .functions li:nth-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }

  .stats {
    margin-top: 44px;
    padding-top: 26px;
  }

  .stat dt {
    font-size: 38px;
  }

  .nots {
    padding: 22px;
  }

  .nots ul {
    flex-direction: column;
    gap: 9px;
  }

  .role__head {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 13px;
    padding: 23px 2px;
  }

  .role__count {
    display: none;
  }

  .role__body-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 2px 28px 43px;
  }

  .role__aside {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    padding: 17px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .role__aside strong {
    margin-top: 0;
    font-size: 30px;
  }

  .role__aside p {
    margin-top: 0;
  }

  .role__cta {
    width: 100%;
    margin-top: 7px;
  }

  .activity-feature__copy {
    padding: 28px 22px;
  }

  .activity-feature h3 {
    font-size: 30px;
  }

  .activity-art {
    min-height: 250px;
  }

  .activity-art__ring--a {
    width: 270px;
    height: 270px;
  }

  .activity-art__ring--b {
    width: 200px;
    height: 200px;
  }

  .activity-art__ring--c {
    width: 124px;
    height: 124px;
  }

  .activity-art__num {
    font-size: 88px;
  }

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

  .activity-note {
    flex-wrap: wrap;
    padding: 20px;
  }

  .activity-note__status {
    margin-left: 56px;
  }

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

  .bento__card--wide {
    grid-column: auto;
    min-height: 0;
    padding-bottom: 208px;
  }

  .bento__card--dark h3,
  .bento__card--dark p {
    max-width: 100%;
  }

  .bento__card--outline {
    grid-column: auto;
  }

  .cert {
    right: 24px;
    top: auto;
    bottom: 28px;
    transform: rotate(-4deg) scale(0.92);
    transform-origin: right bottom;
  }

  .bento__card:hover .cert {
    transform: rotate(-2deg) scale(0.94);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .signup__aside {
    display: block;
    padding: 26px 22px;
  }

  .signup__block {
    margin-top: 22px;
    padding-top: 20px;
  }

  .signup__block:nth-of-type(1),
  .signup__block:nth-of-type(3) {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 22px;
  }

  .signup__form-wrap {
    padding: 24px 20px;
  }

  .form__grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

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

  .choice:last-child {
    grid-column: 1 / -1;
  }

  .form__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .form__foot .btn {
    width: 100%;
  }

  .form__hint {
    max-width: none;
  }

  .form-success {
    padding: 34px 6px;
  }

  .closing__text br {
    display: none;
  }

  .footer {
    padding: 36px 0 92px;
  }
}

@media (max-width: 380px) {
  .brand__text small {
    display: none;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__meta > div {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .poster {
    min-height: 460px;
  }

  .poster__title {
    font-size: 28px;
  }
}

@media (max-width: 920px) {
  .page-hero {
    padding: 94px 0 18px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .preview-role {
    grid-template-columns: 34px minmax(0, 1fr) auto 18px;
  }

  .preview-role small {
    display: none;
  }

  .join-form__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .join-info {
    grid-template-columns: 1fr 1fr;
  }

  .join-info > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .join-info > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand {
    display: none;
  }

  .login-panel {
    padding: 108px 24px 50px;
  }

  .member-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .legal-page {
    padding: 100px 0 70px;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding: 86px 0 16px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .breadcrumb {
    margin-bottom: 14px;
  }

  .preview-role {
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    gap: 13px;
    padding: 20px 2px;
  }

  .preview-role em {
    display: none;
  }

  .preview-role b {
    font-size: 17px;
  }

  .page-cta {
    padding: 52px 0;
  }

  .page-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .join-form {
    padding: 24px 20px;
  }

  .join-form__top h2 {
    font-size: 22px;
  }

  .join-info {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .join-info > div,
  .join-info > div:nth-child(3) {
    padding: 17px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .join-info > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .join-info > div:last-child {
    border-bottom: 0;
  }

  .login-top {
    padding: 14px 20px;
  }

  .login-top .brand__text small {
    display: none;
  }

  .login-box {
    padding: 28px 22px 26px;
  }

  .login-panel {
    padding: 96px 20px 40px;
  }

  .login-legal {
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--line);
  }

  .member-page {
    padding: 100px 0 60px;
  }

  .legal-page {
    padding: 94px 0 60px;
  }
}

@media (max-width: 680px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav__inner {
    padding: 11px 16px;
  }

  .brand__logo img {
    height: 38px;
  }

  .brand__text strong {
    font-size: 13px;
  }

  .brand__text small {
    font-size: 9px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 38px;
  }

  .hero__title {
    font-size: clamp(33px, 10.5vw, 46px);
  }

  .hero__lead {
    font-size: 13px;
    line-height: 1.9;
  }

  .section {
    padding: 48px 0;
  }

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

  .activity-card {
    padding: 22px;
  }

  .activity-card__image {
    margin: -22px -22px 16px;
  }

  .recruit-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .recruit-strip__actions {
    width: 100%;
  }

  .footer {
    padding: 36px 0 24px;
  }

  .footer__copy {
    font-size: 9.5px;
    line-height: 1.9;
  }

  .member-page {
    padding: 92px 0 50px;
  }

  .member-head {
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
  }

  .member-head h1 {
    font-size: 24px;
  }

  .member-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
  }

  .member-stats article {
    min-height: 86px;
    padding: 14px 16px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .member-stats article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .member-stats article:nth-child(-n+2) {
    border-top: 0;
  }

  .member-stats b {
    font-size: 26px;
  }

  .member-tabs button {
    flex: 1;
    padding: 11px 8px;
  }

  .member-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .member-input {
    width: 100%;
    min-width: 0;
  }

  .member-count {
    margin-left: 0;
  }

  .member-task {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .member-task h2 {
    font-size: 16px;
  }

  .member-task__side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .member-task__side .btn {
    flex: 0 0 auto;
  }

  .member-notice h2 {
    font-size: 15px;
  }

  .member-notice p {
    font-size: 11.5px;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------------- 学生工作台 ---------------- */

.member-head__points {
  color: var(--copper);
  font-weight: 600;
}

.member-head__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.member-badge {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 6px 11px;
  font-size: 11.5px;
  color: var(--muted);
}

.member-workspace {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 34px;
  margin-top: 28px;
  align-items: start;
}

.member-nav {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 16px 14px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.member-nav__search input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 9px 11px;
  font: inherit;
  font-size: 12.5px;
  border-radius: 0;
}

.member-nav__search input:focus {
  outline: none;
  border-color: var(--copper);
}

.member-nav__groups {
  margin-top: 16px;
  display: grid;
  gap: 15px;
}

.member-nav__group h3 {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--dim);
  font-weight: 600;
  margin-bottom: 5px;
}

.member-nav__btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 9px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
}

.member-nav__btn:hover {
  color: var(--ink);
  background: var(--paper);
}

.member-nav__btn.is-active {
  color: var(--ink);
  border-left-color: var(--copper);
  background: var(--copper-soft);
  font-weight: 600;
}

.member-nav__count {
  margin-top: 14px;
  font-size: 11px;
  color: var(--dim);
}

.member-content {
  min-width: 0;
}

.member-content__head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.member-content__head h2 {
  font-size: 25px;
  margin: 6px 0 8px;
}

.member-content__head p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
}

.member-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.member-mini-stats span {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 14px;
  font-size: 11.5px;
  color: var(--muted);
}

.member-mini-stats b {
  color: var(--ink);
  font-size: 15px;
  margin-left: 6px;
}

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

.member-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.member-card h3 {
  font-size: 15.5px;
}

.member-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.85;
}

.member-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.member-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

.member-card__actions + .member-card__actions,
.member-task__side,
.member-work__actions {
  gap: 10px;
}

.member-card__actions {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
  justify-content: space-between;
}

.member-answer {
  margin-top: 10px;
  border-left: 2px solid var(--copper);
  background: var(--copper-soft);
  padding: 10px 14px;
}

.member-answer b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 4px;
}

.member-answer p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.85;
}

.btn--danger {
  border-color: rgba(179, 38, 30, 0.35);
  background: var(--white);
  color: var(--danger);
}

.btn--danger:hover {
  border-color: var(--danger);
  transform: translateY(-2px);
}

.member-tag--ghost {
  border-color: var(--line);
  color: var(--dim);
}

.member-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.member-chip {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.member-chip.is-active {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper);
}

.member-read-flag {
  font-size: 10.5px;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 2px 6px;
}

.member-task__done {
  font-size: 12px;
  color: var(--green);
}

.member-notice.is-read {
  opacity: 0.72;
}

.member-simple {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
}

.member-progress {
  height: 4px;
  background: var(--line);
  margin: 6px 0;
}

.member-progress i {
  display: block;
  height: 100%;
  background: var(--copper);
}

.member-points {
  color: var(--copper);
  font-weight: 600;
  font-size: 15px;
}

.member-points-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.member-points-hero div {
  padding: 18px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.member-points-hero div:first-child {
  border-left: 0;
}

.member-points-hero span {
  font-size: 11.5px;
  color: var(--muted);
}

.member-points-hero b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.member-table-wrap {
  border: 1px solid var(--line);
  background: var(--white);
  overflow-x: auto;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

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

.member-table th {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.member-table tr:last-child td {
  border-bottom: 0;
}

.member-table tr.is-mine td {
  background: var(--copper-soft);
}

.member-table__agent {
  color: var(--dim);
  max-width: 320px;
  word-break: break-all;
}

.member-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
}

.member-form label {
  display: grid;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.member-form input,
.member-form select,
.member-form textarea {
  border: 1px solid var(--line);
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--white);
  border-radius: 0;
  width: 100%;
}

.member-form input:focus,
.member-form select:focus,
.member-form textarea:focus {
  outline: none;
  border-color: var(--copper);
}

.member-form input:disabled {
  background: var(--paper);
  color: var(--muted);
}

.member-form__wide {
  grid-column: 1 / -1;
}

.member-form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.member-inline-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.member-inline-form .member-input {
  flex: 1;
  min-width: 0;
}

.member-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}

.member-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.member-score {
  font-size: 12px;
  color: var(--copper);
}

.member-link {
  font-size: 12.5px;
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.member-calendar {
  display: grid;
  gap: 22px;
}

.member-calendar__group h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.member-calendar__row {
  display: grid;
  grid-template-columns: 96px auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}

.member-calendar__row time {
  color: var(--dim);
}

.member-calendar__row strong {
  font-weight: 500;
}

.member-report {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px;
  display: grid;
  gap: 14px;
}

.member-report pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  color: var(--ink);
}

.member-work {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.member-work:first-child {
  border-top: 0;
}

.member-work__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.member-work h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.member-work p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.85;
}

.member-work__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.member-comments {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  display: grid;
  gap: 6px;
}

.member-comments p {
  margin: 0;
}

.member-faq {
  border: 1px solid var(--line);
  background: var(--white);
}

.member-faq details {
  border-top: 1px solid var(--line);
}

.member-faq details:first-child {
  border-top: 0;
}

.member-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}

.member-faq summary::-webkit-details-marker {
  display: none;
}

.member-faq p {
  padding: 0 16px 16px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
}

.member-quiz {
  display: grid;
  gap: 14px;
}

.member-quiz__item {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 16px 18px;
  display: grid;
  gap: 8px;
}

.member-quiz__item legend {
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 4px;
}

.member-quiz__item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.member-profile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.member-profile article {
  padding: 16px 18px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.member-profile article:nth-child(-n+3) {
  border-top: 0;
}

.member-profile article:nth-child(3n+1) {
  border-left: 0;
}

.member-profile span {
  font-size: 11.5px;
  color: var(--muted);
}

.member-profile b {
  font-size: 15px;
  font-weight: 600;
}

.member-section-title {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
  font-weight: 600;
  margin: 26px 0 14px;
}

.member-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.member-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: 12.5px;
  padding: 10px 20px;
  z-index: 80;
  max-width: calc(100vw - 40px);
}

.member-toast.is-error {
  background: var(--danger);
}

@media (max-width: 1100px) {
  .member-workspace {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 26px;
  }
}

@media (max-width: 920px) {
  .member-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .member-nav {
    position: static;
    max-height: none;
  }

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

  .member-nav__group {
    border: 1px solid var(--line);
    padding: 8px 10px;
  }

  .member-nav__group h3 {
    margin-bottom: 4px;
  }

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

  .member-form {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  .member-calendar__row {
    grid-template-columns: 86px minmax(0, 1fr) auto;
  }

  .member-calendar__row .member-tag {
    display: none;
  }
}

@media (max-width: 680px) {
  .member-stats {
    grid-template-columns: 1fr 1fr;
  }

  .member-head__actions {
    width: 100%;
    justify-content: space-between;
  }

  .member-content__head h2 {
    font-size: 21px;
  }

  .member-nav__groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-profile {
    grid-template-columns: 1fr 1fr;
  }

  .member-profile article:nth-child(3n+1) {
    border-left: 1px solid var(--line);
  }

  .member-profile article:nth-child(odd) {
    border-left: 0;
  }

  .member-profile article:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .member-points-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-points-hero div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .member-points-hero div:first-child {
    border-top: 0;
  }

  .member-calendar__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
  }

  .member-calendar__row strong {
    width: 100%;
  }

  .member-inline-form {
    flex-wrap: wrap;
  }

  .member-inline-form .btn {
    width: 100%;
  }

  .member-table th,
  .member-table td {
    padding: 9px 10px;
  }

  .member-toast {
    bottom: 16px;
    width: calc(100vw - 32px);
    text-align: center;
  }
}

