:root {
  --ink: #102033;
  --muted: #506172;
  --paper: #f5f9ff;
  --paper-deep: #eaf2ff;
  --white: #ffffff;
  --line: #d8e6f7;
  --green: #2563eb;
  --green-dark: #0b3d91;
  --blue: #0f5ea8;
  --gold: #ffb020;
  --brick: #f97316;
  --sage: #e8f2ff;
  --primary: var(--green-dark);
  --primary-light: var(--green);
  --secondary: var(--brick);
  --text-main: var(--ink);
  --text-light: var(--muted);
  --bg-color: var(--paper);
  --shadow-sm: var(--shadow-soft);
  --shadow-md: var(--shadow);
  --shadow-lg: 0 20px 44px rgba(14, 54, 102, 0.16);
  --shadow: 0 14px 36px rgba(14, 54, 102, 0.12);
  --shadow-soft: 0 8px 24px rgba(14, 54, 102, 0.08);
  --radius: 8px;
  --fast: 180ms ease;
  --slow: 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.is-modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 61, 145, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 61, 145, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

main,
.site-footer {
  position: relative;
  z-index: 1;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
summary {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 12px;
  z-index: 2000;
  padding: 8px 12px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform var(--fast);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-strip {
  color: rgba(255, 255, 255, 0.92);
  background: #082f63;
  font-size: 13px;
}

.top-strip__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  overflow-x: auto;
}

.top-strip a {
  color: #ffb020;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(11, 61, 145, 0.1);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--fast), background var(--fast);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(14, 54, 102, 0.08);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-logo {
  display: block;
  width: auto;
  max-width: 178px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 38px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__text {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-menu a {
  position: relative;
  padding: 8px 0;
  transition: color var(--fast);
}

.site-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast);
}

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

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

.site-menu .menu-cta {
  color: var(--white);
  background: var(--brick);
  padding: 9px 14px;
  border-radius: 6px;
}

.site-menu .menu-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 74px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 4px;
  height: 4px;
  background: var(--green-dark);
  border-radius: 50%;
}

.nav-toggle b {
  margin-left: 4px;
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.section-heading h2,
.system-copy h2,
.materials-grid h2,
.about-grid h2,
.final-copy h2 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.26;
  letter-spacing: 0;
}

.section-heading p:last-child,
.system-copy p,
.materials-grid p,
.about-grid p,
.final-copy p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  color: var(--brick);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  margin-right: 10px;
  background: var(--brick);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast), color var(--fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 10px 22px rgba(11, 61, 145, 0.2);
}

.btn-secondary {
  color: var(--white);
  background: var(--brick);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

.btn-ghost {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 255, 0.84)),
    url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&q=80&w=1800") center/cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 54px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 50px;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-lead {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 700;
}

