:root {
  --red: #ff1b35;
  --red-deep: #c60020;
  --dark: #080405;
  --dark-soft: #12070a;
  --light: #f4f1ef;
  --ink: #0b0708;
  --muted: #8d8280;
  --line-light: #dfd7d3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --frame: min(90vw, 1720px);
  --header-height: 84px;
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--dark);
  color: #fff;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  background: #fff;
  color: #000;
  transition: top 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: var(--header-height);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(8, 4, 5, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.site-header.on-light {
  background: rgba(244, 241, 239, 0.96);
  border-color: rgba(11, 7, 8, 0.1);
}

.brand {
  width: 176px;
  height: 62px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.brand img {
  position: absolute;
  inset: auto 0;
  width: 176px;
  height: auto;
}

.brand-light {
  display: none;
}

.site-header.on-light .brand-dark {
  display: none;
}

.site-header.on-light .brand-light {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 38px);
  font: 600 13px/1 Arial, sans-serif;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  padding: 12px 0;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: #fff;
}

.site-header.on-light .site-nav {
  color: rgba(11, 7, 8, 0.62);
}

.site-header.on-light .site-nav a:hover,
.site-header.on-light .site-nav a:focus-visible,
.site-header.on-light .site-nav a.active {
  color: var(--ink);
}

.site-nav .nav-cta {
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.section-rail {
  position: fixed;
  z-index: 80;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
}

.section-rail a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-right: 2px solid rgba(255, 255, 255, 0.22);
  color: transparent;
  font: 700 8px/1 Arial, sans-serif;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.section-rail a.active {
  border-color: var(--red);
  color: var(--red);
}

.panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
}

.panel-dark {
  background-color: var(--dark);
  background-image: url("assets/dark-grid.jpg");
  background-repeat: repeat;
  color: #fff;
}

.panel-light {
  background: var(--light);
  color: var(--ink);
}

.frame {
  width: var(--frame);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(112px, 13vh) 0 58px;
  position: relative;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 36px;
  color: var(--red);
  font: 700 13px/1.2 Arial, sans-serif;
  letter-spacing: 0.02em;
}

.eyebrow > span {
  width: 54px;
  height: 3px;
  background: var(--red);
  flex: 0 0 auto;
}

.eyebrow-dark {
  color: #9b001a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.hero-frame {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  padding-top: max(108px, 12vh);
}

.hero-copy {
  align-self: center;
}

.hero-copy h1 {
  margin: 0 0 10vh;
  font-size: clamp(52px, 5vw, 96px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-lead {
  margin-bottom: 22px;
  color: var(--red);
  font-size: clamp(20px, 1.7vw, 34px);
  line-height: 1.45;
  font-weight: 700;
}

.hero-meta {
  margin-bottom: 46px;
  color: #8b7f7e;
  font-size: clamp(14px, 1.15vw, 22px);
  letter-spacing: 0.02em;
}

.hero-brand {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 70vh;
}

.hero-brand img {
  width: min(650px, 40vw);
}

.hero-brand p {
  position: absolute;
  right: 0;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.4);
  font: 700 10px/1 Arial, sans-serif;
  letter-spacing: 0.04em;
}

.light-frame {
  display: flex;
  flex-direction: column;
}

.heading-row {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  align-items: center;
  gap: 6vw;
  padding-bottom: clamp(50px, 7vh, 90px);
  border-bottom: 1px solid var(--line-light);
}

.heading-row h2,
.business-heading h2,
.advantages-intro h2 {
  margin: 0;
  font-size: clamp(40px, 3.3vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.heading-row > p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 27px);
  line-height: 1.65;
  text-align: right;
}

.feature-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0;
}

.feature-card {
  padding: clamp(34px, 5vh, 72px) 3vw 24px 6px;
  border-right: 1px solid var(--line-light);
}

.feature-card:not(:first-child) {
  padding-left: 3vw;
}

.feature-card:last-child {
  border-right: 0;
}

.feature-number {
  display: block;
  margin-bottom: 26px;
  color: #e5dedb;
  font: 700 clamp(70px, 7vw, 132px)/0.86 Arial, sans-serif;
  letter-spacing: -0.07em;
}

.feature-number-red {
  color: #f4d7dc;
}

.red-rule {
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 36px;
  background: var(--red);
}

.feature-card h3 {
  margin-bottom: 34px;
  font-size: clamp(24px, 2vw, 38px);
  line-height: 1.3;
}

.feature-card p {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.7;
}

.page-foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  color: #99908d;
  font: 700 9px/1 Arial, sans-serif;
}

.page-foot-dark {
  color: rgba(255, 255, 255, 0.34);
}

.advantages-frame {
  display: grid;
  grid-template-columns: 47% 53%;
  gap: 4vw;
  padding-bottom: 44px;
}

