:root {
  --ink: #14110e;
  --space: #2b211a;
  --paper: #f6eddf;
  --muted: #cdbca9;
  --signal: #f0bd6a;
  --support: #a56a45;
  --sand: #dfc9ad;
  --line: rgb(246 237 223 / 20%);
  --line-dark: rgb(20 17 14 / 18%);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --page-gutter: clamp(20px, 4.8vw, 72px);
  --content-wide: 1440px;
  --focus: #f0bd6a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body,
a,
button {
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--signal);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-unit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.brand-mark {
  width: auto;
  height: 32px;
  object-fit: contain;
}

.brand-cross {
  padding: 0 3px;
  color: var(--signal);
  font-size: 15px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 650;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid transparent;
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--signal);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 34px var(--page-gutter);
  color: var(--muted);
  background: #0e0c0a;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgb(246 237 223 / 38%);
  font-size: 14px;
  font-weight: 700;
}

.button:hover {
  border-color: var(--signal);
}

.button--primary {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--signal);
}

.button--primary:hover {
  color: #fff;
  background: var(--support);
  border-color: var(--support);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-title,
  .hero-copy {
    animation: rise-in 650ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
  }

  .hero-copy {
    animation-delay: 90ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 0;
    padding: 12px 20px 10px;
    flex-wrap: wrap;
    gap: 4px 14px;
  }

  .brand-lockup {
    gap: 5px;
    min-height: 34px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .brand-unit {
    gap: 4px;
  }

  .brand-mark {
    height: 25px;
  }

  .brand-cross {
    padding: 0;
    font-size: 11px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-end;
    gap: 18px;
    font-size: 11px;
  }

  .site-nav a {
    min-height: 32px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
