/* ==========================================================================
   小刘分享 · 个人旅行博客
   Static, dependency-free stylesheet
   ========================================================================== */

:root {
  --paper: #f6f1e7;
  --paper-deep: #ece4d5;
  --paper-light: #fffdf8;
  --ink: #203028;
  --ink-soft: #465348;
  --muted: #6d766d;
  --green: #2f5d47;
  --green-dark: #1d3f31;
  --green-soft: #dfe8df;
  --clay: #b96b4b;
  --clay-soft: #ead3c6;
  --line: rgba(32, 48, 40, 0.14);
  --line-light: rgba(255, 253, 248, 0.18);
  --white: #fffdf8;
  --shadow-sm: 0 8px 26px rgba(35, 45, 35, 0.06);
  --shadow-md: 0 18px 48px rgba(35, 45, 35, 0.11);
  --shadow-lg: 0 30px 80px rgba(35, 45, 35, 0.16);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --wrap: 1180px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 38px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(47, 93, 71, 0.16) 0.55px, transparent 0.55px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin-top: 0;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  margin-top: 0;
}

::selection {
  background: var(--green);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(246, 241, 231, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 241, 231, 0.94);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px 15px 15px 5px;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(47, 93, 71, 0.2);
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.brand-tagline {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a.nav-cta {
  padding: 9px 18px;
  border: 1px solid rgba(47, 93, 71, 0.3);
  border-radius: 999px;
  color: var(--green);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav a.nav-cta::after {
  display: none;
}

.nav a.nav-cta:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: background-color 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Shared type / buttons
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: rgba(255, 253, 248, 0.8);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  box-shadow: 0 10px 22px rgba(47, 93, 71, 0.2);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(47, 93, 71, 0.26);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.4);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--green);
  background: var(--white);
  color: var(--green);
}

.btn-light {
  background: var(--paper-light);
  color: var(--green-dark);
}

.btn-light:hover {
  background: var(--green-soft);
}

.arrow {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.25s ease;
}

a:hover .arrow,
button:hover .arrow {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(47, 93, 71, 0.35);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-bottom: 3px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 70px 0 58px;
}

.hero::after {
  position: absolute;
  z-index: 0;
  top: 18%;
  right: -10%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(47, 93, 71, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 10px 0;
}

.hero-title {
  max-width: 640px;
  margin: 22px 0 24px;
  font-family: var(--serif);
  font-size: clamp(46px, 6.2vw, 82px);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.12;
}

.hero-title .accent {
  position: relative;
  display: inline-block;
  color: var(--green);
  font-style: normal;
}

.hero-title .accent::after {
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 7px;
  left: -4px;
  height: 13px;
  border-radius: 999px;
  background: rgba(185, 107, 75, 0.17);
  content: "";
  transform: rotate(-1.2deg);
}

.hero-lead {
  max-width: 510px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span + span::before {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.hero-visual {
  position: relative;
  z-index: 1;
  padding: 26px 18px 30px 0;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -4%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50% 48% 44% 52% / 48% 46% 54% 50%;
  background: var(--green-soft);
  content: "";
  transform: rotate(-8deg);
}

.hero-main-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 30px 110px 30px 30px;
  box-shadow: var(--shadow-lg);
  background: var(--paper-deep);
}

.hero-main-photo picture {
  position: absolute;
  inset: 0;
}

.hero-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main-photo::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 248, 0.25);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-photo-label {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 253, 248, 0.32);
  border-radius: 999px;
  background: rgba(28, 41, 33, 0.52);
  color: rgba(255, 253, 248, 0.94);
  font-size: 10px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.hero-photo-label::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e5b18d;
  content: "";
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 16px;
  left: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
}

.hero-caption p {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 14px rgba(15, 25, 19, 0.35);
}

.hero-caption span {
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.hero-main-photo::before {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(18, 30, 23, 0.62), transparent);
  content: "";
  pointer-events: none;
}

