:root {
  --paper: #f6f2ea;
  --paper-soft: #fbf8f1;
  --ink: #1f1b16;
  --muted: #6e665d;
  --line: rgba(31, 27, 22, 0.14);
  --brand: #ff6506;
  --brand-deep: #b8440c;
  --stone: #d7d0c4;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(31, 27, 22, 0.055) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, rgba(31, 27, 22, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 85% 18%, rgba(255, 101, 6, 0.11), transparent 24rem),
    linear-gradient(135deg, var(--paper-soft) 0%, var(--paper) 54%, #eee7db 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.16;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 52px;
}

.brand img {
  width: clamp(188px, 24vw, 292px);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.domain-link {
  position: relative;
  padding-block: 6px;
  color: var(--muted);
  font-family: "Avenir Next", "Gill Sans", "PingFang SC", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.domain-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0.68);
  transform-origin: right;
  transition: transform 180ms ease;
}

.domain-link:hover::after,
.domain-link:focus-visible::after {
  transform: scaleX(1);
}

main {
  flex: 1;
}

.hero {
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(40px, 8vw, 104px);
  padding-block: clamp(64px, 10vw, 118px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--brand-deep);
  font-family: "Avenir Next", "Gill Sans", "PingFang SC", sans-serif;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 700;
  text-transform: uppercase;
}

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

.hero-title {
  margin-bottom: clamp(18px, 2.4vw, 28px);
  line-height: 1;
}

.hero-wordmark {
  width: clamp(360px, 45vw, 650px);
  max-width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.slogan-lockup {
  position: relative;
  width: fit-content;
  margin: 0 0 28px;
  padding: 12px 0 16px;
  display: inline-grid;
  grid-template-columns: auto 46px auto;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: clamp(1.36rem, 2.55vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
}

.slogan-lockup::before,
.slogan-lockup::after {
  position: absolute;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--brand), rgba(31, 27, 22, 0.18), transparent);
}

.slogan-lockup::before {
  top: 0;
  width: 42%;
}

.slogan-lockup::after {
  bottom: 0;
  width: 72%;
}

.slogan-divider {
  position: relative;
  width: 46px;
  height: 1px;
  background: rgba(31, 27, 22, 0.34);
}

.slogan-divider::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  border: 2px solid var(--brand);
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
}

.intro {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.9;
}

.hero-mark {
  position: relative;
  min-height: min(42vw, 460px);
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-mark::before {
  position: absolute;
  inset: 12% 8% 16% 0;
  content: "";
  border: 1px solid rgba(31, 27, 22, 0.18);
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 101, 6, 0.82) 48% 52%, transparent 52%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

.hero-mark::after {
  position: absolute;
  top: 26%;
  right: 2%;
  width: min(21vw, 220px);
  aspect-ratio: 1;
  content: "";
  border: 14px solid var(--brand);
  border-left-width: 0;
  transform: skewY(-30deg);
  opacity: 0.92;
}

.measure-line {
  position: absolute;
  top: 14%;
  right: 18%;
  width: min(22vw, 250px);
  height: 1px;
  background: rgba(31, 27, 22, 0.3);
}

.measure-line.short {
  top: auto;
  right: auto;
  bottom: 20%;
  left: 10%;
  width: min(13vw, 150px);
}

.corner {
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: var(--brand);
}

.corner.one {
  top: 3%;
  left: -1px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.corner.two {
  right: 6%;
  bottom: 8%;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px) clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

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

.principles span {
  display: block;
  margin-bottom: 42px;
  color: var(--brand);
  font-family: "Avenir Next", "Gill Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.principles h2 {
  margin-bottom: 14px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: clamp(1.38rem, 2.2vw, 2.1rem);
  line-height: 1.2;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

.statement {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 86px);
  padding-block: clamp(64px, 10vw, 116px);
  align-items: start;
}

.statement h2 {
  margin-bottom: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: clamp(2.2rem, 5.8vw, 6rem);
  line-height: 1.03;
}

.statement > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 2;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: rgba(31, 27, 22, 0.68);
  font-size: 0.88rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-color: rgba(31, 27, 22, 0.24);
  text-underline-offset: 4px;
}

@media (max-width: 780px) {
  .site-shell {
    padding: 22px 18px 20px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand {
    height: 44px;
  }

  .brand img {
    width: min(58vw, 230px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 72px 56px;
  }

  .hero-wordmark {
    width: min(100%, 540px);
  }

  .slogan-lockup {
    grid-template-columns: auto 34px auto;
    gap: 10px;
  }

  .slogan-divider {
    width: 34px;
  }

  .hero-mark {
    order: -1;
    min-height: 220px;
  }

  .hero-mark::after {
    width: min(42vw, 180px);
    border-width: 10px;
    border-left-width: 0;
  }

  .principles,
  .statement {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .principles span {
    margin-bottom: 24px;
  }

  .statement {
    padding-block: 58px 68px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .domain-link {
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(4.15rem, 22vw, 5.9rem);
  }

  .slogan {
    font-size: clamp(1.32rem, 8vw, 2.2rem);
  }
}
