:root {
  --mint-50: #f4faf6;
  --mint-100: #dcefe6;
  --mint-200: #c5dfd2;
  --mint-300: #9bc8b5;
  --mint-600: #2f6b56;
  --paper: #f7fbf8;
  --paper-card: #ffffff;
  --ink: #1c2a24;
  --muted: #66756e;
  --wine: #7b3040;
  --wine-light: #a3485b;
  --wine-soft: rgba(47, 107, 86, 0.1);
  --line: #d5e4dc;
  --line-warm: rgba(47, 107, 86, 0.14);
  --serif: "Songti SC", "Noto Serif SC", STSong, serif;
  --art: "Long Cang", "Ma Shan Zheng", "Kaiti SC", STKaiti, KaiTi, "楷体", serif;
  --editorial: "Songti SC", STSong, "Noto Serif SC", serif;
  --latin-art: "Bodoni 72", Didot, Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}

@font-face {
  font-family: "ZCOOL XiaoWei";
  src: url("../fonts/ZCOOLXiaoWei-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Long Cang";
  src: url("../fonts/LongCang-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ma Shan Zheng";
  src: url("../fonts/MaShanZheng-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:disabled { opacity: .55; cursor: wait; }
[hidden] { display: none !important; }

h1:focus,
h1:focus-visible,
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.media-button:focus-visible {
  outline: 2px solid var(--mint-600);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 16px;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 3px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: none; }
.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;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--mint-600);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.login {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: var(--mint-50);
}
.login::before,
.login::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 32vh;
  background: var(--mint-300);
  opacity: .35;
}
.login::before { left: 12vw; top: 0; }
.login::after { right: 12vw; bottom: 0; }
.login__leaf {
  position: absolute;
  width: min(64vw, 560px);
  height: min(64vw, 560px);
  border: 1px solid rgba(47, 107, 86, .14);
  border-radius: 100% 0 100% 0;
  transform: rotate(18deg);
}
.login__panel {
  width: min(100%, 400px);
  position: relative;
  z-index: 1;
  padding: 40px 28px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
  background: var(--paper-card);
}
.login__monogram {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid var(--mint-300);
  border-radius: 50%;
  color: var(--mint-600);
  background: var(--mint-50);
  font-family: var(--art);
  font-size: 1.7rem;
}
.login h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--art);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.4;
}
.login__hint {
  margin: 12px 0 26px;
  color: var(--muted);
  font-size: 0.9rem;
}
.login__form { display: grid; gap: 14px; }
.login__form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  text-align: center;
  font-size: 16px;
  letter-spacing: .16em;
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.login__form input:hover { border-color: var(--mint-300); }
.login__form input:focus {
  border-color: var(--mint-600);
  box-shadow: 0 0 0 3px rgba(47, 107, 86, 0.12);
  background: #fff;
}
.login__form input[aria-invalid="true"] {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(123, 48, 64, 0.12);
}
.button {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .06em;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s, translate .18s ease;
  translate: var(--magnetic-x, 0) var(--magnetic-y, 0);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.button--dark {
  color: #fff;
  background: var(--mint-600);
  border-radius: 4px;
  letter-spacing: 0.12em;
}
.button--dark:hover {
  background: #245445;
  transform: translateY(-1px);
}
.button--outline {
  border-color: var(--mint-600);
  color: var(--mint-600);
  background: transparent;
  border-radius: 4px;
}
.button--outline:hover {
  color: #fff;
  background: var(--mint-600);
  box-shadow: 0 8px 20px rgba(44, 94, 78, 0.2);
}
.text-button { padding: 0; border: 0; background: none; cursor: pointer; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint-600);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.offline-note {
  min-height: 100svh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}
.form-message { min-height: 1.5em; margin: 0; color: var(--wine); font-size: .86rem; }

.intro-reveal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--mint-100);
}
.intro-reveal__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: var(--mint-100);
  transition: transform .8s cubic-bezier(.76, 0, .24, 1) .52s;
}
.intro-reveal__panel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(44, 94, 78, .18);
}
.intro-reveal__panel--left { left: 0; }
.intro-reveal__panel--left::after { right: 0; }
.intro-reveal__panel--right { right: 0; }
.intro-reveal__panel--right::after { left: 0; }
.intro-reveal__letter {
  z-index: 1;
  width: min(78vw, 340px);
  padding: 40px 34px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: center;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6) inset, 0 24px 70px rgba(32, 39, 36, .12);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .38s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.intro-reveal__letter p { margin: 0 0 18px; color: var(--mint-600); font-size: .7rem; letter-spacing: .2em; }