.hero-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(11, 61, 145, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.board-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.board-header strong {
  color: var(--ink);
}

.route-card {
  position: relative;
  min-height: 120px;
  padding: 18px 18px 18px 22px;
  overflow: hidden;
  border-left: 4px solid var(--line);
  background: rgba(245, 249, 255, 0.92);
  border-radius: 6px;
  transition: border-color var(--fast), transform var(--fast), background var(--fast);
}

.route-card.is-live {
  border-color: var(--brick);
  background: var(--white);
  transform: translateX(-6px);
}

.route-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.route-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.route-card p {
  color: var(--muted);
  font-size: 14px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 62px;
  overflow: hidden;
  border: 1px solid rgba(11, 61, 145, 0.12);
  border-radius: var(--radius);
  background: rgba(11, 61, 145, 0.12);
}

.metric-strip div {
  min-height: 110px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.metric-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 32px;
  line-height: 1;
}

.metric-strip span {
  color: var(--muted);
  font-size: 14px;
}

.service-ticker {
  margin-top: 34px;
  overflow: hidden;
  border-top: 1px solid rgba(11, 61, 145, 0.1);
  border-bottom: 1px solid rgba(11, 61, 145, 0.1);
  background: rgba(255, 255, 255, 0.45);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.ticker-track span {
  padding: 16px 30px;
  color: var(--green-dark);
  font-weight: 700;
  white-space: nowrap;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.problem-card,
.teacher-card,
.project-item,
.consult-panel,
.latest-posts-panel,
.contact-card,
.about-list,
.compliance,
.tab-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.problem-card {
  min-height: 310px;
  padding: 24px;
  transition: transform var(--fast), border-color var(--fast);
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.42);
}

.problem-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.problem-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.problem-card p {
  color: var(--muted);
  font-size: 15px;
}

.system-section {
  background: linear-gradient(180deg, rgba(232, 242, 255, 0.85), rgba(245, 249, 255, 0));
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.system-copy p {
  max-width: 760px;
}

.system-flow {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 112px;
}

.flow-item {
  position: relative;
  padding: 20px 20px 20px 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transition: transform var(--fast), background var(--fast), border-color var(--fast);
}

.flow-item span {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-dark);
  background: var(--sage);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.flow-item strong {
  display: block;
  margin-bottom: 4px;
}

.flow-item p {
  color: var(--muted);
  font-size: 14px;
}

.flow-item.is-active {
  border-color: rgba(37, 99, 235, 0.34);
  background: var(--white);
  transform: translateX(-8px);
}

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

.teacher-card {
  padding: 24px;
  transition: transform var(--fast), box-shadow var(--fast);
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.teacher-card--primary {
  background: #f8fbff;
  border-color: rgba(249, 115, 22, 0.28);
}

.teacher-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.teacher-avatar {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  font-size: 26px;
  font-weight: 800;
}

.teacher-card:nth-child(2) .teacher-avatar {
  background: var(--blue);
}

.teacher-card:nth-child(3) .teacher-avatar {
  background: var(--brick);
}

.teacher-head h3 {
  margin: 0;
  font-size: 24px;
}

.teacher-head p {
  color: var(--brick);
  font-size: 14px;
  font-weight: 700;
}

.teacher-scope span {
  display: block;
}

.teacher-card > p {
  color: var(--muted);
  font-size: 15px;
}

.tag-row,
.pill-list,
.question-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.pill-list li,
.question-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: var(--sage);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.projects-section {
  background: rgba(255, 255, 255, 0.46);
}

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

.core-project {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
}

.core-project:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: var(--shadow);
}

.project-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: var(--brick);
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.core-project h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.32;
}

.core-project p {
  color: var(--muted);
}

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

.project-item {
  overflow: hidden;
}

.project-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.project-item summary::-webkit-details-marker {
  display: none;
}

.project-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--brick);
  font-size: 28px;
  line-height: 1;
  transition: transform var(--fast);
}

.project-item[open] summary::after {
  transform: rotate(45deg);
}

.project-item summary span {
  display: inline-flex;
  width: 68px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.project-item summary strong {
  font-size: 21px;
}

.project-body {
  padding: 0 24px 24px 108px;
  color: var(--muted);
}

.pill-list {
  margin-top: 16px;
  list-style: none;
}

.materials-section {
  background: #f8fbff;
  color: var(--ink);
}

.materials-section .eyebrow {
  color: var(--brick);
}

.materials-section .eyebrow::before {
  background: var(--brick);
}

.materials-section .materials-grid p,
.materials-section .check-list li {
  color: var(--muted);
}

.materials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: start;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 14px;
}

