:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-soft: #f4f2ec;
  --line: #dedbd2;
  --text: #07180d;
  --muted: #5f635b;
  --accent: #1f6b3a;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
img, video { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
}

.brand span {
  color: var(--accent);
  font-size: 18px;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.site-header nav {
  display: flex;
  gap: 18px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--accent);
}

.hobby-shell {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 64px 0 76px;
}

.hobby-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 56px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hobby-hero h1 {
  max-width: 640px;
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy > p:last-child {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.hero-cover {
  margin: 0;
}

.hero-cover img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.hero-cover figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.category-nav {
  position: sticky;
  top: 72px;
  z-index: 9;
  display: flex;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.category-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.category-nav a:hover,
.category-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--text);
}

.content-block {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}

.section-heading span {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #07120c;
}

.gallery-grid {
  columns: 3 230px;
  column-gap: 14px;
}

.gallery-grid figure {
  break-inside: avoid;
  margin: 0 0 14px;
}

.gallery-grid img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.gallery-grid figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hobby-footer {
  padding-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header,
  .hobby-shell {
    width: min(calc(100% - 32px), 680px);
  }

  .site-header {
    align-items: flex-start;
    padding: 16px 0;
  }

  .site-header nav {
    gap: 12px;
  }

  .hobby-shell {
    padding: 42px 0 58px;
  }

  .hobby-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }

  .hobby-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-copy > p:last-child {
    font-size: 16px;
  }

  .category-nav {
    top: 62px;
    margin: 0 -16px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-nav a {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 48px 0;
    scroll-margin-top: 126px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .gallery-grid {
    columns: 2 150px;
    column-gap: 10px;
  }

  .gallery-grid figure {
    margin-bottom: 10px;
  }
}

@media (max-width: 430px) {
  .brand {
    display: grid;
    gap: 0;
  }

  .hero-cover img {
    aspect-ratio: 1.2;
  }
}