.hero-mini {
  position: absolute;
  z-index: 2;
  right: -9px;
  bottom: -14px;
  width: 152px;
  margin: 0;
  padding: 7px;
  border-radius: 18px;
  background: var(--paper-light);
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
}

.hero-mini img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.06;
  border-radius: 12px;
  object-fit: cover;
}

.hero-mini figcaption {
  padding: 6px 4px 2px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
}

.hero-note {
  position: absolute;
  z-index: 3;
  top: 44px;
  left: -34px;
  display: flex;
  width: 154px;
  flex-direction: column;
  gap: 5px;
  padding: 14px 17px;
  border: 1px solid rgba(32, 48, 40, 0.08);
  border-radius: 3px 16px 16px 16px;
  background: var(--paper-light);
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

.hero-note strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-note span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: -18px;
  right: -20px;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px dashed rgba(47, 93, 71, 0.65);
  border-radius: 50%;
  background: rgba(246, 241, 231, 0.78);
  color: var(--green);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  transform: rotate(10deg);
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.38);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 14px 17px 14px 34px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-group span::after {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 34px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
  vertical-align: 3px;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 86px 0;
}

.section--tight {
  padding: 70px 0;
}

.section--plain {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.section-head p {
  max-width: 430px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-link {
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Post cards
   -------------------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(32, 48, 40, 0.09);
  border-radius: var(--radius-md);
  background: var(--paper-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.post-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.post-card__media picture {
  position: absolute;
  inset: 0;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.045);
}

.post-card__tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.post-card__body {
  padding: 22px 22px 24px;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card__meta span + span::before {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 13px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
  vertical-align: 3px;
}

.post-card h3 {
  margin: 11px 0 9px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.post-card h3 a {
  background-image: linear-gradient(var(--green), var(--green));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.35s ease;
}

.post-card:hover h3 a {
  background-size: 100% 1px;
}

.post-card__excerpt {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.post-card--wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.12fr 0.88fr;
}

.post-card--wide .post-card__media {
  height: 100%;
  min-height: 330px;
  aspect-ratio: auto;
}

.post-card--wide .post-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 34px 36px;
}

.post-card--wide h3 {
  font-size: clamp(25px, 3.2vw, 35px);
}

.post-card--wide .post-card__excerpt {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Quote band
   -------------------------------------------------------------------------- */

.quote-band {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 470px;
  align-items: flex-end;
  margin: 0;
  border-radius: var(--radius-xl);
  background: var(--green-dark);
  box-shadow: var(--shadow-md);
}

.quote-band > picture,
.quote-band > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.quote-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-band::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 31, 23, 0.08) 20%, rgba(18, 31, 23, 0.76) 100%);
  content: "";
}

.quote-band__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 44px;
  color: var(--white);
}

.quote-band__mark {
  display: block;
  height: 34px;
  margin-bottom: 8px;
  color: rgba(255, 253, 248, 0.55);
  font-family: Georgia, serif;
  font-size: 74px;
  line-height: 0.8;
}

.quote-band blockquote {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(27px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.55;
}

.quote-band__source {
  color: rgba(255, 253, 248, 0.7);
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* --------------------------------------------------------------------------
   Photo strip
   -------------------------------------------------------------------------- */

.photo-grid {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr 0.76fr;
  grid-template-rows: 208px 208px;
  gap: 15px;
}

.photo-tile {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
}

.photo-tile figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.photo-tile:nth-child(1) {
  grid-row: 1 / 3;
}

.photo-tile:nth-child(2) {
  grid-column: 2 / 4;
}

.photo-tile picture {
  position: absolute;
  inset: 0;
}

.photo-tile img {
  width: 100%;
  height: 100%;
}

.photo-tile img {
  object-fit: cover;
  transition: transform 0.7s ease;
}

.photo-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 31, 24, 0.55), transparent 48%);
  content: "";
  pointer-events: none;
}

.photo-tile:hover img {
  transform: scale(1.045);
}

