:root {
  --paper: #f2eadd;
  --paper-light: #fbf7ed;
  --ink: #2b211c;
  --earth: #684638;
  --spark: #c93424;
  --spark-light: #e85b32;
  --grain: #e7b85a;
  --paddy: #72806a;
  --night: #171413;
  --night-soft: #24201e;
  --line: rgba(43, 33, 28, 0.16);
  --line-light: rgba(251, 247, 237, 0.22);
  --shadow-soft: 0 24px 70px rgba(43, 33, 28, 0.12);
  --shadow-deep: 0 34px 100px rgba(0, 0, 0, 0.28);
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-editorial: "FangSong", "STFangsong", "Noto Serif CJK SC", serif;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
  --container-wide: 1440px;
  --container: 1280px;
  --page-pad: clamp(1.125rem, 4vw, 4.5rem);
  --header-height: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.075rem);
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-scroll-locked {
  width: 100%;
  overflow: hidden;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--spark);
  color: var(--paper-light);
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transform: translateY(-180%);
  transition: transform 220ms var(--ease-soft);
}

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

.container,
.container-wide {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.container-wide {
  width: min(100%, var(--container-wide));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--earth);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.display-title {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 7vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-title {
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.lead {
  max-width: 44rem;
  color: var(--earth);
  font-family: var(--font-editorial);
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
  line-height: 1.8;
}

.microcopy {
  color: color-mix(in srgb, var(--earth) 78%, transparent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

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

.image-frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(201, 52, 36, 0.18), rgba(231, 184, 90, 0.2)),
    var(--paper-light);
}

.image-frame > img,
.image-frame > video {
  width: 100%;
  height: 100%;
}

.image-frame.has-image-error {
  display: grid;
  place-items: center;
  min-height: 12rem;
}

.image-frame.has-image-error > img {
  display: none;
}

.image-fallback__label {
  max-width: 18rem;
  padding: 1.5rem;
  color: var(--earth);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
}

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

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0);
  transition:
    opacity 800ms var(--ease-out-expo),
    transform 900ms var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

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

.page-placeholder {
  display: grid;
  min-height: 82vh;
  place-items: center;
  padding: calc(var(--header-height) + 6rem) var(--page-pad) 8rem;
  background: var(--paper-light);
  text-align: center;
}

.page-placeholder h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 500;
}

@media (max-width: 767px) {
  :root {
    --header-height: 4.75rem;
  }

  .display-title,
  .section-title {
    letter-spacing: -0.035em;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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