.intro-reveal__letter span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border: 1px solid var(--mint-300);
  border-radius: 50%;
  color: var(--mint-600);
  background: var(--mint-50);
  font-family: var(--art);
  font-size: 2rem;
}
.intro-reveal__letter small { color: var(--muted); font-family: var(--sans); font-size: .95rem; }
.intro-reveal.is-active .intro-reveal__letter { opacity: 1; transform: none; }
.intro-reveal.is-active .intro-reveal__panel--left { transform: translateX(-101%); }
.intro-reveal.is-active .intro-reveal__panel--right { transform: translateX(101%); }
.intro-reveal.is-leaving .intro-reveal__letter { opacity: 0; transform: translateY(-12px) scale(.98); }

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--mint-600);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.nav {
  height: 66px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(44, 94, 78, 0.08);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.nav.is-scrolled {
  position: fixed;
  background: rgba(251, 249, 245, 0.88);
  border-bottom: 1px solid rgba(130, 50, 66, 0.08);
  box-shadow: 0 4px 24px rgba(31, 39, 35, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav a { color: inherit; text-decoration: none; }
.nav__brand {
  color: var(--mint-600);
  font-family: var(--latin-art);
  font-size: 1.15rem;
  letter-spacing: 0.2em;
}
.nav__links { display: flex; gap: 34px; font-size: .88rem; }
.nav__links a {
  color: var(--ink);
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}
.nav__links a:hover { color: var(--mint-600); }
.nav__menu { display: none; }
.nav__exit {
  justify-self: end;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: .82rem;
  transition: color .2s;
}
.nav__exit:hover { color: var(--mint-600); }
.nav__menu,
.nav__mobile {
  border: 1px solid rgba(44, 94, 78, 0.18);
  background: rgba(253, 251, 248, 0.98);
}
.nav__menu {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__mobile {
  position: absolute;
  top: calc(100% + 10px);
  right: 16px;
  left: 16px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(130, 50, 66, 0.12);
  box-shadow: 0 16px 40px rgba(31, 39, 35, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav__mobile a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
}
.nav__mobile a:hover,
.nav__mobile a:focus-visible { color: var(--wine); background: var(--mint-50); }

.hero {
  min-height: 94svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px clamp(24px, 8vw, 132px) 80px;
  background: var(--mint-100);
}
.hero__copy { max-width: 700px; position: relative; z-index: 2; }
.site:not(.is-entered) .hero__copy > *,
.site:not(.is-entered) .hero__date,
.site:not(.is-entered) .hero__status { opacity: 0; }
.site.is-entered .hero__copy > * { animation: heroEnter .85s both cubic-bezier(.22, 1, .36, 1); }
.site.is-entered .hero__copy > :nth-child(2) { animation-delay: .08s; }
.site.is-entered .hero__copy > :nth-child(3) { animation-delay: .16s; }
.site.is-entered .hero__copy > :nth-child(4) { animation-delay: .24s; }
.site.is-entered .hero__date { animation: heroDateEnter 1.1s .12s both cubic-bezier(.22, 1, .36, 1); }
.site.is-entered .hero__status { animation: heroEnter .8s .32s both cubic-bezier(.22, 1, .36, 1); }
.hero h1 {
  margin: 0;
  max-width: 7.2em;
  position: relative;
  font-family: var(--art);
  font-size: clamp(3.6rem, 8vw, 5.6rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--ink);
}
.hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 16px;
  background: var(--mint-600);
}
.hero__lead {
  margin: 30px 0 32px;
  color: #35433C;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.9;
}
.hero .text-link {
  color: var(--mint-600);
  font-weight: 500;
  letter-spacing: 0.05em;
  border-bottom: 1px dashed rgba(130, 50, 66, 0.4);
  padding-bottom: 2px;
  text-decoration: none;
}
.hero .text-link:hover {
  border-bottom-style: solid;
}
.hero__date {
  justify-self: end;
  display: grid;
  justify-items: center;
  color: rgba(44, 94, 78, 0.12);
  font-family: Georgia, serif;
  font-size: 12rem;
  font-weight: 300;
  line-height: .72;
  letter-spacing: 0.02em;
}
.hero__date i { width: 1px; height: clamp(48px, 8vw, 90px); margin: 22px 0; background: rgba(130, 50, 66, 0.2); }
.hero__status {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  position: absolute;
  right: clamp(24px, 8vw, 132px);
  bottom: 34px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(44, 94, 78, 0.15);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(31, 39, 35, 0.05);
}
.hero__status p { margin: 0 4px 0 0; color: var(--muted); font-size: .82rem; }
.hero__status strong { font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; color: var(--mint-600); }
.hero__status span { color: var(--mint-600); font-size: .9rem; }
.hero__botanical { position: absolute; inset: 0; pointer-events: none; }
.hero__botanical span {
  position: absolute;
  display: block;
  width: 180px;
  height: 420px;
  border-left: 1px solid rgba(44, 94, 78, .18);
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(35deg);
  will-change: transform;
}
.hero__botanical span::before,
.hero__botanical span::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 110px;
  border: 1px solid rgba(44, 94, 78, .18);
  border-radius: 100% 0 100% 0;
}
.hero__botanical span::before { left: -70px; top: 90px; transform: rotate(-20deg); }
.hero__botanical span::after { left: 0; top: 210px; transform: rotate(20deg); }
.hero__botanical span:nth-child(1) { right: 2%; top: -120px; }
.hero__botanical span:nth-child(2) { left: 44%; bottom: -280px; transform: translate3d(0, var(--parallax-y, 0), 0) rotate(205deg); }
.hero__botanical span:nth-child(3) { left: -100px; bottom: -180px; transform: translate3d(0, var(--parallax-y, 0), 0) rotate(150deg); }

.section { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.section[id], .moments[id] { scroll-margin-top: 72px; }
.section-heading { margin-bottom: 62px; text-align: center; }
.section-heading--left { max-width: 640px; text-align: left; }
.section-heading h2 {
  margin: 0;
  font-family: var(--art);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}
.section-heading h2::first-letter { color: var(--mint-600); }
.section-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.letter { width: min(800px, calc(100% - 48px)); }
.letter__body {
  position: relative;
  background: var(--paper-card);
  padding: 48px clamp(20px, 6vw, 64px);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 2;
  color: var(--ink);
}
.letter__body p { margin: 0 0 28px; }
.letter__body p:last-child { margin-bottom: 0; }
.letter__sign {
  color: var(--mint-600);
  font-family: var(--art);
  font-size: 1.4rem;
  margin-top: 36px;
  text-align: right;
}

.counter-band {
  min-height: 340px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 72px 24px;
  color: var(--ink);
  text-align: center;
  background: var(--mint-50);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.counter-band p {
  margin: 10px 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.counter-band__number { display: flex; align-items: baseline; gap: 12px; }
.counter-band strong {
  font-family: Georgia, serif;
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--mint-600);
}
.counter-band span {
  color: var(--mint-600);
  font-family: var(--art);
  font-size: 1.4rem;
}

.timeline { --timeline-progress: 0%; position: relative; margin-left: 9px; border-left: 1px dashed rgba(44, 94, 78, 0.25); }
.timeline::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -1px;
  top: 0;
  width: 2px;
  height: var(--timeline-progress);
  background: var(--mint-600);
  transition: height .12s linear;
}
.timeline__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  position: relative;
  padding: 0 0 64px 44px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  z-index: 2;
  background: var(--mint-600);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgba(47, 107, 86, 0.18);
}
.timeline time { color: var(--mint-600); font-family: Georgia, serif; font-size: 0.95rem; letter-spacing: 0.05em; }
.timeline h3 { margin: 0 0 8px; font-family: var(--editorial); font-size: 1.35rem; font-weight: 500; overflow-wrap: anywhere; }
.timeline p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.timeline__item:focus-visible,
.post:focus-visible { outline: 2px solid var(--wine); outline-offset: 6px; }
.timeline__actions { display: flex; gap: 16px; margin-top: 14px; }
.timeline__actions button {
  min-height: 40px;
  padding: 7px 0;
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
}
.timeline__actions button:hover { color: var(--wine); }
.timeline__media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  max-width: 520px;
  margin-top: 18px;
}
.timeline__media--1 { max-width: 320px; grid-template-columns: 1fr; }
.timeline__media--2 { max-width: 440px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline__media .media-button { position: relative; aspect-ratio: 1; border-radius: 3px; }
.timeline__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.timeline__media .media-button:hover img { transform: scale(1.035); }

.moments { background: var(--mint-50); }
.moments__inner { width: min(1180px, calc(100% - 48px)); }
.moments__heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.composer {
  display: grid;
  gap: 22px;
  margin-bottom: 68px;
  padding: 28px;
  border: 1px solid rgba(44, 94, 78, 0.15);
  border-radius: 8px;
  background: #FCFAF7;
  box-shadow: 0 12px 36px rgba(31, 39, 35, 0.05);
}
.composer__header { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.composer__header h3 { margin: 0; font-family: var(--editorial); font-size: 1.35rem; font-weight: 500; }
.composer__header p { margin: 0; color: var(--muted); font-size: .86rem; text-align: right; }
.composer label { display: grid; gap: 8px; color: var(--muted); font-size: .86rem; }
.composer input, .composer textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.composer input:hover, .composer textarea:hover { border-color: var(--mint-300); }
.composer input:focus, .composer textarea:focus {
  border-color: var(--mint-600);
  box-shadow: 0 0 0 4px rgba(44, 94, 78, .12);
}
.composer textarea { resize: vertical; min-height: 100px; }
.composer__row { display: grid; grid-template-columns: 180px 1fr; gap: 18px; }
.segmented { display: flex; width: fit-content; min-width: 0; margin: 0; padding: 3px; background: var(--mint-50); border: 1px solid var(--line); border-radius: 4px; }
.segmented label { display: block; cursor: pointer; color: var(--muted); }
.segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segmented span { display: block; padding: 7px 14px; border-radius: 2px; }
.segmented input:checked + span { color: #fff; background: var(--mint-600); }
.segmented input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 3px; }
.upload { min-height: 92px; position: relative; place-items: center; align-content: center; border: 1px dashed var(--mint-300); cursor: pointer; }
.upload:hover { border-color: var(--mint-600); background: var(--mint-50); }
.upload:focus-within { outline: 2px solid var(--wine); outline-offset: 4px; }
.upload__input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload span { color: var(--mint-600); font-weight: 600; }
.upload small { color: var(--muted); }
.upload small b { color: var(--ink); font-weight: 600; }
.composer__previews { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.preview { aspect-ratio: 1; position: relative; overflow: hidden; border-radius: 3px; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview button { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border: 0; border-radius: 50%; color: #fff; background: rgba(32, 39, 36, .76); cursor: pointer; }
.composer__actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }

.feed { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.post {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid rgba(44, 94, 78, 0.1);
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(31, 39, 35, 0.04), 0 16px 44px rgba(31, 39, 35, 0.06);
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
}
.post:hover {
  transform: translateY(-4px) perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  border-color: rgba(130, 50, 66, 0.22);
  box-shadow: 0 20px 50px rgba(31, 39, 35, 0.1);
}
.post:nth-child(3n) { grid-column: span 12; display: grid; grid-template-columns: 1.1fr .9fr; }
.post__media { display: grid; aspect-ratio: 4 / 3; min-height: 310px; overflow: hidden; background: var(--mint-100); }
.post__media--multi { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(0, 1fr); gap: 2px; }
.media-button { min-width: 0; min-height: 0; position: relative; padding: 0; overflow: hidden; border: 0; background: none; cursor: zoom-in; }
.media-button:focus-visible { outline-offset: -4px; }
.media-button__more {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  color: #fff;
  background: rgba(20, 26, 23, .58);
  font-family: Georgia, serif;
  font-size: 1.65rem;
  letter-spacing: .04em;
}
.post__media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transform: scale(1.02); transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.post:hover .post__media img { transform: scale(1.055); }
.post__content { padding: 25px; display: flex; flex-direction: column; }
.post time { color: var(--mint-600); font-family: Georgia, serif; font-size: .82rem; letter-spacing: .08em; }
.post h3 { margin: 8px 0; font-family: var(--editorial); font-size: 1.35rem; font-weight: 500; overflow-wrap: anywhere; }
.post__text { margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.post__actions { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 24px; }
.post__actions button { min-height: 44px; padding: 8px 0; border: 0; background: none; cursor: pointer; color: var(--muted); }
.post__actions button:hover { color: var(--wine); }
.post__like.liked { color: var(--wine); }
.feed-status { padding: 60px 20px; border-top: 1px solid var(--line); text-align: center; }
.feed-status p { margin: 0 0 16px; color: var(--muted); }
.feed-status .text-button,
.empty .text-button,
.composer__actions .text-button { min-height: 44px; padding: 8px 2px; }
.empty { padding: 80px 24px; border-top: 1px solid var(--line); text-align: center; }
.empty__mark { margin: 0; color: var(--mint-300); font-family: Georgia, serif; font-size: 4rem; line-height: 1; }
.empty h3 { margin: 18px 0 8px; font-family: var(--art); font-size: 1.4rem; font-weight: 400; }
.empty > p:not(.empty__mark) { margin: 0 0 22px; color: var(--muted); }

.footer { display: flex; justify-content: space-between; padding: 50px clamp(24px, 8vw, 132px); border-top: 1px solid var(--line); color: var(--muted); font-family: var(--serif); font-size: .86rem; }
.footer p { margin: 0; color: var(--wine); font-family: var(--latin-art); font-size: 1rem; font-style: italic; }
.toast {
  display: flex;
  align-items: center;
  gap: 14px;
  position: fixed;
  z-index: 1500;
  right: 24px;
  bottom: 24px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 13px 14px 13px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  color: #fff;
  background: rgba(32, 39, 36, .96);
  box-shadow: 0 18px 48px rgba(32, 39, 36, .22);
}
.toast span { overflow-wrap: anywhere; }
.toast button { min-height: 40px; padding: 7px 10px; border: 0; color: var(--mint-100); background: none; cursor: pointer; font-weight: 600; }
.toast button:hover { color: #fff; }
.toast .toast__close { width: 40px; padding: 0; font-size: 1.25rem; font-weight: 400; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 40px; border: 0; color: #fff; background: rgba(20, 26, 23, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { width: min(100%, 1500px); display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 18px; }
.lightbox figure { min-width: 0; margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 126px); object-fit: contain; }
.lightbox figcaption { min-height: 1.5em; color: rgba(255, 255, 255, .76); font-size: .86rem; text-align: center; }
.lightbox__close,
.lightbox__nav { width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); cursor: pointer; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { position: fixed; top: 18px; right: 24px; z-index: 2; font-size: 2rem; }
.lightbox__nav { font-family: Georgia, serif; font-size: 2.2rem; line-height: 1; }

.cursor-ring {
  position: fixed;
  z-index: 1800;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(123, 48, 64, .55);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: width .2s, height .2s, margin .2s, opacity .2s, border-color .2s;
}
.cursor-ring.is-visible { opacity: 1; }
.cursor-ring.is-hovering { width: 42px; height: 42px; margin: -7px; border-color: rgba(123, 48, 64, .85); }

.reveal-ready [data-reveal],
.reveal-ready [data-reveal-card] { opacity: 0; translate: 0 24px; transition: opacity .8s ease, translate .8s cubic-bezier(.22, 1, .36, 1); }
.reveal-ready [data-reveal].is-visible,
.reveal-ready [data-reveal-card].is-visible { opacity: 1; translate: 0 0; }

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroDateEnter {
  from { opacity: 0; transform: translateY(28px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 4px; padding: 0 16px; }
  .nav__links { display: none; }
  .nav__menu { display: block; min-width: 52px; min-height: 44px; padding: 8px 10px; border-radius: 18px; color: var(--muted); cursor: pointer; }
  .nav__menu[aria-expanded="true"] { color: var(--wine); background: var(--mint-50); }
  .nav__mobile { display: block; }
  .hero { min-height: 88svh; grid-template-columns: 1fr; padding: 90px 20px 70px; }
  .login { padding: 20px; }
  .login__panel { padding: 36px 20px 28px; }
  .login h1 { font-size: 2.15rem; }
  .hero h1 { max-width: none; font-size: 2.8rem; line-height: 1.3; }
  .hero__date { position: absolute; right: 12px; bottom: 80px; font-size: 5rem; opacity: 0.16; pointer-events: none; }
  .hero__status { position: relative; margin-top: 28px; left: auto; right: auto; bottom: auto; align-self: flex-start; }
  .section { width: min(100% - 32px, 1120px); padding: 88px 0; }
  .letter { width: min(100% - 32px, 800px); }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2 { font-size: 2.4rem; }
  .letter__body { padding: 36px 18px; font-size: 1.1rem; line-height: 1.95; }
  .counter-band { min-height: 300px; padding: 60px 16px; }
  .counter-band strong { font-size: 4.8rem; }
  .timeline__item { grid-template-columns: 1fr; gap: 5px; padding-left: 30px; }
  .moments__inner { width: min(100% - 32px, 1180px); }
  .moments__heading { align-items: start; flex-direction: column; }
  .composer { padding: 20px; }
  .composer__header { display: block; }
  .composer__header p { margin-top: 6px; text-align: left; }
  .composer__row { grid-template-columns: 1fr; }
  .composer__previews { grid-template-columns: repeat(3, 1fr); }
  .post, .post:nth-child(3n) { grid-column: span 12; display: block; }
  .post { transform: none !important; }
  .post:hover { transform: none !important; }
  .post__media { min-height: 240px; }
  .lightbox { padding: 64px 14px 22px; }
  .lightbox__stage { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox img { max-height: calc(100vh - 150px); }
  .toast { right: 16px; bottom: 16px; left: 16px; }
  .cursor-ring { display: none; }
  .footer { flex-direction: column; gap: 8px; padding: 40px 20px; text-align: center; }
}

@media (max-height: 680px) and (max-width: 760px) {
  .hero__date { display: none; }
  .hero { min-height: 100svh; }
}

@media (pointer: coarse), (hover: none) {
  .cursor-ring { display: none; }
  .button { translate: 0 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .cursor-ring, .intro-reveal { display: none !important; }
  .post { transform: none !important; }
  .hero__botanical span { transform: rotate(35deg); }
  .hero__botanical span:nth-child(2) { transform: rotate(205deg); }
  .hero__botanical span:nth-child(3) { transform: rotate(150deg); }
}
