/* =========================================================
   花卉网 · 样式表
   原生 CSS，无外部依赖
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --paper: #f7f3ea;
  --paper-2: #efe8da;
  --surface: #fffdf7;
  --ink: #232b23;
  --ink-soft: #586152;
  --muted: #6b7264;
  --line: #ded5c4;
  --line-soft: rgba(94, 92, 74, 0.14);
  --green: #33513f;
  --green-deep: #20382a;
  --green-wash: rgba(51, 81, 63, 0.07);
  --accent: #9e5035;
  --accent-soft: #e9c9b7;
  --gold: #b98a3e;
  --shadow-sm: 0 8px 24px rgba(55, 49, 33, 0.07);
  --shadow: 0 26px 64px rgba(55, 49, 33, 0.13);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: 1120px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 0.68, 0.2, 1);
}

[data-theme="dark"] {
  --paper: #141712;
  --paper-2: #1b1f19;
  --surface: #1e231c;
  --ink: #ece7da;
  --ink-soft: #b5b2a3;
  --muted: #8e9184;
  --line: #343b2f;
  --line-soft: rgba(224, 219, 199, 0.12);
  --green: #a9c2ac;
  --green-deep: #dce7d8;
  --green-wash: rgba(169, 194, 172, 0.09);
  --accent: #e0966f;
  --accent-soft: #6b4433;
  --gold: #d6ac63;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.24);
  --shadow: 0 26px 64px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% -4%, rgba(185, 101, 69, 0.07), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(51, 81, 63, 0.08), transparent 30%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(circle at 8% -4%, rgba(224, 150, 111, 0.07), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(169, 194, 172, 0.06), transparent 30%);
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green-deep);
  color: var(--paper);
  font-size: 0.9rem;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 32px;
}

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

.nowrap {
  white-space: nowrap;
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link .arrow {
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: #fbf8ef;
}

.btn-primary:hover {
  background: var(--green-deep);
}

[data-theme="dark"] .btn-primary {
  background: var(--green);
  color: #172016;
}

[data-theme="dark"] .btn-primary:hover {
  background: #c1d5c2;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@supports not (backdrop-filter: blur(4px)) {
  .site-header {
    background: var(--paper);
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(55, 49, 33, 0.05);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  color: var(--green);
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(18deg);
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand-en {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--surface);
}

.theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
}

.nav-toggle-bars {
  position: relative;
  width: 17px;
  height: 11px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}

.nav-toggle-bars span:first-child {
  top: 0;
}

.nav-toggle-bars span:last-child {
  top: 9px;
  width: 12px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
  top: 5px;
  width: 17px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  padding-block: 18px;
}

.hero-title {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 5.4vw, 4.7rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.02em;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  position: relative;
  display: inline-block;
  color: var(--green);
}

.title-underline {
  position: absolute;
  left: 2%;
  bottom: -10px;
  width: 96%;
  height: 12px;
  color: var(--accent);
  opacity: 0.55;
  overflow: visible;
}

.hero-lede {
  max-width: 29em;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero-meta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 472px;
}

.hero-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 45px rgba(74, 57, 36, 0.13));
}

[data-theme="dark"] .hero-img {
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.4));
}

.hero-label {
  position: absolute;
  top: 12%;
  right: -14px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-card {
  position: absolute;
  right: -22px;
  bottom: 7%;
  width: 218px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card-kicker {
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero-card p {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  line-height: 1.8;
}

.hero-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* ---------- Flower name strip ---------- */
.name-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.name-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
}

.name-strip-inner .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
#featured,
#articles,
#seasons {
  scroll-margin-top: 96px;
}