.advantages-intro {
  display: flex;
  flex-direction: column;
}

.capability-mark {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--red);
}

.capability-mark strong {
  font: 700 clamp(150px, 18vw, 310px)/0.75 Arial, sans-serif;
  letter-spacing: -0.08em;
}

.capability-mark span {
  font: 700 clamp(17px, 1.6vw, 30px)/1.2 Arial, sans-serif;
}

.advantage-list {
  margin: 8vh 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.advantage-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: clamp(22px, 3.8vh, 44px) 0;
  border-bottom: 1px solid var(--line-dark);
}

.advantage-list li > span {
  padding-top: 8px;
  color: var(--red);
  font: 700 14px/1 Arial, sans-serif;
}

.advantage-list h3 {
  margin-bottom: 20px;
  font-size: clamp(24px, 2.15vw, 40px);
  line-height: 1.25;
}

.advantage-list p {
  margin-bottom: 0;
  color: #958987;
  font-size: clamp(15px, 1.25vw, 23px);
  line-height: 1.6;
}

.advantages-frame .page-foot {
  grid-column: 1 / -1;
}

.business-heading {
  padding-bottom: clamp(50px, 7vh, 86px);
  border-bottom: 1px solid var(--line-light);
}

.business-heading p {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 27px);
}

.business-grid .feature-card small {
  display: block;
  margin-bottom: 34px;
  color: #9b001a;
  font: 700 11px/1 Arial, sans-serif;
}

.business-grid .feature-card h3 {
  margin-bottom: 34px;
}

.business-grid .red-rule {
  margin-bottom: 34px;
}

.growth-frame {
  display: flex;
  flex-direction: column;
}

.heading-row-dark {
  border: 0;
  padding-bottom: 4vh;
}

.heading-row-dark > p {
  color: #958987;
}

.growth-visual {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: var(--red) transparent;
  outline: none;
}

.growth-visual:focus-visible {
  box-shadow: 0 0 0 2px var(--red);
}

.growth-visual img {
  width: 100%;
  min-width: 980px;
  mix-blend-mode: normal;
}

.growth-statement {
  margin: 1vh auto 2vh;
  color: var(--red);
  font-size: clamp(24px, 2.6vw, 48px);
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
}

.growth-note {
  margin: 0 auto;
  color: #8f8381;
  font-size: clamp(15px, 1.25vw, 23px);
  text-align: center;
}

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

.contact-red {
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  background-color: var(--red-deep);
  background-image: url("assets/red-panel.jpg");
  background-size: 100% 100%;
  clip-path: polygon(0 0, 94% 0, 88% 100%, 0 100%);
}

.contact-frame {
  display: grid;
  grid-template-columns: 36% 64%;
  padding-top: max(110px, 13vh);
}

.contact-copy {
  z-index: 1;
  padding-right: 4vw;
}

.contact-copy h2 {
  margin-bottom: 8vh;
  font-size: clamp(42px, 3vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.05em;
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.45vw, 26px);
  line-height: 1.8;
}

.contact-rule {
  width: 82%;
  height: 1px;
  margin: 7vh 0 42px;
  background: rgba(255, 255, 255, 0.38);
}

.contact-domain {
  display: block;
  margin-bottom: 42px;
  font: 700 clamp(22px, 2vw, 36px)/1 Arial, sans-serif;
}

.conversation-button {
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 700 13px/1 Arial, sans-serif;
}

.conversation-button span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.conversation-button:hover span,
.conversation-button:focus-visible span {
  transform: translate(3px, -3px);
}

.contact-brand {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 8vw;
}

.contact-brand > img {
  width: min(590px, 38vw);
  margin-bottom: 38px;
}

.audience-grid {
  width: min(700px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
}

.audience-grid a {
  padding: 38px 22px 24px;
  transition: background-color 0.2s ease;
}

.audience-grid a:last-child {
  text-align: right;
}

.audience-grid a:hover,
.audience-grid a:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}

.audience-grid strong,
.audience-grid span {
  display: block;
}

.audience-grid strong {
  margin-bottom: 22px;
  font-size: clamp(18px, 1.5vw, 27px);
}

.audience-grid span {
  color: #7f7473;
  font-size: clamp(14px, 1.1vw, 20px);
}

.site-footer {
  position: absolute;
  left: 36%;
  right: 0;
  bottom: 34px;
  padding-left: 8vw;
  display: flex;
  justify-content: center;
  gap: 34px;
  color: #6f6463;
  font: 600 11px/1.4 Arial, sans-serif;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.conversation-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 48px;
  border: 1px solid var(--line-light);
  background: var(--light);
  color: var(--ink);
  box-shadow: 0 24px 100px rgba(0, 0, 0, 0.55);
}

