/* ==========================================================================
   楦ｉ泙鍓緫 路 LARKMUSE Cut 鈥?鍩虹灞?base.css
   reset / 鎺掔増 / 瀹瑰櫒 / 鐒︾偣 / 璺宠浆閾炬帴 / 鍔ㄦ晥闄嶇骇
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: 0.01em;
  color: var(--ink);
  background-color: var(--paper);
  /* 绾哥氦缁达細鍐呰仈 SVG 鍣偣锛屾棤澶栭儴璇锋眰 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

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

img {
  height: auto;
}

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

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

input,
summary {
  font: inherit;
  color: inherit;
}

strong,
b {
  font-weight: 600;
}

code,
kbd,
samp {
  font-family: var(--font-mono);
  font-size: 0.925em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

/* ---------- 鐒︾偣锛氶噾鑹叉弿杈癸紝閿洏鍙 ---------- */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 璺宠浆閾炬帴锛堥涓彲鑱氱劍鍏冪礌锛?---------- */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-skip);
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-small);
  transform: translateY(-120%);
  transition: transform var(--dur-1) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

/* ---------- 瀹瑰櫒涓庡尯鍧?---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.section--deep {
  background: var(--paper-deep);
}

.section--ink {
  background: var(--ink);
  color: var(--on-dark);
  border-top-color: rgba(246, 241, 231, 0.12);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.is-ink-block h2,
.is-ink-block h3 {
  color: var(--on-dark);
}

/* 閿氱偣璺宠浆鏃堕伩寮€鍚搁《瀵艰埅 */
[id] {
  scroll-margin-top: 88px;
}

/* ---------- 鎺掔増宸ュ叿 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  color: var(--ink-muted);
}

.eyebrow__no {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
}

.eyebrow__line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lede {
  font-size: var(--t-lead);
  line-height: 1.7;
  color: var(--ink-muted);
}

.body-text {
  color: var(--ink-muted);
}

.small {
  font-size: var(--t-small);
}

.caption {
  font-size: var(--t-caption);
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.accent {
  color: var(--gold-deep);
}

.latin {
  font-family: var(--font-latin);
  font-style: italic;
  letter-spacing: 0.02em;
}

.on-dark-muted {
  color: var(--on-dark-muted);
}

.nowrap {
  white-space: nowrap;
}

.kai {
  font-family: var(--font-kai);
}

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

/* 姝ｆ枃鍐呰仈閾炬帴锛氶噾鑹蹭笅鍒掔嚎锛宧over 鍙樿丹闄?*/
.link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold-deep);
  text-underline-offset: 4px;
}

.link:hover {
  text-decoration-color: var(--terracotta);
}

/* ---------- 婊氬姩鏄剧幇锛堟笎杩涘寮猴細鏃?JS 鏃跺唴瀹瑰缁堝彲瑙侊級 ---------- */
html.has-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.has-reveal .reveal.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.46s var(--ease-out),
    transform 0.46s var(--ease-out);
}

/* ---------- 鍔ㄦ晥闄嶇骇 ---------- */
@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;
  }

  html.has-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 鎵撳嵃 ---------- */
@media print {
  body {
    background: #fff;
  }

  .site-header,
  .site-footer,
  .drawer,
  .skip-link {
    display: none !important;
  }
}