.tab-buttons button {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.tab-buttons button.is-active {
  color: var(--white);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.tab-panel {
  display: none;
  padding: 24px;
  color: var(--ink);
}

.tab-panel.is-active {
  display: block;
  animation: fadeUp 420ms ease both;
}

.tab-panel h3 {
  margin: 0 0 10px;
}

.tab-panel p {
  color: var(--muted);
}

.consult-panel {
  padding: 26px;
  color: var(--ink);
}

.consult-panel h3 {
  margin: 0 0 18px;
}

.latest-posts-panel {
  padding: 26px;
  color: var(--ink);
}

.latest-posts-panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.latest-posts-list {
  display: grid;
  gap: 0;
}

.latest-posts-list a {
  display: block;
  padding: 13px 0;
  color: var(--green-dark);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.55;
  transition: color var(--fast), padding-left var(--fast);
}

.latest-posts-list a:last-child {
  border-bottom: 0;
}

.latest-posts-list a:hover {
  color: var(--brick);
  padding-left: 6px;
}

.materials-section .tab-panel,
.materials-section .tab-panel h3,
.materials-section .consult-panel,
.materials-section .consult-panel h3,
.materials-section .latest-posts-panel,
.materials-section .latest-posts-panel h3 {
  color: var(--ink) !important;
}

.materials-section .tab-panel p,
.materials-section .consult-panel p,
.materials-section .consult-panel .check-list li {
  color: var(--muted) !important;
}

.materials-section .tab-buttons button:not(.is-active) {
  color: var(--green-dark);
  background: var(--white);
}

.feedback-section {
  overflow: hidden;
}

.feedback-rail {
  width: 100%;
  overflow: hidden;
  margin: 10px 0 28px;
  border-top: 1px solid rgba(11, 61, 145, 0.12);
  border-bottom: 1px solid rgba(11, 61, 145, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

.feedback-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.feedback-track article {
  width: 360px;
  min-height: 128px;
  padding: 24px 28px;
  border-right: 1px solid rgba(11, 61, 145, 0.12);
}

.feedback-track span {
  display: block;
  margin-bottom: 10px;
  color: var(--brick);
  font-size: 14px;
  font-weight: 800;
}

.feedback-track strong {
  display: block;
  font-size: 20px;
  line-height: 1.45;
}

.feedback-gallery {
  margin-top: 34px;
}

.feedback-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: center;
}

.feedback-copy-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f8fbff);
  box-shadow: var(--shadow-soft);
}

.feedback-copy-panel h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.28;
}

.feedback-copy-panel p {
  color: var(--muted);
}

.feedback-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
}

.feedback-points span {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 700;
}

.feedback-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--brick);
  border-radius: 50%;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.album-grid.is-carousel-ready .album-card {
  display: none;
}

.album-grid.is-carousel-ready .album-card.is-visible,
.album-grid.is-carousel-ready .album-card.is-leaving {
  display: block;
  order: var(--slot, 0);
}

.album-grid.is-carousel-ready .album-card.is-entering {
  animation: albumEnter 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.album-grid.is-carousel-ready .album-card.is-leaving {
  animation: albumExit 460ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.album-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(11, 61, 145, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 380 / 800;
  transform: translateZ(0);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.album-card:nth-child(n + 7) {
  display: none;
}

.album-card:hover {
  transform: translateY(-10px) scale(1.025);
  border-color: rgba(249, 115, 22, 0.82);
  box-shadow: 0 26px 54px rgba(14, 54, 102, 0.22);
}

.album-card::before,
.album-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 420ms ease, transform 420ms ease;
}

.album-card::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 38%),
    linear-gradient(180deg, transparent 58%, rgba(8, 47, 99, 0.22));
}

.album-card::after {
  border: 2px solid rgba(255, 176, 32, 0.9);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transform: scale(0.985);
}

.album-card:hover::before,
.album-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.album-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease;
}

.album-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.02);
}

.about-section {
  background: linear-gradient(180deg, rgba(232, 242, 255, 0.9), rgba(255, 255, 255, 0.5));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
}

.about-list {
  padding: 28px;
}

.about-list h3 {
  margin: 0 0 18px;
}

.about-list p {
  color: var(--muted);
}

.final-section {
  background: #f8fbff;
}

.post-hero {
  padding: 64px 0 46px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 47, 99, 0.94), rgba(11, 61, 145, 0.88)),
    url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&q=80&w=1800") center/cover;
}

