:root {
  color-scheme: dark;
  --ink: #f6fbff;
  --muted: #9fb5c8;
  --dim: #6f879b;
  --paper: #06131f;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(205, 232, 255, 0.15);
  --navy: #071827;
  --navy-2: #102235;
  --cyan: #21b8c9;
  --blue: #3f70d7;
  --orange: #e58b31;
  --violet: #7464d8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #071827 0%, #06131f 44%, #081a2a 100%);
  color: var(--ink);
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  letter-spacing: 0;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(92px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 14px 54px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 24, 39, 0.84);
  color: #ffffff;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a,
.nav-links button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 0.875rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links button.is-active {
  background: rgba(33, 184, 201, 0.16);
  color: #ffffff;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #04131a;
  font-size: 0.875rem;
  font-weight: 850;
}

.community-hero,
.section {
  scroll-margin-top: 72px;
}

.community-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  padding: 118px 72px 70px;
  color: #ffffff;
}

.community-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 92px);
  opacity: 0.48;
  pointer-events: none;
}

.hero-bg,
.hero-bg img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
  opacity: 0.72;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 19, 31, 0.98) 0%, rgba(8, 31, 50, 0.9) 42%, rgba(6, 19, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 19, 31, 0.3) 0%, rgba(6, 19, 31, 0.96) 100%);
}

.neural-figure {
  position: absolute;
  z-index: 1;
  top: 82px;
  right: clamp(-22px, 2.4vw, 42px);
  width: min(56vw, 760px);
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.96;
  pointer-events: none;
}

.neural-figure::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 184, 201, 0.16), transparent 62%);
  filter: blur(28px);
}

.neural-figure img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(159, 239, 255, 0.18)) drop-shadow(0 22px 70px rgba(0, 0, 0, 0.34));
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  width: min(860px, 100%);
  margin-bottom: 22px;
  font-size: clamp(4.35rem, 6.4vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-lead {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
  line-height: 1.7;
}

.neural-note {
  width: fit-content;
  margin-bottom: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(33, 184, 201, 0.22);
  border-radius: 8px;
  background: rgba(33, 184, 201, 0.08);
  color: rgba(218, 243, 255, 0.82);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 820;
}

.primary-button {
  background: var(--cyan);
  color: #04131a;
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mission-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(860px, 100%);
}

.mission-strip article,
.founder-card,
.branch-panel,
.program-grid article,
.contact-form,
.legal-page article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mission-strip article {
  min-height: 130px;
  padding: 20px;
}

.mission-strip span,
.panel-kicker,
.program-grid span,
.founder-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mission-strip strong {
  display: block;
  font-size: 1.06rem;
  line-height: 1.35;
}

.section {
  padding: 92px 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(360px, 1.32fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 32px;
}

.section-heading.centered {
  display: block;
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.panel-copy p,
.founder-card p,
.form-note,
.legal-lead,
.legal-page p {
  color: var(--muted);
  line-height: 1.7;
}

.course-section .section-heading p:not(.eyebrow),
.zhisi-section .section-heading p:not(.eyebrow) {
  white-space: nowrap;
}

.founder-section,
.program-section {
  background:
    linear-gradient(180deg, rgba(8, 26, 42, 0.7), rgba(6, 19, 31, 0.92));
}

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

.founder-card {
  min-height: 238px;
  padding: 22px;
}

.lead-founder {
  background: rgba(33, 184, 201, 0.11);
}

.avatar-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border: 1px solid rgba(33, 184, 201, 0.32);
  border-radius: 8px;
  background: rgba(7, 24, 39, 0.78);
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 900;
}

.founder-card h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.2;
}

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

.branch-section {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.92), rgba(10, 31, 50, 0.9));
}

.branch-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.branch-menu {
  display: grid;
  gap: 10px;
}

.branch-menu button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  font-weight: 820;
  text-align: left;
  padding: 0 18px;
}

.branch-menu button:hover,
.branch-menu button.is-active {
  border-color: rgba(33, 184, 201, 0.6);
  background: rgba(33, 184, 201, 0.16);
  color: #ffffff;
}

.branch-panels {
  min-width: 0;
}

.branch-panel {
  min-height: 430px;
  padding: 36px;
}