.photo-tile figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 12px;
  left: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.photo-tile figcaption span {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

/* --------------------------------------------------------------------------
   About preview
   -------------------------------------------------------------------------- */

.about-preview {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
}

.about-photo-wrap {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 0 0 26px 26px;
}

.about-photo-wrap::before {
  position: absolute;
  z-index: 0;
  right: 18%;
  bottom: 0;
  left: 0;
  height: 72%;
  border-radius: 24px;
  background: var(--green-soft);
  content: "";
}

.about-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-photo__note {
  position: absolute;
  z-index: 2;
  right: -14px;
  bottom: 8px;
  width: 152px;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--paper-light);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.6;
  transform: rotate(2deg);
}

.about-photo__note span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.about-copy h2 {
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.35;
}

.about-copy p {
  max-width: 550px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 38px;
  margin: 30px 0 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.about-stats div {
  display: grid;
  gap: 2px;
}

.about-stats strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.about-stats span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.09em;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 40px;
  padding: 62px 0 26px;
  background: var(--green-dark);
  color: rgba(255, 253, 248, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.7fr 1.1fr;
  gap: 46px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  background: var(--paper-light);
  color: var(--green-dark);
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand .brand-tagline {
  color: rgba(255, 253, 248, 0.46);
}

.footer-brand p {
  max-width: 350px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 13px;
  line-height: 1.9;
}

.footer-title {
  margin: 4px 0 15px;
  color: rgba(255, 253, 248, 0.44);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 253, 248, 0.78);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 12px;
  line-height: 1.85;
}

.footer-contact a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 248, 0.3);
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 253, 248, 0.58);
  font-size: 11px;
  line-height: 1.8;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.footer-legal a {
  color: rgba(255, 253, 248, 0.76);
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 248, 0.22);
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Page hero / inner pages
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 48px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.page-hero p {
  max-width: 470px;
  margin: 0 0 4px auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.page-content {
  padding: 64px 0 84px;
}

/* --------------------------------------------------------------------------
   Archive
   -------------------------------------------------------------------------- */

.archive-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.archive-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
}

.archive-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.archive-list {
  display: grid;
}

.archive-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 148px;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.archive-item:first-child {
  padding-top: 0;
}

.archive-item__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
}

.archive-item__media picture {
  position: absolute;
  inset: 0;
}

.archive-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.archive-item:hover .archive-item__media img {
  transform: scale(1.05);
}

.archive-item__main h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.45;
}

.archive-item__main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.archive-item__side {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-align: right;
}

.archive-item__side strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 34px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 93, 71, 0.14);
  border-radius: 12px;
  background: rgba(223, 232, 223, 0.38);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.gallery-note span {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.2;
}

.gallery-grid {
  columns: 3;
  column-gap: 18px;
}

.gallery-card {
  display: block;
  overflow: hidden;
  break-inside: avoid;
  margin: 0 0 18px;
  border: 1px solid rgba(32, 48, 40, 0.08);
  border-radius: var(--radius-sm);
  background: var(--paper-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-card figure {
  margin: 0;
}

.gallery-card__media {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.gallery-card__media picture {
  position: absolute;
  inset: 0;
}

.gallery-card:nth-child(3n + 1) .gallery-card__media {
  aspect-ratio: 4 / 5;
}

.gallery-card:nth-child(3n + 2) .gallery-card__media {
  aspect-ratio: 4 / 3;
}

.gallery-card:nth-child(3n) .gallery-card__media {
  aspect-ratio: 1 / 1;
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
}

.gallery-card__media img {
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.04);
}

.gallery-note a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(47, 93, 71, 0.3);
  text-underline-offset: 2px;
}

.gallery-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 13px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
}

