:root {
  --ink: #111827;
  --black: #05070b;
  --navy: #071525;
  --blue: #12375a;
  --blue-2: #1d5a7a;
  --gold: #c5a15c;
  --paper: #f6f4ef;
  --white: #ffffff;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.13);
  --line-dark: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.loading,
.maintenance {
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--black);
}

.loading.error {
  color: #ffd6d6;
}

.maintenance {
  align-content: center;
  gap: 18px;
  padding: 40px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(197, 161, 92, 0.14), transparent 42%),
    var(--black);
}

.maintenance h1 {
  margin: 0;
  font-family: "Songti SC", Georgia, serif;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 500;
}

.maintenance p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 56px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(246, 244, 239, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark,
.footer-brand > span,
.footer-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--gold);
  font-family: "Songti SC", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.brand-logo,
.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 0;
}

.brand-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand strong,
.footer-brand strong {
  display: block;
  width: 182px;
  font-family: "Songti SC", Georgia, serif;
  font-size: 18px;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.brand small,
.footer-brand p {
  margin: 0;
  width: 182px;
  font-size: 10px;
  letter-spacing: 0;
  opacity: 0.68;
  text-align: justify;
  text-align-last: justify;
  text-transform: uppercase;
}

.desktop-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

.desktop-nav a {
  opacity: 0.78;
}

.desktop-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.site-header.scrolled .menu-button {
  border-color: rgba(17, 24, 39, 0.2);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 88px 16px auto;
  z-index: 19;
  display: none;
  padding: 8px 18px;
  color: var(--white);
  background: rgba(5, 7, 11, 0.96);
  border: 1px solid var(--line-dark);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-dark);
}

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

.hero {
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.82), rgba(7, 21, 37, 0.62) 48%, rgba(7, 21, 37, 0.2)),
    var(--hero-image) center/cover no-repeat;
}

.hero-inner {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.56fr);
  align-items: end;
  gap: 72px;
  padding: 154px 56px 54px;
  }

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Songti SC", Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  font-size: var(--hero-title-size, clamp(42px, 6vw, 88px));
  line-height: 0.98;
  text-align: var(--hero-title-align, left);
}

h2 {
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.12;
}

h1 span,
h2 span {
  display: block;
}

.title-inline h1 span {
  display: inline;
}

.title-inline h1 span + span::before {
  content: " ";
}

.hero-copy > p:not(.eyebrow) {
  max-width: 790px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.86;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 850;
}

.button.primary {
  color: var(--black);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.hero-index {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.hero-index article {
  display: grid;
  grid-template-columns: 54px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.hero-index span {
  color: var(--gold);
  font-family: Georgia, serif;
}

.hero-index strong {
  font-size: 17px;
}

.hero-index p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.65;
}

.section {
  padding: 116px 56px;
}

.section-kicker {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 38px;
}

.section-kicker span {
  height: 1px;
  background: var(--line);
}

.intro-layout,
.section-top,
.governance,
.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 76px;
}

.lead,
.section-top > p,
.scene-copy > p,
.editorial > p,
.contact-copy > p {
  margin: 0;
  color: #414a56;
  font-size: 18px;
  line-height: 1.92;
}

.tag-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tag-row span {
  padding: 22px 10px;
  border-right: 1px solid var(--line);
  color: var(--blue);
  font-family: Georgia, "Songti SC", serif;
  font-size: 17px;
  text-align: center;
}

.tag-row span:last-child {
  border-right: 0;
}

.dark {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(197, 161, 92, 0.08), transparent 44%),
    var(--black);
}

.dark .section-top > p {
  color: rgba(255, 255, 255, 0.64);
}

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

.program-grid article {
  min-height: 360px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.025);
}

.program-grid article:nth-child(3n) {
  border-right: 0;
}

.program-badge {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 20px;
}

.program-meta {
  margin: 42px 0 14px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.program-grid h3 {
  margin: 0;
  font-family: "Songti SC", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.program-grid p:not(.program-meta) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.72;
}

.program-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.program-grid em {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-style: normal;
}

.scenes {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.7fr);
  gap: 80px;
  padding: 118px 56px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 21, 37, 0.94), rgba(18, 55, 90, 0.76)),
    linear-gradient(135deg, #071525, #1d5a7a);
}

.scene-copy {
  align-self: end;
}