.branch-panel[hidden] {
  display: none;
}

.panel-copy {
  width: min(720px, 100%);
  margin-bottom: 32px;
}

.panel-copy h3 {
  margin-bottom: 0;
  font-size: 3.1rem;
  line-height: 1.08;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.signal-list span {
  min-height: 96px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
}

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

.course-lines,
.metric-grid,
.program-grid {
  display: grid;
  gap: 14px;
}

.course-lines {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-lines div {
  min-height: 160px;
  padding: 20px;
  border-top: 1px solid var(--line);
}

.course-lines span {
  display: block;
  margin-bottom: 34px;
  color: var(--orange);
  font-weight: 900;
}

.course-lines strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.3;
}

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

.metric-grid article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 3.6rem;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
}

.media-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: 30px;
  align-items: center;
}

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

.tool-preview {
  margin: 0;
}

.tool-preview img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

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

.program-grid article {
  min-height: 205px;
  padding: 24px;
}

.program-grid h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
  line-height: 1.26;
}

.program-grid article:nth-child(1) {
  border-top: 4px solid var(--cyan);
}

.program-grid article:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.program-grid article:nth-child(3) {
  border-top: 4px solid var(--orange);
}

.program-grid article:nth-child(4) {
  border-top: 4px solid var(--violet);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 52px;
  align-items: start;
  background: #071827;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.contact-form label,
.contact-form span {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #ffffff;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  background: rgba(4, 19, 26, 0.58);
  color: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--cyan);
  color: #04131a;
  cursor: pointer;
  font-weight: 850;
}

.form-note {
  margin: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px 72px;
  border-top: 1px solid var(--line);
  background: #06131f;
  color: var(--muted);
}

.site-footer a {
  color: #ffffff;
}

