:root {
  color-scheme: light;
  --paper: #f4efe4;
  --paper-deep: #e9dfcd;
  --ink: #25231f;
  --ink-soft: #686157;
  --cinnabar: #a33a2b;
  --line: rgba(66, 57, 45, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "SimSun", serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 31px,
      rgba(76, 61, 42, 0.025) 32px
    ),
    var(--paper);
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 34vw;
  height: 34vw;
  max-width: 520px;
  max-height: 520px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body::before {
  top: -22vw;
  right: -12vw;
}

body::after {
  bottom: -25vw;
  left: -15vw;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 40px, 1120px);
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  font-size: 22px;
  line-height: 1;
  background: var(--cinnabar);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.eyebrow,
.hero-kicker,
.section-label {
  margin: 0;
  color: var(--ink-soft);
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
  letter-spacing: 0.22em;
}

.eyebrow {
  font-size: 12px;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: clamp(64px, 12vh, 144px) 0;
}

.hero-kicker {
  color: var(--cinnabar);
  font-size: clamp(13px, 1.3vw, 16px);
}

h1 {
  margin: 18px 0 20px;
  font-size: clamp(64px, 11vw, 150px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.divider {
  display: flex;
  align-items: center;
  width: min(320px, 70%);
  height: 12px;
  margin: 0 0 34px;
  border-top: 1px solid var(--line);
}

.divider span {
  width: 64px;
  height: 3px;
  margin-top: -2px;
  background: var(--cinnabar);
}

.intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 2;
  letter-spacing: 0.05em;
}

.operator {
  position: relative;
  padding: 34px 28px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid var(--line);
}

.operator::before {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid rgba(66, 57, 45, 0.08);
  content: "";
  pointer-events: none;
}

.section-label {
  font-size: 12px;
}

.operator-name {
  position: relative;
  margin: 24px 0 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0 30px;
  color: var(--ink-soft);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-rule {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.site-footer a {
  color: var(--cinnabar);
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration-color: currentcolor;
}

.site-footer .police-record {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.police-record img {
  display: block;
  flex: 0 0 auto;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 32px, 620px);
  }

  .site-header {
    padding-top: 24px;
  }

  main {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 72px 0 64px;
  }

  h1 {
    font-size: clamp(62px, 23vw, 108px);
  }

  .operator {
    width: 100%;
  }

  .site-footer {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

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