:root {
  --red: #9b0008;
  --red-deep: #710006;
  --ink: #15110f;
  --muted: #69615c;
  --line: #e9dfd9;
  --paper: #fffaf6;
  --white: #ffffff;
  --cyan: #1db6c7;
  --shadow: 0 24px 70px rgba(42, 18, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--paper) 62%, #fff 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(155, 0, 8, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-mark {
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark span {
  color: var(--red);
}

.brand-url {
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 34px;
  font-size: 15px;
  color: #302724;
}

.nav a {
  position: relative;
  padding: 28px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 14px 28px rgba(155, 0, 8, 0.18);
}

.header-cta {
  padding: 0 22px;
}

.primary-btn {
  padding: 0 28px;
}

.secondary-btn {
  padding: 0 24px;
  color: var(--red);
  border: 1px solid rgba(155, 0, 8, 0.28);
  background: rgba(255, 255, 255, 0.62);
}

.section {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 64px 0 76px;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.02;
}

.title-accent {
  color: var(--red);
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #403734;
  font-size: 20px;
  line-height: 1.9;
}

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

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-line span::before {
  width: 7px;
  height: 7px;
  content: "";
  border: 2px solid var(--red);
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  background: #1c0e0c;
  box-shadow: var(--shadow);
}

.hero-visual > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 250, 246, 0.04), rgba(0, 0, 0, 0.16));
}

.professor-card {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, calc(100% - 52px));
  padding: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(21, 17, 15, 0.72);
  backdrop-filter: blur(14px);
}

.professor-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
}

.professor-card strong,
.professor-card span {
  display: block;
}

.professor-card strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.professor-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.service-band {
  padding: 78px 5vw 84px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  width: min(850px, 90vw);
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.professor-copy h2,
.method-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
}

.section-heading p,
.method-copy p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(1180px, 90vw);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 236px;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item .icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 34px;
  line-height: 48px;
}

.service-item h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.professor-section {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  padding: 96px 0;
}

.portrait-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(42, 18, 15, 0.1);
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.source-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.source-note a {
  color: var(--red);
  font-weight: 700;
}

.professor-copy p {
  margin: 20px 0 0;
  color: #403734;
  font-size: 18px;
  line-height: 1.95;
}

.professor-points {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.professor-points div {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.82);
}

.professor-points strong {
  color: var(--red);
}

.professor-points span {
  color: var(--muted);
}

.method-section {
  padding: 88px 5vw;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(113, 0, 6, 0.94), rgba(21, 17, 15, 0.93)),
    url("assets/ai-transformation-visual.png") center / cover;
}

.method-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  width: min(1180px, 90vw);
  margin: 0 auto;
  align-items: start;
}

.method-copy p {
  color: rgba(255, 255, 255, 0.78);
}

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

.method-list div {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.method-list span {
  color: var(--cyan);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 800;
}

.method-list strong {
  display: block;
  margin-top: 18px;
  font-size: 21px;
}

.method-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  align-items: center;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 86px 0;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-lines span {
  padding: 13px 16px;
  color: var(--red);
  border: 1px solid rgba(155, 0, 8, 0.18);
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
}

.qr-card {
  padding: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(42, 18, 15, 0.1);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.qr-card strong,
.qr-card span {
  display: block;
}

.qr-card strong {
  margin-top: 18px;
  font-size: 22px;
}

.qr-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding: 24px 5vw;
  color: rgba(255, 255, 255, 0.72);
  background: #15110f;
  font-size: 14px;
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-visual > img {
    height: 440px;
  }

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

  .professor-section,
  .method-inner {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    width: min(360px, 100%);
  }
}

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

  .brand-mark {
    font-size: 24px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    width: min(100% - 36px, 1180px);
    padding: 42px 0 56px;
  }

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

  .hero-lead,
  .section-heading p,
  .method-copy p,
  .contact-copy p,
  .professor-copy p {
    font-size: 16px;
  }

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

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual > img {
    height: 360px;
  }

  .professor-card {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .service-band {
    padding: 56px 18px 62px;
  }

  .service-grid,
  .method-list {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .professor-section,
  .contact-section {
    width: min(100% - 36px, 1180px);
    padding: 62px 0;
  }

  .professor-points div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .method-section {
    padding: 62px 18px;
  }

  .method-inner {
    width: 100%;
  }

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

  .qr-card {
    width: min(260px, 100%);
  }
}
