/* Origami gallery — 纸感 / 编集室风格
   与 UI 定稿时可在 :root 中统一换色与圆角
*/

:root {
  --ink: #141210;
  --ink-muted: #4a4540;
  --paper: #f6f0e8;
  --paper-2: #efe6db;
  --line: #d4c9bc;
  --accent: #2f4f4f;
  --accent-soft: rgba(47, 79, 79, 0.12);
  --shadow: 0 18px 50px rgba(20, 18, 16, 0.08);
  --radius: 12px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --content-max: 1100px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

code {
  font-size: 0.92em;
  background: var(--paper-2);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip:focus {
  left: 0;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 240, 232, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-mark {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink-muted);
  font-size: 0.94rem;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 1px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before {
  top: -6px;
}
.nav-toggle-bars::after {
  top: 6px;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 720px);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 80% at 0% 0%,
      var(--paper-2) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #fdfcfa 0%, var(--paper) 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.hero-eyebrow {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0;
  max-width: 38ch;
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button-primary {
  background: var(--ink);
  color: var(--paper);
}
.button-primary:hover {
  background: #0c0a09;
  color: var(--paper);
}
.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button-ghost:hover {
  background: var(--paper-2);
}

.hero-side {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}

@media (min-width: 900px) {
  .hero-side {
    display: flex;
  }
}

/* 头图：档案卡 / 索引卡 */
.hero-index-outer {
  width: 100%;
  max-width: min(100%, 400px);
  margin: 0 auto;
  transform: rotate(-2deg);
  pointer-events: none;
  filter: drop-shadow(0 12px 32px rgba(20, 18, 16, 0.11));
}

.hero-index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.4rem 1.35rem 1.25rem;
  border: 1px solid rgba(208, 196, 182, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 240, 232, 0.98)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.015), rgba(255, 255, 255, 0.015));
  box-shadow:
    0 2px 12px rgba(20, 18, 16, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-index-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(84, 72, 61, 0.035) 0,
      rgba(84, 72, 61, 0.035) 1px,
      transparent 1px,
      transparent 30px
    );
  opacity: 0.45;
  pointer-events: none;
}

.hero-index-tab {
  position: absolute;
  top: -10px;
  right: 1.4rem;
  width: 104px;
  height: 30px;
  border-radius: 999px;
  background: rgba(197, 184, 170, 0.42);
  border: 1px solid rgba(173, 158, 143, 0.18);
  transform: rotate(4deg);
}

.hero-index-top,
.hero-index-main,
.hero-index-grid,
.hero-index-note {
  position: relative;
  z-index: 1;
}

.hero-index-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(120, 105, 91, 0.14);
}

.hero-index-kicker,
.hero-index-code,
.hero-index-title,
.hero-index-subtitle,
.hero-index-note,
.hero-index-item dt,
.hero-index-item dd {
  margin: 0;
}

.hero-index-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

.hero-index-code {
  font-size: 0.74rem;
  color: rgba(74, 69, 64, 0.82);
}

.hero-index-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.hero-index-subtitle {
  margin-top: 0.5rem;
  max-width: 22ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.hero-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.9rem;
}

.hero-index-item {
  padding: 0.7rem 0.75rem 0.72rem;
  border-radius: 12px;
  border: 1px solid rgba(120, 105, 91, 0.1);
  background: rgba(255, 255, 255, 0.48);
}

.hero-index-item dt {
  margin-bottom: 0.28rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 69, 64, 0.7);
}

.hero-index-item dd {
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink);
}

.hero-index-note {
  padding-top: 0.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 29ch;
}

@media (min-width: 1100px) {
  .hero-index-outer {
    max-width: min(100%, 430px);
  }
}

@media (max-width: 1099px) {
  .hero-index-card {
    border-radius: 20px;
  }
}