.section {
  padding: 100px 0 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  margin-bottom: 42px;
  border-top: 1px solid var(--line);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.section-kicker .num {
  color: var(--muted);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.section-desc {
  max-width: 25em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.section-head .text-link {
  margin-bottom: 8px;
  flex-shrink: 0;
}

/* ---------- Featured article ---------- */
.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 400px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-media {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper-2);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.feature:hover .feature-media img {
  transform: scale(1.035);
}

.feature-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
}

.feature-title {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.feature-title a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
}

.feature:hover .feature-title a {
  color: var(--accent);
  background-size: 100% 1px;
}

.feature-text {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.95;
}

.feature-body .text-link {
  margin-top: 30px;
  align-self: flex-start;
}

/* ---------- Post filters & grid ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fbf8ef;
}

[data-theme="dark"] .filter-btn.is-active {
  color: #172016;
}

.filter-count {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 32px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.post-card.is-hidden {
  display: none;
}

.post-media {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--paper-2);
  overflow: hidden;
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.post-card:hover .post-media img {
  transform: scale(1.045);
}

.post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 20px;
}

.post-title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.post-title a {
  transition: color 0.25s var(--ease);
}

.post-card:hover .post-title a {
  color: var(--accent);
}

.post-excerpt {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.post-time {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
}

.post-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}

.post-card:hover .post-arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff9ef;
  transform: rotate(-45deg);
}

.posts-empty {
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Seasons ---------- */
.season-panel {
  margin-top: 100px;
  padding: 56px 56px 48px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  background-image: radial-gradient(circle at 100% 0%, rgba(185, 101, 69, 0.08), transparent 42%);
}

.season-panel .section-head {
  padding-top: 0;
  margin-bottom: 0;
  border-top: 0;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
}

.season {
  padding: 6px 30px 4px;
  border-left: 1px solid var(--line);
}

.season:first-child {
  padding-left: 0;
  border-left: 0;
}

.season:last-child {
  padding-right: 0;
}

.season-index {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.season-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.season-months {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.season-flowers {
  margin-top: 20px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 2;
}

.season-flowers span {
  display: block;
}

/* ---------- About band ---------- */
.about-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  margin-top: 100px;
  padding: 66px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

.about-quote .mark {
  color: var(--accent);
  font-size: 1.2em;
  line-height: 0;
  vertical-align: -0.15em;
}

.about-copy {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 2;
}

.about-copy p + p {
  margin-top: 14px;
}

.about-copy .text-link {
  margin-top: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 100px;
  padding: 72px 0 28px;
  background: #1d3327;
  color: #e8e2d3;
}

[data-theme="dark"] .site-footer {
  background: #0e100c;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 56px;
}

.footer-brand .brand-name {
  color: #f4efe2;
}

.footer-brand .brand-mark {
  color: #c8d8c5;
}

.footer-brand .brand-en {
  color: rgba(232, 226, 211, 0.5);
}

.footer-tagline {
  max-width: 24em;
  margin-top: 20px;
  color: rgba(232, 226, 211, 0.62);
  font-size: 0.88rem;
  line-height: 1.95;
}

.footer-title {
  margin-bottom: 18px;
  color: rgba(232, 226, 211, 0.62);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  width: fit-content;
  color: rgba(232, 226, 211, 0.78);
  font-size: 0.88rem;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover {
  color: #f4efe2;
}

.footer-note {
  color: rgba(232, 226, 211, 0.62);
  font-size: 0.86rem;
  line-height: 1.95;
}

.footer-note strong {
  display: block;
  margin-bottom: 6px;
  color: rgba(232, 226, 211, 0.9);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(232, 226, 211, 0.12);
  color: rgba(232, 226, 211, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.footer-bottom .back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(232, 226, 211, 0.62);
  transition: color 0.25s var(--ease);
}

.footer-bottom .back-top:hover {
  color: #f4efe2;
}

/* ---------- Reading progress ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Article ---------- */
.article-page .site-header {
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
}

.article-hero {
  padding: 62px 0 36px;
}

.article-hero-inner {
  max-width: 880px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.breadcrumb a {
  transition: color 0.25s var(--ease);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--line);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.article-title {
  max-width: 15em;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.article-dek {
  max-width: 34em;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.95;
}

.article-cover {
  max-width: 980px;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-wrap {
  max-width: 760px;
  margin-inline: auto;
  padding: 58px 32px 0;
}

.prose {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 2.05;
}

.prose > p {
  margin: 1.35em 0;
}

.prose > p:first-child {
  margin-top: 0;
}

.prose .lede {
  color: var(--ink-soft);
  font-size: 1.14rem;
  line-height: 2;
}

.prose h2 {
  position: relative;
  margin: 2.6em 0 0.9em;
  padding-left: 20px;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.prose h3 {
  margin: 2em 0 0.7em;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.prose a {
  color: var(--green);
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.prose a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.prose ul {
  margin: 1.2em 0;
}

.prose ul li {
  position: relative;
  padding-left: 1.4em;
  margin: 0.5em 0;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.prose hr {
  width: 64px;
  height: 1px;
  margin: 3em auto;
  border: 0;
  background: var(--line);
}

.pull-quote {
  position: relative;
  margin: 2.6em 0;
  padding: 32px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.9;
  text-align: center;
}

.pull-quote::before {
  content: "“";
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--accent);
  font-size: 2.4rem;
  line-height: 1;
  opacity: 0.5;
}

.care-note {
  margin: 2.6em 0;
  padding: 28px 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-wash);
}

.care-note-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.care-note-head svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

.care-note h2 {
  margin: 0;
  padding: 0;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

.care-note h2::before {
  display: none;
}

.care-note ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
  margin: 0;
}

.care-note ul li {
  padding-left: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.9;
}

.care-note ul li::before {
  display: none;
}

.care-note ul li b {
  color: var(--ink);
  font-weight: 600;
}

.article-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 3.4em;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-end .text-link {
  font-size: 0.84rem;
}

.next-read {
  max-width: 980px;
  margin-top: 80px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.next-read-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.next-read-head h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.next-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.next-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.next-card img {
  width: 118px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
}

.next-card .next-label {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.next-card h3 {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ---------- About page ---------- */
.about-hero {
  padding: 78px 0 20px;
}

.about-hero-inner {
  max-width: var(--shell);
}

.about-title {
  max-width: 18em;
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.about-lede {
  max-width: 32em;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 2;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 72px;
  margin-top: 58px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.about-main .prose {
  font-size: 1rem;
}

.about-side {
  position: sticky;
  top: 108px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.about-side dl {
  margin: 0;
}

.about-side h2 {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}

.fact:first-of-type {
  border-top: 0;
}

.fact dt {
  color: var(--muted);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.fact dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  text-align: right;
}

.about-side .text-link {
  margin-top: 18px;
  font-size: 0.82rem;
}

/* ---------- 404 ---------- */
.not-found {
  display: flex;
  align-items: center;
  min-height: 66vh;
  padding: 80px 0;
}

.not-found-inner {
  max-width: 640px;
}

.not-found-code {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

.not-found-title {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 600;
}

.not-found p:not(.not-found-code) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.not-found .btn {
  margin-top: 30px;
}

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-delay-1 {
  transition-delay: 0.08s;
}

.js .reveal-delay-2 {
  transition-delay: 0.16s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner {
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 5.6vw, 3.9rem);
  }

  .feature-body {
    padding: 40px 36px;
  }

  .about-band {
    gap: 44px;
  }

  .season-panel {
    padding: 44px 36px 40px;
  }

  .season {
    padding-inline: 22px;
  }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-art {
    justify-self: center;
    max-width: 430px;
  }

  .hero-card {
    right: 0;
  }

  .hero-label {
    right: 4px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .season-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .season:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .season:nth-child(2) {
    padding-right: 0;
  }

  .season:nth-child(odd) {
    padding-right: 30px;
  }

  .season:nth-child(even) {
    padding-left: 30px;
  }

  .about-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-side {
    position: static;
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .shell {
    padding-inline: 24px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-en {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 9px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: var(--green-wash);
    color: var(--green);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section {
    padding-top: 72px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 34px;
  }

  .section-head .text-link {
    margin-bottom: 0;
  }

  .name-strip-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    min-height: 62px;
    font-size: 0.74rem;
  }

  .name-strip-inner .sep {
    display: none;
  }

  .post-title {
    font-size: 1.18rem;
  }

  .season-panel {
    margin-top: 72px;
    padding: 36px 26px 30px;
  }

  .about-band {
    margin-top: 72px;
    padding: 48px 0;
  }

  .site-footer {
    margin-top: 72px;
    padding-top: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    margin-top: 38px;
  }

  .article-hero {
    padding: 44px 0 28px;
  }

  .article-title {
    max-width: none;
    font-size: 2rem;
  }

  .article-wrap {
    padding-top: 40px;
  }

  .article-cover img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
  }

  .next-read {
    margin-top: 58px;
  }

  .next-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding-top: 54px;
  }

  .about-layout {
    margin-top: 40px;
    padding-top: 36px;
  }

  .care-note ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    padding-inline: 20px;
  }

  .site-nav {
    left: 20px;
    right: 20px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-title {
    margin-top: 20px;
    font-size: clamp(2.5rem, 11vw, 3.3rem);
  }

  .hero-lede {
    font-size: 0.96rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    min-height: 46px;
    padding: 11px 21px;
    font-size: 0.88rem;
  }

  .hero-meta {
    gap: 20px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -18px 14px 0;
    border-radius: 14px;
  }

  .hero-label {
    display: none;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .post-media {
    aspect-ratio: 16 / 10;
  }

  .filter-bar {
    gap: 7px;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 0.76rem;
  }

  .filter-count {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }

  .season-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .season,
  .season:nth-child(odd),
  .season:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .season:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .season:last-child {
    padding-bottom: 0;
  }

  .season-index {
    margin-bottom: 8px;
  }

  .season-flowers {
    margin-top: 10px;
  }

  .season-flowers span {
    display: inline;
  }

  .season-flowers span + span::before {
    content: " · ";
    color: var(--muted);
  }

  .feature-body {
    padding: 30px 24px 34px;
  }

  .about-quote {
    font-size: 1.5rem;
  }

  .article-meta {
    gap: 8px;
  }

  .article-wrap {
    padding-inline: 20px;
  }

  .prose {
    font-size: 0.98rem;
  }

  .prose .lede {
    font-size: 1.06rem;
  }

  .prose h2 {
    font-size: 1.28rem;
  }

  .care-note {
    padding: 22px 20px;
  }

  .pull-quote {
    padding: 26px 4px;
  }

  .article-end {
    align-items: flex-start;
    flex-direction: column;
  }

  .next-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .next-card img {
    width: 92px;
    height: 82px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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

@media print {
  .site-header,
  .site-footer,
  .reading-progress,
  .next-read,
  .article-end,
  .hero-label {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .article-cover img {
    box-shadow: none;
  }

  .js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