.gallery-card figcaption span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.gallery-end {
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(14, 24, 18, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox__figure {
  width: min(1120px, 100%);
  max-height: 90vh;
  margin: 0;
  text-align: center;
}

.lightbox__figure img {
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.lightbox__figure figcaption {
  margin-top: 14px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.25);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  border-color: rgba(255, 253, 248, 0.7);
  background: rgba(255, 253, 248, 0.1);
}

.lightbox__close {
  top: 22px;
  right: 22px;
}

.lightbox__prev {
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
}

.lightbox__next {
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */

.reading-progress {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--clay);
  transition: width 0.08s linear;
}

.article-hero {
  padding: 56px 0 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.breadcrumbs a {
  color: var(--green);
}

.breadcrumbs span {
  opacity: 0.55;
}

.article-header {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.article-kicker::before,
.article-kicker::after {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.article-title {
  max-width: 980px;
  margin: 20px auto;
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-wrap: balance;
}

.article-dek {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 18px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta span + span::before {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.article-cover {
  max-width: 1080px;
  margin: 42px auto 0;
}

.article-cover__frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--paper-deep);
}

.article-cover__frame picture {
  position: absolute;
  inset: 0;
}

.article-cover__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-cover figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-align: center;
}

.article-layout {
  display: grid;
  grid-template-columns: 168px minmax(0, 720px);
  justify-content: center;
  gap: 58px;
  padding: 62px 0 76px;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 108px;
}

.article-aside__title {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-toc {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  padding: 4px 0 4px 13px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.article-toc a:hover,
.article-toc a.is-active {
  border-left-color: var(--clay);
  color: var(--green);
}

.article-body {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 2.05;
}

.article-body > p:first-child::first-letter {
  float: left;
  margin: 8px 8px 0 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: 67px;
  font-weight: 700;
  line-height: 0.78;
}

.article-body p {
  margin: 0 0 1.55em;
}

.article-body h2 {
  margin: 2.1em 0 0.8em;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.article-body h2::before {
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 13px;
  background: var(--clay);
  content: "";
}

.article-body h3 {
  margin: 1.8em 0 0.6em;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(47, 93, 71, 0.35);
  text-underline-offset: 4px;
}

.article-body blockquote {
  margin: 2.2em 0;
  padding: 6px 0 6px 25px;
  border-left: 3px solid var(--clay);
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.article-body blockquote p {
  margin: 0;
}

.article-body figure {
  margin: 2.3em 0;
}

.article-body figure picture {
  width: 100%;
}

.article-body figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.article-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.tip-box {
  margin: 2.4em 0;
  padding: 24px 25px 22px;
  border: 1px solid rgba(47, 93, 71, 0.13);
  border-radius: var(--radius-md);
  background: rgba(223, 232, 223, 0.5);
}

.tip-box__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.tip-box__title span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

.tip-box ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.tip-box li::marker {
  color: var(--clay);
}

.article-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2.8em;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.article-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 890px;
  margin: 0 auto 72px;
}

.article-nav a {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.46);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.article-nav a:hover {
  border-color: rgba(47, 93, 71, 0.35);
  background: var(--paper-light);
  transform: translateY(-2px);
}

.article-nav span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.article-nav strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.article-nav a:last-child {
  text-align: right;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about-hero__photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.about-hero__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-hero__photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--green);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

.about-hero__copy h2 {
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.3;
}

.about-hero__copy p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.about-signature {
  margin-top: 24px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 66px;
}

.value-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.5);
}

.value-card__num {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.value-card h3 {
  margin: 14px 0 9px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 60px;
  padding: 30px 32px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: var(--white);
}

.contact-box h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.4;
}

.contact-box p {
  margin: 0;
  color: rgba(255, 253, 248, 0.7);
  font-size: 12px;
}

.contact-box a {
  flex: 0 0 auto;
  padding: 11px 18px;
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-box a:hover {
  background: var(--white);
  color: var(--green);
}

/* --------------------------------------------------------------------------
   Prose pages (privacy / credits / 404)
   -------------------------------------------------------------------------- */

.prose-page {
  max-width: 840px;
  margin: 0 auto;
  padding: 10px 0 0;
}

.prose-page h2 {
  margin: 2.2em 0 0.7em;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.45;
}

.prose-page h2:first-child {
  margin-top: 0;
}

.prose-page p,
.prose-page li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.prose-page ul {
  padding-left: 20px;
}

.prose-page li {
  margin-bottom: 7px;
}

.prose-page a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(47, 93, 71, 0.3);
  text-underline-offset: 3px;
}

.notice {
  margin: 0 0 32px;
  padding: 18px 20px;
  border-left: 3px solid var(--clay);
  border-radius: 0 10px 10px 0;
  background: rgba(234, 211, 198, 0.32);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.credit-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.credit-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.credit-list span {
  color: var(--muted);
  text-align: right;
}

.credit-list a {
  text-decoration: none;
}

.credit-list a:hover {
  text-decoration: underline;
}

.error-page {
  display: grid;
  min-height: 62vh;
  place-items: center;
  padding: 70px 0 90px;
  text-align: center;
}

.error-page .error-page__code {
  max-width: none;
  margin: 0 0 -14px;
  color: rgba(47, 93, 71, 0.16);
  font-family: var(--serif);
  font-size: clamp(110px, 18vw, 190px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.8;
}

.error-page h1 {
  margin: -24px 0 14px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
}

.error-page p {
  max-width: 420px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-grid {
    gap: 38px;
  }

  .hero-note {
    left: -18px;
  }

  .hero-title {
    font-size: clamp(44px, 6vw, 68px);
  }

  .article-layout {
    grid-template-columns: minmax(0, 720px);
    gap: 0;
  }

  .article-aside {
    display: none;
  }

  .about-preview {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(var(--wrap), calc(100% - 36px));
  }

  .site-header,
  .site-header.is-scrolled {
    background: rgba(246, 241, 231, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    z-index: 59;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 36px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav::after {
    margin-top: auto;
    padding-top: 36px;
    color: var(--muted);
    content: "小刘分享 · 慢慢走，慢慢看";
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  body.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 18px;
  }

  .nav a::after {
    display: none;
  }

  .nav a.nav-cta {
    margin-top: 18px;
    padding: 12px 18px;
    border: 1px solid var(--green);
    border-radius: 999px;
    text-align: center;
  }

  .hero {
    padding: 44px 0 46px;
  }

  .hero-grid,
  .page-hero__inner,
  .about-preview,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: 700px;
    font-size: clamp(44px, 10vw, 72px);
  }

  .hero-lead {
    max-width: 620px;
  }

  .hero-visual {
    width: min(100%, 610px);
    margin: 16px auto 0;
    padding: 20px 14px 24px 0;
  }

  .hero-note {
    top: 4px;
    left: 4px;
  }

  .hero-stamp {
    top: -6px;
    right: -6px;
  }

  .hero-mini {
    right: 4px;
    bottom: -10px;
    width: 134px;
  }

  .page-hero {
    padding: 52px 0 40px;
  }

  .page-hero p {
    margin: 0;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-card--wide {
    grid-template-columns: 1fr;
  }

  .post-card--wide .post-card__media {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .post-card--wide .post-card__body {
    padding: 24px 22px 26px;
  }

  .about-preview {
    gap: 44px;
  }

  .about-photo-wrap {
    width: min(100%, 460px);
  }

  .about-photo img {
    aspect-ratio: 4 / 3;
  }

  .about-copy {
    max-width: 640px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 6px;
  }

  .gallery-grid {
    columns: 2;
  }

  .archive-item {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
  }

  .archive-item__side {
    display: none;
  }

  .article-title {
    font-size: clamp(36px, 8vw, 58px);
  }

  .article-cover {
    margin-top: 32px;
  }

  .article-layout {
    padding-top: 48px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-hero {
    gap: 40px;
  }

  .about-hero__photo {
    width: min(100%, 480px);
  }

  .about-hero__photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 30px);
  }

  .brand-tagline {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-title {
    margin-top: 18px;
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
    padding-inline: 16px;
  }

  .hero-meta {
    gap: 8px 13px;
    margin-top: 30px;
    font-size: 10px;
  }

  .hero-visual {
    padding-right: 8px;
  }

  .hero-main-photo {
    border-radius: 24px 76px 24px 24px;
  }

  .hero-main-photo img {
    aspect-ratio: 1 / 1.05;
  }

  .hero-note {
    top: -6px;
    left: -4px;
    width: 132px;
    padding: 11px 13px;
  }

  .hero-note strong {
    font-size: 15px;
  }

  .hero-stamp {
    display: none;
  }

  .hero-mini {
    width: 112px;
  }

  .hero-photo-label {
    top: 14px;
    right: 14px;
  }

  .hero-caption {
    right: 14px;
    bottom: 12px;
    left: 14px;
  }

  .hero-caption p {
    font-size: 12px;
  }

  .hero-caption span {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .post-card__body {
    padding: 18px 18px 20px;
  }

  .post-card--wide .post-card__media {
    min-height: 220px;
  }

  .quote-band {
    min-height: 380px;
    border-radius: 24px;
  }

  .quote-band__content {
    padding: 28px 22px;
  }

  .quote-band blockquote {
    font-size: 25px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 150px 150px;
    gap: 10px;
  }

  .photo-tile:nth-child(1) {
    grid-row: 1;
    grid-column: 1 / 3;
  }

  .photo-tile:nth-child(2) {
    grid-row: 2;
    grid-column: 1;
  }

  .photo-tile:nth-child(3) {
    grid-row: 2;
    grid-column: 2;
  }

  .photo-tile:nth-child(4) {
    grid-row: 3;
    grid-column: 1 / 3;
  }

  .photo-tile figcaption {
    right: 11px;
    bottom: 9px;
    left: 11px;
    font-size: 11px;
  }

  .about-photo-wrap {
    padding: 0 0 18px 16px;
  }

  .about-photo__note {
    right: 0;
    width: 138px;
  }

  .about-copy h2 {
    font-size: 30px;
  }

  .about-stats {
    gap: 18px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-card:nth-child(n) .gallery-card__media {
    aspect-ratio: 4 / 3;
  }

  .archive-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .archive-item {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 15px;
    padding: 16px 0;
  }

  .archive-item__main h3 {
    font-size: 18px;
  }

  .archive-item__main p {
    display: none;
  }

  .article-hero {
    padding-top: 38px;
  }

  .article-header {
    text-align: left;
  }

  .article-kicker::before,
  .article-kicker::after {
    display: none;
  }

  .article-title {
    margin-top: 15px;
    font-size: clamp(34px, 10vw, 46px);
  }

  .article-dek {
    font-size: 14px;
  }

  .article-meta {
    justify-content: flex-start;
  }

  .article-cover__frame {
    border-radius: 20px;
  }

  .article-cover__frame img {
    aspect-ratio: 4 / 3;
  }

  .article-layout {
    padding: 38px 0 56px;
  }

  .article-body {
    font-size: 15.5px;
    line-height: 2;
  }

  .article-body > p:first-child::first-letter {
    font-size: 58px;
  }

  .article-body h2 {
    font-size: 25px;
  }

  .article-body blockquote {
    padding-left: 18px;
    font-size: 21px;
  }

  .tip-box {
    padding: 20px 18px;
  }

  .article-nav {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
  }

  .article-nav a:last-child {
    text-align: left;
  }

  .article-end {
    align-items: flex-start;
    flex-direction: column;
  }

  .credit-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .credit-list span {
    text-align: left;
  }

  .contact-box {
    padding: 24px 22px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
  }

  .lightbox__figure img {
    max-height: 70vh;
  }
}

@media (max-width: 380px) {
  .hero-note {
    display: none;
  }

  .hero-mini {
    width: 96px;
  }

  .hero-actions .btn {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }
}

@media print {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .site-header,
  .site-footer,
  .article-nav,
  .article-aside,
  .reading-progress,
  .ticker {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .article-layout {
    display: block;
    padding: 24px 0;
  }
}