.conversation-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.conversation-dialog h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 48px);
}

.conversation-dialog > p:not(.eyebrow) {
  color: #6f6664;
  line-height: 1.75;
}

.conversation-dialog > a {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}

.dialog-close {
  position: absolute;
  right: 20px;
  top: 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 300 34px/1 Arial, sans-serif;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  :root {
    --header-height: 72px;
    --frame: min(88vw, 880px);
  }

  html {
    scroll-snap-type: none;
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    padding: 18vh 12vw;
    background: rgba(8, 4, 5, 0.98);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    font-size: 20px;
  }

  .site-header.on-light .site-nav {
    color: rgba(255, 255, 255, 0.72);
  }

  .site-header.on-light .site-nav a:hover,
  .site-header.on-light .site-nav a:focus-visible,
  .site-header.on-light .site-nav a.active {
    color: #fff;
  }

  .site-header.on-light .menu-toggle {
    color: var(--ink);
  }

  body.menu-open .menu-toggle {
    color: #fff;
  }

  .site-nav.open {
    transform: none;
  }

  .site-nav .nav-cta {
    margin-top: 20px;
  }

  .section-rail {
    display: none;
  }

  .panel,
  .frame {
    min-height: auto;
  }

  .frame {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-frame,
  .advantages-frame,
  .contact-frame {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    min-height: 100vh;
  }

  .hero-copy h1 {
    margin-bottom: 60px;
  }

  .hero-brand {
    min-height: 540px;
  }

  .hero-brand img {
    width: min(580px, 78vw);
  }

  .heading-row {
    grid-template-columns: 1fr;
  }

  .heading-row > p {
    justify-self: start;
    text-align: left;
  }

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

  .feature-card:nth-child(2) {
    border-right: 0;
  }

  .feature-card:nth-child(n + 3) {
    border-top: 1px solid var(--line-light);
  }

  .advantages-frame {
    gap: 70px;
  }

  .capability-mark {
    margin-top: 70px;
  }

  .advantage-list {
    margin-top: 0;
  }

  .contact-red {
    width: 100%;
    height: 50%;
    clip-path: none;
  }

  .contact-copy {
    min-height: 780px;
    padding-right: 0;
  }

  .contact-brand {
    min-height: 680px;
    padding-left: 0;
  }

  .contact-brand > img {
    width: min(560px, 70vw);
  }

  .site-footer {
    position: static;
    grid-column: 1;
    padding: 38px 0 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 6vw;
  }

  .brand,
  .brand img {
    width: 150px;
  }

  .frame {
    padding-top: 104px;
    padding-bottom: 64px;
  }

  .eyebrow {
    gap: 14px;
    margin-bottom: 26px;
    font-size: 10px;
  }

  .eyebrow > span {
    width: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 62px);
    margin-bottom: 50px;
  }

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

  .hero-meta {
    line-height: 1.8;
  }

  .hero-brand {
    min-height: 430px;
  }

  .heading-row h2,
  .business-heading h2,
  .advantages-intro h2,
  .contact-copy h2 {
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .feature-grid {
    display: block;
  }

  .feature-card,
  .feature-card:not(:first-child) {
    display: grid;
    grid-template-columns: 92px 1fr;
    column-gap: 22px;
    padding: 34px 0;
    border-right: 0;
    border-top: 1px solid var(--line-light);
  }

  .feature-card .feature-number {
    grid-row: 1 / 5;
    margin: 0;
    font-size: 64px;
  }

  .feature-card .red-rule,
  .feature-card h3,
  .feature-card p,
  .feature-card small {
    grid-column: 2;
  }

  .feature-card .red-rule {
    margin-bottom: 22px;
  }

  .feature-card h3,
  .feature-card p,
  .business-grid .feature-card h3,
  .business-grid .feature-card small {
    margin-bottom: 16px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .capability-mark strong {
    font-size: 132px;
  }

  .capability-mark span {
    font-size: 14px;
  }

  .advantage-list li {
    grid-template-columns: 42px 1fr;
  }

  .growth-visual img {
    min-width: 840px;
  }

  .growth-statement {
    margin-top: 28px;
    font-size: 24px;
    text-align: left;
  }

  .growth-note {
    text-align: left;
  }

  .contact-copy {
    min-height: 680px;
  }

  .contact-copy h2 {
    margin-bottom: 50px;
  }

  .contact-rule {
    margin-top: 48px;
  }

  .contact-brand {
    min-height: 520px;
  }

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

  .audience-grid a,
  .audience-grid a:last-child {
    text-align: left;
    border-bottom: 1px solid var(--line-dark);
  }

  .conversation-dialog {
    padding: 42px 28px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