.scene-copy > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.scene-list {
  align-self: end;
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.scene-list article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}

.scene-list strong {
  font-size: 21px;
}

.scene-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.72;
}

.governance {
  background: var(--white);
}

.editorial {
  position: sticky;
  top: 116px;
  align-self: start;
}

.governance-list {
  display: grid;
}

.governance-list article {
  display: grid;
  grid-template-columns: 64px minmax(160px, 0.48fr) minmax(0, 1fr);
  gap: 26px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.governance-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.governance-list span {
  color: var(--gold);
  font-family: Georgia, serif;
}

.governance-list h3 {
  margin: 0;
  color: var(--blue);
  font-family: "Songti SC", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.governance-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.method {
  background: var(--paper);
}

.method-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.method-line article {
  min-height: 286px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.method-line article:last-child {
  border-right: 0;
}

.method-line span {
  color: var(--gold);
  font-family: Georgia, serif;
}

.method-line strong {
  display: block;
  margin-top: 72px;
  color: var(--blue);
  font-size: 24px;
}

.method-line p {
  color: var(--muted);
  line-height: 1.72;
}

.reviews {
  color: var(--white);
  background: var(--black);
}

.reviews .section-top > p {
  color: rgba(255, 255, 255, 0.66);
}

.section-top.single {
  grid-template-columns: 1fr;
}

.review-carousel {
  overflow: hidden;
  background: var(--line-dark);
}

.review-track {
  display: flex;
  width: max-content;
  animation: review-scroll calc(var(--review-duration, 4s) * 6) linear infinite;
}

.review-carousel:hover .review-track {
  animation-play-state: paused;
}

.review-track figure {
  position: relative;
  width: min(420px, 78vw);
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  border-right: 1px solid var(--line-dark);
  flex: 0 0 auto;
}

.review-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.review-track figure:hover img {
  opacity: 0.9;
  transform: scale(1.035);
}

.review-track figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 64px 24px 24px;
  background: linear-gradient(0deg, rgba(5, 7, 11, 0.92), rgba(5, 7, 11, 0));
}

.review-track strong,
.review-track span {
  display: block;
}

.review-track strong {
  font-size: 20px;
}

.review-track span {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.62;
}

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

.contact {
  background: var(--white);
}

.company-card {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.company-card h3 {
  margin: 0 0 8px;
  font-family: "Songti SC", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.company-card p {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.company-card strong {
  color: var(--ink);
}

.consult-form {
  display: grid;
  gap: 16px;
  padding: 34px;
  background: #f8f7f3;
  border: 1px solid var(--line);
}

.consult-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 14px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 24, 39, 0.16);
  font: inherit;
}

.consult-form textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.consult-form button {
  min-height: 54px;
  border: 0;
  color: var(--black);
  background: var(--gold);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.consult-form button:disabled {
  cursor: default;
  opacity: 0.74;
}

.form-tip {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 28px;
  padding: 38px 56px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  border-top: 1px solid var(--line-dark);
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.footer-info a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero-inner,
  .intro-layout,
  .section-top,
  .scenes,
  .governance,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .program-grid article:nth-child(3n) {
    border-right: 1px solid var(--line-dark);
  }

  .program-grid article:nth-child(2n) {
    border-right: 0;
  }

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

  .editorial {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .mobile-nav {
    inset: 76px 12px auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    gap: 44px;
    padding: 122px 20px 38px;
  }

  h1 {
    font-size: 39px;
    line-height: 1.08;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy > p:not(.eyebrow),
  .lead,
  .section-top > p,
  .scene-copy > p,
  .editorial > p,
  .contact-copy > p {
    font-size: 16px;
    line-height: 1.78;
  }

  .hero-actions {
    display: grid;
  }

  .hero-index article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .hero-index p {
    grid-column: 2;
  }

  .section,
  .scenes {
    padding: 76px 20px;
  }

  .tag-row,
  .program-grid,
  .method-line {
    grid-template-columns: 1fr;
  }

  .tag-row span,
  .method-line article,
  .program-grid article,
  .program-grid article:nth-child(2n),
  .program-grid article:nth-child(3n) {
    border-right: 0;
  }

  .program-grid article {
    min-height: 0;
  }

  .governance-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .method-line strong {
    margin-top: 42px;
  }

  .consult-form {
    padding: 24px;
  }

  .company-card p {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