.post-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.post-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.25;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.post-content {
  padding: 42px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-size: 17px;
  line-height: 1.95;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  color: var(--green-dark);
  line-height: 1.35;
}

.post-content p,
.post-content li {
  color: var(--ink);
}

.post-content img {
  height: auto;
  border-radius: var(--radius);
}

.post-sidebar {
  position: sticky;
  top: 100px;
}

.post-consult-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.post-consult-card h2 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.35;
}

.post-consult-card p {
  color: var(--muted);
}

.post-consult-card .btn {
  width: 100%;
  margin-top: 10px;
}

.final-copy {
  max-width: 980px;
  margin-bottom: 34px;
}

.question-cloud {
  margin-top: 18px;
}

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

.contact-card {
  padding: 24px;
}

.contact-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.contact-card p {
  color: var(--muted);
  font-size: 15px;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contact-lines a,
.contact-lines span,
.contact-lines button,
.copy-wechat {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: var(--sage);
  border: 0;
  border-radius: 6px;
  color: var(--green-dark);
  font: inherit;
  font-weight: 700;
  text-align: left;
  overflow-wrap: break-word;
  cursor: pointer;
}

.copy-wechat:hover,
.contact-lines a:hover {
  color: var(--white);
  background: var(--green-dark);
}

.copy-wechat.has-qr {
  position: relative;
  overflow: visible;
}

.copy-wechat__label {
  display: block;
}

.wechat-qr-preview {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 15;
  width: 176px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(5, 18, 38, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transition: opacity var(--fast), transform var(--fast);
}

.wechat-qr-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
}

.copy-wechat.has-qr:hover .wechat-qr-preview,
.copy-wechat.has-qr.is-qr-open .wechat-qr-preview {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.contact-card--accounts {
  background: var(--ink);
  color: var(--white);
}

.contact-card--accounts p,
.contact-card--accounts a {
  color: rgba(255, 255, 255, 0.76);
}

.account-list,
.footer-social {
  display: grid;
  gap: 8px;
}

.account-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: inherit;
}

a.account-line {
  transition: color var(--fast), transform var(--fast);
}

a.account-line:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.account-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.account-icon--xhs {
  background: #ff2442;
}

.account-icon--douyin {
  background: #111827;
  box-shadow: inset 2px 0 0 #22d3ee, inset -2px 0 0 #fb7185;
}

.account-icon--video {
  background: #19c37d;
}

.account-icon--wechat {
  background: #07c160;
}

.compliance {
  margin-top: 18px;
  padding: 24px;
  border-color: rgba(249, 115, 22, 0.35);
  background: #fff7ed;
}

.compliance h3 {
  margin: 0 0 10px;
  color: var(--brick);
}

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

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #082f63;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 34px;
}

.footer-grid--official {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(220px, 0.7fr));
}

.footer-brand strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 28px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 18px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-grid .account-line {
  display: flex;
  margin-bottom: 8px;
}

.footer-contact a,
.footer-contact button {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.footer-contact a:hover,
.footer-contact button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.footer-bottom__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-hotline {
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  color: var(--gold);
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.32);
  border-radius: 8px;
}

.footer-hotline span {
  width: fit-content;
  padding: 1px 6px;
  color: #082f63;
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.footer-hotline strong {
  color: var(--gold);
  font-size: 20px;
  line-height: 1.15;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 38, 0.82);
}

.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  color: var(--white);
}

.gallery-lightbox__panel img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--brick);
  border: 0;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 2800;
  display: grid;
  place-items: center;
  padding: 22px;
}

.contact-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 38, 0.55);
}

.contact-popup__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 28px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(5, 18, 38, 0.28);
}

.contact-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--green-dark);
  background: var(--sage);
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.contact-popup__panel h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.contact-popup__lead,
.contact-popup__note {
  color: var(--muted);
}