.legal-page {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.legal-page h1 {
  max-width: 100%;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 3.2rem;
}

.legal-lead {
  margin-bottom: 30px;
  font-size: 1.125rem;
}

.legal-page article {
  margin-top: 14px;
  padding: 22px;
}

.legal-page article h2 {
  margin-bottom: 8px;
  font-size: 1.375rem;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 28px;
  }

  .nav-links {
    display: none;
  }

  .community-hero,
  .section {
    padding-right: 36px;
    padding-left: 36px;
  }

  .mission-strip,
  .founder-layout,
  .program-grid,
  .course-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .branch-shell,
  .contact-section,
  .media-panel,
  .content-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .content-layout.reversed .line-visual {
    order: 0;
  }

  .branch-menu {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .branch-menu button {
    min-height: 48px;
    padding: 0 12px;
    text-align: center;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .community-hero {
    width: 100%;
    max-width: 100vw;
    min-height: auto;
    padding: 70px 20px 34px;
  }

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

  .neural-figure {
    top: 94px;
    right: -228px;
    width: 620px;
    opacity: 0.52;
  }

  h1 {
    max-width: calc(100vw - 40px);
    font-size: 3.35rem;
    line-height: 1.02;
    word-break: break-all;
  }

  .hero-lead {
    max-width: calc(100vw - 40px);
    font-size: 1rem;
    word-break: break-all;
  }

  .hero-actions {
    margin-bottom: 28px;
  }

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

  .mission-strip,
  .founder-layout,
  .program-grid,
  .course-lines,
  .detail-grid,
  .signal-list,
  .signal-list.compact,
  .metric-grid,
  .branch-menu {
    grid-template-columns: 1fr;
  }

  .mission-strip article,
  .founder-card,
  .detail-grid article,
  .program-grid article,
  .course-lines div,
  .metric-grid article {
    min-height: auto;
  }

  .mission-strip article {
    padding: 16px;
  }

  .section {
    padding: 58px 18px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-heading h2,
  .contact-copy h2,
  .panel-copy h3 {
    font-size: 2.15rem;
  }

  .branch-panel {
    min-height: auto;
    padding: 22px;
  }

  .branch-menu button {
    text-align: left;
  }

  .signal-list span {
    min-height: 70px;
  }

  .contact-section {
    gap: 26px;
  }

  .content-layout {
    gap: 16px;
  }

  .line-visual {
    min-height: 260px;
    padding: 18px;
  }

  .detail-grid article {
    padding: 20px;
  }

  .detail-grid span {
    margin-bottom: 26px;
  }

  .scroll-cue {
    margin-top: 18px;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    display: grid;
    padding: 26px 18px;
  }

  .legal-page {
    padding: 58px 0;
  }

  .legal-page h1 {
    font-size: 2.55rem;
  }
}

/* Monochrome visual direction */
:root {
  color-scheme: light;
  --ink: #101010;
  --muted: #666666;
  --dim: #8a8a8a;
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(16, 16, 16, 0.13);
  --navy: #101010;
  --navy-2: #222222;
  --cyan: #101010;
  --blue: #333333;
  --orange: #101010;
  --violet: #4a4a4a;
  --shadow: 0 24px 80px rgba(16, 16, 16, 0.08);
}

body {
  background: #ffffff;
  color: var(--ink);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.brand-mark {
  background: var(--ink);
  color: #ffffff;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a,
.nav-links button {
  color: rgba(16, 16, 16, 0.66);
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links button.is-active {
  background: #101010;
  color: #ffffff;
}

.nav-cta,
.primary-button,
.contact-form button {
  background: #101010;
  color: #ffffff;
}

.community-hero {
  background: #ffffff;
  color: var(--ink);
  align-items: center;
  min-height: min(820px, calc(100svh - 72px));
  padding-top: 96px;
  padding-bottom: 54px;
}

.community-hero::after {
  display: none;
}

.hero-bg,
.hero-shade {
  display: none;
}

.hero-bg img {
  opacity: 0;
}

.neural-figure {
  top: 72px;
  right: clamp(-178px, -8vw, -72px);
  width: min(63vw, 880px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  opacity: 0.92;
  -webkit-mask-image: none;
  mask-image: none;
}

.neural-figure::before {
  display: none;
}

.neural-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transform: scale(1.05) translate(2%, -2%);
  filter: drop-shadow(0 22px 58px rgba(120, 104, 62, 0.08));
  mix-blend-mode: normal;
}

.mission-strip {
  width: min(760px, 100%);
}

.mission-strip article {
  min-height: 96px;
  padding: 15px 18px;
}

.eyebrow,
.mission-strip span,
.panel-kicker,
.program-grid span,
.founder-card span,
.course-lines span,
.metric-grid strong {
  color: #101010;
}

.hero-lead {
  color: rgba(16, 16, 16, 0.68);
}

.neural-note {
  border-color: rgba(16, 16, 16, 0.16);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(16, 16, 16, 0.7);
}

.secondary-button {
  border-color: rgba(16, 16, 16, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: #101010;
}

.mission-strip article,
.founder-card,
.branch-panel,
.program-grid article,
.detail-grid article,
.line-visual,
.contact-visual,
.contact-form,
.legal-page article {
  background: rgba(255, 255, 255, 0.82);
}

.mission-strip article {
  border-color: rgba(16, 16, 16, 0.12);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 54px rgba(16, 16, 16, 0.045);
}

.founder-section,
.program-section,
.branch-section,
.contact-section {
  background: #ffffff;
}

.lead-founder {
  background: #ffffff;
}

.founder-layout {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1120px, 100%);
  gap: 12px;
  align-items: stretch;
}

.avatar-mark {
  border-color: rgba(16, 16, 16, 0.18);
  background: #101010;
  color: #ffffff;
}

.founder-card {
  position: relative;
  display: flex;
  min-height: 266px;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 20px 18px 18px;
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(16, 16, 16, 0.045);
}

.founder-copy {
  position: relative;
  z-index: 1;
  padding: 0;
}

.founder-copy span {
  display: block;
  margin-bottom: 10px;
  color: rgba(16, 16, 16, 0.48);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.founder-card h3 {
  margin: 0;
  color: rgba(16, 16, 16, 0.62);
  font-size: clamp(1.12rem, 1.38vw, 1.5rem);
  font-weight: 560;
  line-height: 1.02;
}

.founder-sketch {
  width: min(100%, 176px);
  height: 176px;
  margin: 18px auto 0;
  object-fit: contain;
  opacity: 1;
}

.founder-avatar {
  border-radius: 0;
}

.zhisi-section .section-heading {
  display: block;
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.zhisi-section .section-heading h2 {
  margin-bottom: 12px;
}

.zhisi-section .section-heading p:not(.eyebrow) {
  max-width: 680px;
}

.scroll-cue {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: rgba(16, 16, 16, 0.46);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 5px 0 0 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.content-section {
  display: grid;
  gap: 26px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px;
  align-items: stretch;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.content-layout.reversed .line-visual {
  order: 2;
}

.line-visual,
.contact-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 68px rgba(16, 16, 16, 0.06);
}

.line-visual img,
.contact-visual img {
  width: min(100%, 560px);
}

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

.detail-grid article {
  min-height: 203px;
  padding: 24px;
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(16, 16, 16, 0.05);
}

.detail-grid span {
  display: block;
  margin-bottom: 42px;
  color: rgba(16, 16, 16, 0.48);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-grid h3 {
  margin-bottom: 10px;
  font-size: 1.48rem;
  line-height: 1.2;
}

.detail-grid p {
  margin-bottom: 0;
  color: rgba(16, 16, 16, 0.62);
  line-height: 1.7;
}

.course-section,
.zhisi-section {
  background: #ffffff;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-visual {
  min-height: 280px;
  padding: 20px;
}

.branch-menu button {
  background: rgba(255, 255, 255, 0.76);
  color: rgba(16, 16, 16, 0.62);
}

.branch-menu button:hover,
.branch-menu button.is-active {
  border-color: #101010;
  background: #101010;
  color: #ffffff;
}

.signal-list span {
  color: rgba(16, 16, 16, 0.82);
}

.tool-preview img {
  box-shadow: 0 18px 56px rgba(16, 16, 16, 0.1);
}

.program-grid article:nth-child(1),
.program-grid article:nth-child(2),
.program-grid article:nth-child(3),
.program-grid article:nth-child(4) {
  border-top-color: #101010;
}

.contact-form span,
.site-footer a {
  color: #101010;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.86);
  color: #101010;
}

.site-footer {
  background: #ffffff;
}

@media (max-width: 760px) {
  .course-section .section-heading p:not(.eyebrow),
  .zhisi-section .section-heading p:not(.eyebrow) {
    white-space: normal;
  }

  .community-hero {
    align-items: end;
    min-height: auto;
    padding: 70px 20px 34px;
  }

  .neural-figure {
    top: 112px;
    right: -382px;
    width: 670px;
    opacity: 0.34;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .founder-layout {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .founder-card {
    min-height: 240px;
    padding: 20px 18px 18px;
  }

  .founder-copy {
    padding: 0;
  }

  .founder-sketch {
    width: min(100%, 172px);
    height: 172px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

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

  .line-visual,
  .contact-visual {
    min-height: 250px;
  }

  .hero-shade {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .community-hero .eyebrow,
  .community-hero h1,
  .hero-lead,
  .neural-note,
  .mission-strip article,
  .scroll-cue {
    animation: hero-rise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .community-hero h1 {
    animation-delay: 90ms;
  }

  .hero-lead {
    animation-delay: 180ms;
  }

  .neural-note {
    animation-delay: 260ms;
  }

  .mission-strip article:nth-child(1) {
    animation-delay: 360ms;
  }

  .mission-strip article:nth-child(2) {
    animation-delay: 450ms;
  }

  .mission-strip article:nth-child(3) {
    animation-delay: 540ms;
  }

  .scroll-cue {
    animation-delay: 660ms;
  }

  .neural-figure {
    animation: neural-float 9s ease-in-out infinite;
    transform-origin: 58% 52%;
  }

  .neural-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    background:
      radial-gradient(circle at 84% 19%, rgba(255, 218, 128, 0.58) 0 2px, transparent 8px),
      radial-gradient(circle at 88% 32%, rgba(255, 223, 146, 0.44) 0 2px, transparent 7px),
      radial-gradient(circle at 90% 54%, rgba(255, 230, 166, 0.36) 0 2px, transparent 8px),
      radial-gradient(circle at 86% 73%, rgba(255, 218, 128, 0.34) 0 2px, transparent 8px),
      radial-gradient(circle at 58% 32%, rgba(255, 234, 180, 0.24) 0 2px, transparent 7px);
    filter: blur(0.2px);
    opacity: 0.42;
    animation: touch-pulse 4.8s ease-in-out infinite;
  }

  .neural-figure img {
    animation: neural-pulse 6.2s ease-in-out infinite;
  }

  .scroll-cue::after {
    animation: scroll-cue 1.45s ease-in-out infinite;
  }

  .reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
      border-color 260ms ease,
      box-shadow 260ms ease;
  }

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

  .detail-grid article:nth-child(2),
  .founder-card:nth-child(2) {
    transition-delay: 80ms;
  }

  .detail-grid article:nth-child(3),
  .founder-card:nth-child(3) {
    transition-delay: 150ms;
  }

  .detail-grid article:nth-child(4),
  .founder-card:nth-child(4) {
    transition-delay: 220ms;
  }

  .founder-card:nth-child(5) {
    transition-delay: 290ms;
  }

  .line-visual,
  .contact-visual,
  .founder-card,
  .contact-form,
  .mission-strip article,
  .detail-grid article {
    transition:
      transform 260ms ease,
      border-color 260ms ease,
      box-shadow 260ms ease;
  }

  .line-visual,
  .contact-visual {
    position: relative;
    overflow: hidden;
  }

  .line-visual::after,
  .contact-visual::after {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 228, 162, 0.16), transparent 62%);
    opacity: 0;
    transform: scale(0.82);
    transition:
      opacity 900ms ease,
      transform 900ms ease;
    pointer-events: none;
  }

  .line-visual.is-visible::after,
  .contact-visual.is-visible::after {
    opacity: 1;
    transform: scale(1);
  }

  .line-art-svg {
    width: min(100%, 560px);
    height: auto;
    overflow: visible;
  }

  .line-art-svg .draw-path {
    stroke-dasharray: var(--path-length);
    stroke-dashoffset: var(--path-length);
    transition: stroke-dashoffset 1300ms cubic-bezier(0.22, 0.72, 0.18, 1);
  }

  .line-art-svg.is-drawn .draw-path {
    stroke-dashoffset: 0;
  }

  .line-art-svg .draw-node {
    opacity: 0;
    transform: scale(0.92);
    transform-box: fill-box;
    transform-origin: center;
    transition:
      opacity 520ms ease,
      transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .line-art-svg.is-drawn .draw-node {
    opacity: 1;
    transform: scale(1);
  }

  .mission-strip article:hover,
  .detail-grid article:hover,
  .line-visual:hover,
  .contact-visual:hover,
  .contact-form:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 16, 16, 0.24);
    box-shadow: 0 26px 78px rgba(16, 16, 16, 0.09);
  }

  .founder-card::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 16, 16, 0.42), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 320ms ease;
  }

  .founder-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 16, 16, 0.24);
    box-shadow: 0 30px 86px rgba(16, 16, 16, 0.1);
  }

  .founder-card:hover::after {
    transform: scaleX(1);
  }

  .founder-sketch {
    transition:
      transform 280ms ease,
      filter 280ms ease;
  }

  .founder-card:hover .founder-sketch {
    transform: translateY(-4px);
    filter: drop-shadow(0 12px 20px rgba(16, 16, 16, 0.08));
  }

  .contact-form.has-sent {
    border-color: rgba(16, 16, 16, 0.28);
    box-shadow:
      0 22px 80px rgba(16, 16, 16, 0.1),
      0 0 0 1px rgba(255, 224, 150, 0.2) inset;
  }

  .form-note.is-success {
    color: rgba(16, 16, 16, 0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

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

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

@keyframes neural-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-10px, 8px, 0) rotate(-0.8deg);
  }
}

@keyframes neural-pulse {
  0%,
  100% {
    opacity: 0.92;
    filter: drop-shadow(0 22px 58px rgba(120, 104, 62, 0.08));
  }

  50% {
    opacity: 1;
    filter:
      drop-shadow(0 22px 58px rgba(120, 104, 62, 0.1))
      drop-shadow(0 0 22px rgba(214, 176, 78, 0.08));
  }
}

@keyframes touch-pulse {
  0%,
  100% {
    opacity: 0.32;
  }

  48% {
    opacity: 0.7;
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(4px) rotate(45deg);
  }
}