@media (max-width: 899px) {
  .hero-index-outer {
    max-width: min(100%, 340px);
    transform: none;
  }
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section-tint {
  background: linear-gradient(180deg, #f0e8de 0%, var(--paper) 100%);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-header {
  margin-bottom: 2rem;
  max-width: 52ch;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.4vw, 2.1rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.section-desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.prose {
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.section-about .about-lead {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 52ch;
}
.section-about .prose:last-of-type {
  margin-bottom: 0;
}

/* Stats */
.stat-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.stat-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}
.stat-list li:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--ink);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.stat-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Filter + gallery */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-btn:hover {
  color: var(--ink);
  border-color: #b8a998;
}
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 18, 16, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  width: 100%;
  text-align: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(20, 18, 16, 0.1);
  outline: none;
}
.gallery-card:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.card-visual {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.card-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-placeholder {
  z-index: 2;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8ded3, #d8cec3);
  color: #6b6158;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
}
/* 作者样式里对 .card-placeholder 写了 display:flex，会盖过 [hidden] 的隐式表现，故显式让带 hidden 时真正不显示 */
.card-placeholder[hidden] {
  display: none !important;
}

.card-image-badge {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(20, 18, 16, 0.72);
  color: #faf6f0;
  pointer-events: none;
}

.card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.card-subtitle {
  font-size: 0.8rem;
  color: #7a7168;
  margin: 0.15rem 0 0;
  line-height: 1.35;
  font-style: italic;
}
.card-source {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #6b635c;
  margin: 0.2rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-designer {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}
.card-meta {
  font-size: 0.8rem;
  color: #7a7168;
  margin: 0.4rem 0 0;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--ink-muted);
}

/* Process + quote */
.process-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}
.process-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}
.process-list li strong {
  color: var(--ink);
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.1rem;
}
.quote-block footer {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  font-style: normal;
}

/* Collection cards */
.cards-3 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(20, 18, 16, 0.04);
}
.info-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}
.info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  background: #fff;
  margin-bottom: 0.5rem;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details p {
  margin: 0.65rem 0 0.15rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #ebe3d8;
  padding: 2.5rem 0 3rem;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.footer-title {
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.footer-copy {
  margin: 0;
  color: var(--ink-muted);
  max-width: 40ch;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.footer-dot {
  color: #9a8f83;
}

/* Lightbox */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 16, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 201;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.lightbox-content {
  max-width: min(920px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .lightbox-content {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.lightbox-image-wrap {
  background: #e6ddd4;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.5rem 0 0.75rem;
  max-height: min(80vh, 900px);
  overflow-y: auto;
}
.lightbox-image-wrap > img:only-of-type,
.lightbox-image-wrap > .lightbox-carousel:only-of-type {
  max-width: 100%;
}
.lightbox-image-wrap > img:only-of-type {
  width: 100%;
  max-height: min(70vh, 560px);
  object-fit: contain;
}

/* 多图：横向分页（滚动对齐 + 左右按钮 + 可滑动） */
.lightbox-carousel {
  position: relative;
  width: 100%;
  align-self: stretch;
  min-height: 200px;
}
.lightbox-slides {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  outline: none;
}
.lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 0 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  width: 100%;
}
.lightbox-fig img {
  width: 100%;
  max-height: min(64vh, 560px);
  object-fit: contain;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.lightbox-nav:hover:not(:disabled) {
  background: #fff;
}
.lightbox-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.lightbox-nav-prev {
  left: 0.4rem;
}
.lightbox-nav-next {
  right: 0.4rem;
}
.lightbox-carousel-counter {
  position: absolute;
  bottom: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #fff;
  background: rgba(20, 18, 16, 0.55);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  pointer-events: none;
}
.lightbox-figcap {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
  max-width: 36ch;
  line-height: 1.4;
}
.lightbox-missing {
  margin: 1rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.lightbox-text {
  padding: 1.5rem 1.5rem 1.5rem;
}
.lightbox-text h2 {
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}
.lightbox-text .field {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0.35rem 0 0;
}
.lightbox-text .field-alt {
  color: #7a7168;
  font-style: italic;
  font-size: 0.9rem;
}
.lightbox-text .field-source {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.lightbox-text .note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-muted);
  white-space: pre-line;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* Mobile nav */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    right: 1.25rem;
    top: calc(var(--header-h) - 0.5rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    flex-direction: column;
    box-shadow: var(--shadow);
    min-width: 200px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .header-inner {
    position: relative;
  }
}
