:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-deep: #e9e4d8;
  --ink: #232824;
  --ink-soft: #69706b;
  --blue-gray: #76898a;
  --cinnabar: #b8422f;
  --px: 0px;
  --py: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(197, 110, 65, 0.08), transparent 28rem),
    linear-gradient(145deg, #f7f4ed 0%, var(--paper) 58%, #ebe6dc 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid rgba(184, 66, 47, 0.38);
  outline-offset: 5px;
  border-radius: 7px;
}

.paper-noise {
  position: fixed;
  z-index: 0;
  inset: 0;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.62'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  pointer-events: none;
}

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

.topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0.02em;
}

.seal-mini {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--cinnabar);
  color: #f8f1e8;
  font-family: "Songti SC", "STSong", serif;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(145, 47, 32, 0.17);
}

.year {
  color: #8d918c;
  font-family: "Songti SC", "STSong", serif;
  font-size: 12px;
  letter-spacing: 0.15em;
}

main {
  display: flex;
  align-items: center;
  padding: 8px 0 24px;
}

.hero {
  position: relative;
  width: 100%;
  min-height: min(720px, calc(100svh - 196px));
  overflow: hidden;
  border: 1px solid rgba(73, 81, 75, 0.08);
  border-radius: 44px;
  background:
    linear-gradient(110deg, rgba(255, 254, 250, 0.94) 0%, rgba(248, 245, 236, 0.9) 48%, rgba(226, 231, 225, 0.82) 100%);
  box-shadow:
    0 34px 78px rgba(69, 67, 56, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.52), transparent 52%);
  content: "";
  pointer-events: none;
}

.copy {
  position: relative;
  z-index: 3;
  width: 52%;
  padding: clamp(68px, 7.2vw, 112px);
}

.kicker {
  margin: 0 0 28px;
  color: #7d837d;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.24em;
}

h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: clamp(58px, 6.1vw, 94px);
  font-weight: 520;
  line-height: 1.1;
  letter-spacing: -0.07em;
}

h1 span,
h1 strong {
  display: block;
  white-space: nowrap;
}

h1 strong {
  color: var(--cinnabar);
  font-weight: inherit;
}

blockquote {
  margin: 38px 0 0;
  padding-left: 18px;
  border-left: 1px solid rgba(84, 96, 87, 0.28);
  color: #626a64;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.85;
  letter-spacing: 0.08em;
}

blockquote p {
  margin: 0;
}

.red-seal {
  width: 45px;
  height: 58px;
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px solid rgba(184, 66, 47, 0.82);
  color: var(--cinnabar);
  font-family: "Songti SC", "STSong", serif;
  font-size: 14px;
  line-height: 1.15;
  transform: rotate(-2deg);
  opacity: 0.88;
}

.landscape {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -2%;
  width: min(66%, 920px);
  transform: translate3d(var(--px), calc(-50% + var(--py)), 0);
  will-change: transform;
}

.landscape img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(69, 77, 70, 0.08));
}

.side-line {
  position: absolute;
  z-index: 3;
  right: 27px;
  top: 50%;
  color: rgba(76, 87, 79, 0.42);
  font-family: "Songti SC", "STSong", serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8d918c;
  font-size: 12px;
}

.filings,
.police-record {
  display: flex;
  align-items: center;
}

.filings {
  gap: 13px;
}

.divider {
  width: 18px;
  height: 1px;
  background: rgba(74, 84, 76, 0.2);
}

.police-record {
  gap: 7px;
}

.police-record img {
  display: block;
  width: 18px;
  height: 18px;
}

.footer a {
  transition: color 180ms ease;
}

.footer a:hover {
  color: var(--cinnabar);
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 28px), 680px);
  }

  .topbar {
    min-height: 74px;
  }

  main {
    padding: 6px 0 18px;
  }

  .hero {
    min-height: 700px;
    border-radius: 30px;
  }

  .copy {
    width: 100%;
    padding: 50px 26px;
  }

  h1 {
    font-size: clamp(43px, 12.5vw, 67px);
  }

  blockquote {
    margin-top: 27px;
    font-size: 15px;
  }

  .red-seal {
    width: 40px;
    height: 52px;
    margin-top: 26px;
  }

  .landscape {
    top: auto;
    right: -25%;
    bottom: -4%;
    width: 125%;
    transform: translate3d(var(--px), var(--py), 0);
    opacity: 0.88;
  }

  .side-line {
    display: none;
  }

  .footer {
    min-height: 126px;
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .filings {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landscape {
    transition: none;
  }
}