.popup-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.popup-contact-grid > div {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.popup-contact-grid h3 {
  margin: 0 0 8px;
}

.popup-contact-grid p {
  color: var(--muted);
  font-size: 14px;
}

.popup-contact-grid a,
.popup-contact-grid button {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 9px 10px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.side-floats {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.side-float {
  position: fixed;
  top: 112px;
  bottom: 0;
  width: max(120px, calc((100vw - 1180px) / 2 - 24px));
  overflow: hidden;
}

.side-float--left {
  left: 0;
}

.side-float--right {
  right: 0;
}

.side-float img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(170px, 14vw, 290px);
  max-width: none;
  opacity: 0.28;
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(14, 54, 102, 0.22);
  filter: blur(1px) saturate(1.08);
  animation: sideDrift 8s ease-in-out infinite alternate;
  transition: opacity 520ms ease, filter 520ms ease;
}

.side-float img.is-switching {
  opacity: 0;
  filter: blur(10px) saturate(0.8);
}

@keyframes sideDrift {
  from {
    transform: translate3d(-50%, -54%, 0) scale(var(--float-scale, 1));
  }
  to {
    transform: translate3d(-50%, -46%, 0) scale(calc(var(--float-scale, 1) + 0.08));
  }
}

@keyframes albumEnter {
  from {
    opacity: 0;
    transform: translate3d(18px, 20px, 0) scale(0.94) rotateX(4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes albumExit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(-18px, -16px, 0) scale(0.94) rotateX(-4deg);
  }
}

@media (max-width: 1280px) {
  .side-floats {
    display: none;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--slow), transform var(--slow);
}

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

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@media (max-width: 1080px) {
  .side-floats {
    display: none;
  }

  .site-menu {
    gap: 14px;
    font-size: 14px;
  }

  .hero-grid,
  .system-grid,
  .materials-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-board,
  .consult-panel,
  .about-list {
    max-width: 720px;
  }

  .system-flow {
    position: static;
  }

  .problem-grid,
  .teacher-grid,
  .core-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid,
  .footer-grid,
  .post-layout {
    grid-template-columns: 1fr;
  }

  .feedback-showcase {
    grid-template-columns: 1fr;
  }

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

  .album-card:nth-child(n + 7) {
    display: none;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 82px;
  }

  .top-strip {
    display: none;
  }

  .nav-shell {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 12px;
    border-radius: 6px;
  }

  .site-menu a::after {
    display: none;
  }

  .site-menu .menu-cta {
    margin-top: 6px;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .section-heading h2,
  .system-copy h2,
  .materials-grid h2,
  .about-grid h2,
  .final-copy h2 {
    font-size: 28px;
  }

  .metric-strip,
  .problem-grid,
  .teacher-grid,
  .core-project-grid {
    grid-template-columns: 1fr;
  }

  .core-project {
    min-height: 0;
  }

  .project-item summary {
    align-items: flex-start;
  }

  .project-item summary span {
    width: 58px;
    flex: 0 0 auto;
  }

  .project-body {
    padding: 0 20px 22px;
  }

  .feedback-track article {
    width: 300px;
  }

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

  .album-card:nth-child(n + 5) {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-logo {
    max-width: 142px;
    max-height: 44px;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .post-hero {
    padding: 46px 0 34px;
  }

  .post-hero h1 {
    font-size: 29px;
  }

  .post-content {
    padding: 24px 18px;
    font-size: 16px;
  }

  .hero-actions,
  .tab-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .tab-buttons button {
    width: 100%;
  }

  .hero-board {
    padding: 12px;
  }

  .board-header {
    flex-direction: column;
    gap: 2px;
  }

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

  .album-card:nth-child(n + 3) {
    display: none;
  }

  .contact-popup {
    align-items: end;
    padding: 0;
  }

  .contact-popup__panel {
    width: 100%;
    max-height: 88vh;
    padding: 24px 18px;
    border-radius: 18px 18px 0 0;
  }

  .popup-contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .metric-strip div {
    min-height: 88px;
    padding: 18px;
  }
}
