:root {
  --ink: #243029;
  --ink-soft: #536057;
  --paper: #f5f2ea;
  --paper-deep: #ece7dc;
  --card: #fffdf8;
  --line: #dcd7cb;
  --green: #315b47;
  --green-bright: #4d7961;
  --green-pale: #e1eadf;
  --amber: #a3692d;
  --rose: #8b5655;
  --blue: #486776;
  --violet: #6a5b79;
  --shadow: 0 24px 70px rgba(48, 55, 43, .09);
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  z-index: -1;
  background:
    radial-gradient(circle at 5% 10%, rgba(74, 107, 83, .08), transparent 24rem),
    radial-gradient(circle at 92% 30%, rgba(184, 141, 84, .08), transparent 28rem);
}

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

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

.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;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 26px 0;
  border-bottom: 1px solid rgba(76, 86, 74, .12);
  background: rgba(245, 242, 234, .86);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.login-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  transform: rotate(-4deg);
}

.brand-mark.small {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong,
.login-brand strong {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .12em;
}

.brand-text small,
.login-brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: .2em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--ink-soft);
  font-size: 14px;
}

.nav-links > a {
  position: relative;
  transition: color .2s ease;
}

.nav-links > a:not(.nav-admin-link)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.nav-links > a:hover,
.nav-links > a.active {
  color: var(--ink);
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
  transform: scaleX(1);
}

.nav-admin-link {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, .62);
  color: var(--ink);
}

.nav-admin-link span {
  margin-left: 5px;
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
}

.site-main {
  min-height: calc(100vh - 260px);
}

.hero-section {
  width: min(1180px, calc(100% - 48px));
  min-height: 640px;
  margin: 0 auto;
  padding: 86px 0 100px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: 82px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}

.eyebrow > span {
  width: 30px;
  height: 1px;
  background: var(--green);
}

.hero-copy h1 {
  margin: 25px 0 28px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.4vw, 72px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.035em;
}

.hero-copy h1 em {
  position: relative;
  color: var(--green);
  font-style: normal;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 8px;
  z-index: -1;
  background: rgba(153, 174, 148, .24);
  border-radius: 50%;
  transform: rotate(-1deg);
}

.hero-copy > p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
}

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

.button {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: #fffef9;
  box-shadow: 0 8px 22px rgba(49, 91, 71, .16);
}

.button-primary:hover {
  background: #274d3b;
  box-shadow: 0 11px 28px rgba(49, 91, 71, .22);
}

.button-ghost {
  border-color: var(--line);
  background: var(--card);
}

.button-danger {
  border-color: #d9b9b4;
  background: #fff8f6;
  color: #934b42;
}

.button-large {
  min-height: 52px;
  padding: 13px 25px;
  border-radius: 8px;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid #aeb5ab;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
}

.hero-footnote {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7a8178;
  font-size: 11px;
  letter-spacing: .1em;
}

.hero-footnote .line {
  width: 44px;
  height: 1px;
  background: var(--line);
}

.featured-card {
  position: relative;
  display: block;
  background: var(--card);
  border: 1px solid #ded9cc;
  border-radius: 2px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.featured-card:hover {
  transform: translateY(-7px) rotate(.25deg);
  box-shadow: 0 34px 90px rgba(48, 55, 43, .14);
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .44);
  pointer-events: none;
}

.featured-art {
  position: relative;
  height: 315px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(29, 54, 42, .88), rgba(75, 104, 79, .68)),
    radial-gradient(circle at 72% 18%, #d8c792, transparent 20%);
}

.tone-amber .featured-art {
  background: linear-gradient(160deg, #5b4b31, #ad8150 62%, #d6b87b);
}

.tone-blue .featured-art {
  background: linear-gradient(160deg, #2f4a54, #607b80 62%, #a4b9ae);
}

.tone-rose .featured-art {
  background: linear-gradient(160deg, #59403e, #8f625b 64%, #c69c8e);
}

.tone-violet .featured-art {
  background: linear-gradient(160deg, #4a4354, #736b7d 64%, #b4a7ae);
}

.featured-number {
  position: absolute;
  top: 25px;
  left: 30px;
  z-index: 3;
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
  letter-spacing: .24em;
}

.art-sun {
  position: absolute;
  top: 52px;
  right: 86px;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: #e3d5a6;
  box-shadow: 0 0 42px rgba(235, 218, 166, .36);
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.orbit-one {
  top: -110px;
  right: -50px;
  width: 330px;
  height: 330px;
}

.orbit-two {
  top: -45px;
  right: 12px;
  width: 205px;
  height: 205px;
}

.art-hill {
  position: absolute;
  bottom: -103px;
  width: 450px;
  height: 265px;
  border-radius: 50% 50% 0 0;
}

.hill-one {
  right: -50px;
  background: rgba(36, 74, 53, .77);
  transform: rotate(7deg);
}

.hill-two {
  bottom: -133px;
  left: -70px;
  background: rgba(23, 52, 38, .78);
  transform: rotate(-7deg);
}

.featured-body {
  position: relative;
  min-height: 218px;
  padding: 31px 38px 35px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #7a7d77;
  font-size: 11px;
}

.category-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.featured-body h2 {
  margin: 18px 50px 12px 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.45;
}

.featured-body p {
  max-width: 440px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.read-arrow {
  position: absolute;
  right: 34px;
  bottom: 36px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  transition: background .2s ease, color .2s ease;
}

.featured-card:hover .read-arrow {
  background: var(--green);
  color: #fff;
}

.reveal {
  animation: reveal .7s ease both;
}

.delay-1 {
  animation-delay: .15s;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-section {
  padding: 82px max(24px, calc((100vw - 1180px) / 2)) 100px;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-kicker {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
}

.section-heading h2,
.about-copy h2 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.search-form,
.admin-search {
  min-width: 245px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #aaa99f;
}

.search-form svg,
.admin-search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #747a72;
  stroke-width: 1.5;
}

.search-submit {
  width: 22px;
  height: 22px;
  padding: 2px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}

.search-submit:hover svg {
  stroke: var(--green);
}

.search-form input,
.admin-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.search-form input::placeholder,
.admin-search input::placeholder {
  color: #959a92;
}

.search-clear {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #8c9189;
  font-size: 18px;
  line-height: 1;
}

.search-clear:hover {
  background: #e9ece5;
  color: var(--green);
}

.category-tabs {
  margin: 31px 0 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tabs a {
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #737971;
  font-size: 12px;
}

.category-tabs a:hover,
.category-tabs a.active {
  border-color: #c9cfc6;
  background: #eef1e9;
  color: var(--green);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.post-card {
  min-height: 330px;
  padding: 27px 29px 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  transition: background .25s ease;
}

.post-card:hover {
  background: #f2f4ec;
}

.card-top,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-index {
  color: #b0b2aa;
  font-family: Georgia, serif;
  font-size: 12px;
}

.post-card.tone-amber .category-pill { color: var(--amber); background: #f1e8d9; }
.post-card.tone-blue .category-pill { color: var(--blue); background: #e2eaec; }
.post-card.tone-rose .category-pill { color: var(--rose); background: #efe3e1; }
.post-card.tone-violet .category-pill { color: var(--violet); background: #eae4ed; }

.card-copy {
  padding: 38px 0 32px;
  flex: 1;
}

.card-copy h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.55;
  transition: color .2s ease;
}

.post-card:hover .card-copy h3 {
  color: var(--green);
}

.card-copy p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-footer {
  padding-top: 18px;
  border-top: 1px solid #e5e1d8;
  color: #8b8f87;
  font-size: 11px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 17px;
}

.card-meta span:last-child {
  color: var(--green);
  font-size: 16px;
  transition: transform .2s ease;
}

.post-card:hover .card-meta span:last-child {
  transform: translateX(4px);
}

.empty-state,
.admin-empty {
  padding: 80px 24px;
  text-align: center;
}

.empty-mark {
  color: #a8b2a5;
  font-family: var(--serif);
  font-size: 55px;
}

.empty-state h3,
.admin-empty h3 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 26px;
}

.empty-state p,
.admin-empty p {
  color: var(--ink-soft);
}

.empty-state .button,
.admin-empty .button {
  margin-top: 20px;
}

.archive-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 60px;
}

.archive-hero h1 {
  margin: 16px 0 7px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
}

.archive-hero p {
  color: var(--ink-soft);
}

.about-section {
  padding: 90px max(24px, calc((100vw - 1180px) / 2));
}

.about-inner {
  display: grid;
  grid-template-columns: 90px minmax(0, 680px) 1fr;
  align-items: center;
  gap: 42px;
}

.about-number {
  align-self: start;
  color: #b3b5ac;
  font-family: Georgia, serif;
  font-size: 15px;
}

.about-copy p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
}

.about-decoration {
  position: relative;
  justify-self: end;
  width: 170px;
  height: 150px;
}

.about-circle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  height: 140px;
  border: 1px solid #bcc6b8;
  border-radius: 50%;
}

.about-circle::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed #c9cec3;
  border-radius: 50%;
}

.about-leaf {
  position: absolute;
  top: 25px;
  left: 22px;
  color: var(--green);
  font-size: 45px;
  transform: rotate(-15deg);
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  font-family: var(--serif);
  letter-spacing: .1em;
}

.footer-brand p {
  margin: 0;
  color: #7f847c;
  font-size: 11px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #858a81;
  font-size: 10px;
  letter-spacing: .08em;
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9da198;
}

.icp-link {
  transition: color .2s ease;
}

.icp-link:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Article */
.article-shell {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0 100px;
}

.back-link {
  color: #7c827a;
  font-size: 12px;
  transition: color .2s ease;
}

.back-link:hover {
  color: var(--green);
}

.article-header {
  padding: 54px 0 40px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #80857d;
  font-size: 11px;
}

.article-header h1 {
  margin: 25px 0 24px;
  font-family: var(--serif);
  font-size: clamp(37px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.article-lead {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
}

.article-byline {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--serif);
}

.article-byline > div {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.article-byline strong {
  font-family: var(--serif);
  font-size: 13px;
}

.article-byline div span,
.article-views {
  color: #8a8e87;
  font-size: 10px;
}

.byline-rule {
  width: 35px;
  height: 1px;
  margin: 0 8px;
  background: var(--line);
}

.article-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #a4aa9f;
}

.article-divider span {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.article-divider i {
  font-style: normal;
  font-size: 8px;
}

.article-content {
  padding-top: 53px;
  color: #354139;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2.05;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2 {
  margin: 54px 0 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
}

.article-content h2::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--green);
}

.article-content h3 {
  margin: 38px 0 15px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
}

.article-content p {
  margin: 0 0 25px;
}

.article-content a {
  border-bottom: 1px solid #8da594;
  color: var(--green);
}

.article-content strong {
  color: #26372d;
}

.article-content blockquote {
  margin: 35px 0;
  padding: 25px 29px;
  border-left: 2px solid var(--green);
  background: #edf0e8;
  color: #536258;
}

.article-content blockquote p {
  margin: 0;
}

.article-content ul,
.article-content ol {
  margin: 0 0 27px;
  padding-left: 26px;
}

.article-content li {
  margin: 7px 0;
  padding-left: 4px;
}

.article-content code {
  padding: 2px 6px;
  border-radius: 4px;
  background: #e9ebe4;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .86em;
}

.article-content pre {
  margin: 31px 0;
  padding: 25px;
  overflow: auto;
  border-radius: 8px;
  background: #27332d;
  color: #e4e9e2;
}

.article-content pre code {
  padding: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.8;
}

.article-content hr {
  margin: 48px auto;
  width: 60px;
  border: 0;
  border-top: 1px solid #b7b9b0;
}

.article-footer {
  margin-top: 60px;
  padding-top: 25px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #858980;
  font-size: 11px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tag {
  padding: 4px 10px;
  border: 1px solid #d8d8ce;
  border-radius: 999px;
  color: #667066;
}

.article-end {
  padding: 85px 0 0;
  text-align: center;
}

.end-mark {
  color: var(--green);
  font-family: var(--serif);
  font-size: 40px;
}

.article-end p {
  margin: 4px 0 25px;
  color: #7b8279;
  font-family: var(--serif);
  font-size: 13px;
}

/* Login */
.login-page {
  min-height: 100vh;
  background: var(--card);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr);
}

.login-visual {
  position: relative;
  min-height: 640px;
  padding: 42px 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 14%, rgba(206, 197, 155, .14), transparent 24rem),
    #263a30;
  color: #f4f1e8;
}

.login-visual .brand-mark {
  border-color: rgba(240, 237, 223, .6);
  color: #ece8dc;
}

.login-brand small {
  color: rgba(240, 237, 223, .5);
}

.login-quote {
  position: absolute;
  top: 42%;
  left: 12%;
  z-index: 3;
}

.quote-mark {
  display: block;
  height: 55px;
  color: #8fa28f;
  font-family: Georgia, serif;
  font-size: 78px;
  line-height: 1;
}

.login-quote p {
  margin: 16px 0 24px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.7;
  letter-spacing: .04em;
}

.quote-line {
  display: block;
  width: 50px;
  height: 1px;
  background: #95a391;
}

.login-scenery {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 43%;
}

.scenery-moon {
  position: absolute;
  top: -190px;
  right: 15%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #d8d0ac;
  opacity: .7;
  box-shadow: 0 0 70px rgba(216, 208, 172, .18);
}

.scenery-hill {
  position: absolute;
  bottom: -170px;
  border-radius: 50% 50% 0 0;
}

.scenery-hill.back {
  left: -10%;
  width: 90%;
  height: 360px;
  background: #304f3e;
  transform: rotate(8deg);
}

.scenery-hill.front {
  right: -17%;
  width: 100%;
  height: 320px;
  background: #1d3428;
  transform: rotate(-8deg);
}

.scenery-grass {
  position: absolute;
  right: 12%;
  bottom: 81px;
  width: 110px;
  height: 100px;
  border-left: 1px solid rgba(214, 219, 198, .26);
  border-radius: 50%;
  transform: rotate(-40deg);
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 8vw;
  background: #fbf9f3;
}

.login-card {
  width: min(390px, 100%);
}

.login-back {
  display: inline-block;
  margin-bottom: 65px;
  color: #83887f;
  font-size: 12px;
}

.login-card h1 {
  margin: 11px 0 9px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
}

.login-intro {
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 13px;
}

.login-form {
  display: grid;
  gap: 21px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: #525c54;
  font-size: 12px;
  font-weight: 600;
}

.login-form input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #d6d4c9;
  border-radius: 6px;
  outline: none;
  background: #fffefa;
  transition: border .2s ease, box-shadow .2s ease;
}

.login-form input:focus {
  border-color: #75907e;
  box-shadow: 0 0 0 3px rgba(83, 120, 97, .1);
}

.login-form .button {
  margin-top: 6px;
  justify-content: space-between;
}

.login-hint {
  margin-top: 28px;
  color: #9a9c94;
  font-size: 10px;
}

.alert {
  margin: 0 0 22px;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 13px;
}

.alert-error {
  border: 1px solid #e3cBC4;
  background: #fff4f1;
  color: #934b42;
}

.alert-success {
  border: 1px solid #c6d8c8;
  background: #f0f6ed;
  color: #3d694e;
}

/* Admin */
.admin-page {
  min-height: 100vh;
  background: #f3f2ed;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 70px;
  padding: 12px 3.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #dddcd5;
  background: rgba(250, 249, 245, .93);
  backdrop-filter: blur(14px);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.admin-brand strong {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .08em;
}

.admin-brand small {
  color: #8a8e86;
  font-size: 9px;
  letter-spacing: .12em;
}

.admin-nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-user {
  margin-left: 10px;
  padding-left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid #deddd7;
}

.avatar {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dfe8dc;
  color: var(--green);
  font-family: var(--serif);
  font-size: 12px;
}

.admin-username {
  font-size: 12px;
}

.admin-user form {
  margin: 0;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8b8d86;
  font-size: 11px;
}

.admin-shell {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 46px 0 80px;
}

.admin-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 31px;
}

.admin-title-row h1,
.editor-header h1 {
  margin: 5px 0 1px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
}

.admin-title-row p {
  margin: 0;
  color: #858981;
  font-size: 12px;
}

.today-label {
  color: #92958e;
  font-size: 10px;
  letter-spacing: .08em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.stat-card {
  position: relative;
  min-height: 126px;
  padding: 23px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #deddd6;
  border-radius: 9px;
  background: #fbfaf6;
}

.stat-card > div {
  display: flex;
  flex-direction: column;
}

.stat-card > div span {
  color: #7f837b;
  font-size: 11px;
}

.stat-card strong {
  margin-top: 2px;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.4;
}

.stat-card small {
  position: absolute;
  right: 21px;
  bottom: 16px;
  color: #a2a49d;
  font-size: 9px;
}

.stat-icon {
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #ecece6;
  color: #6e766f;
  font-family: var(--serif);
  font-size: 13px;
}

.stat-featured {
  border-color: #304f3f;
  background: #304f3f;
  color: #f7f4ea;
}

.stat-featured > div span,
.stat-featured small {
  color: rgba(247, 244, 234, .64);
}

.stat-featured .stat-icon {
  background: rgba(255, 255, 255, .1);
  color: #f7f4ea;
}

.admin-posts {
  margin-top: 24px;
  border: 1px solid #deddd6;
  border-radius: 9px;
  background: #fbfaf6;
  overflow: hidden;
}

.admin-section-heading {
  min-height: 82px;
  padding: 19px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e2e0d9;
}

.admin-section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
}

.admin-section-heading > div:first-child span {
  color: #999b95;
  font-size: 10px;
}

.admin-heading-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}

.admin-search {
  min-width: 190px;
  padding: 5px 4px;
}

.table-wrap {
  overflow-x: auto;
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.post-table th {
  padding: 11px 16px;
  background: #f5f4ef;
  color: #93968f;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .07em;
  text-align: left;
  white-space: nowrap;
}

.post-table td {
  padding: 15px 16px;
  border-top: 1px solid #e7e5df;
  vertical-align: middle;
}

.post-table tbody tr:first-child td {
  border-top: 0;
}

.post-table tbody tr:hover {
  background: #f6f5f0;
}

.table-title {
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.table-thumb {
  width: 39px;
  height: 39px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #e7ede3;
  color: var(--green);
  font-family: var(--serif);
  font-size: 14px;
}

.table-thumb.tone-amber { background: #f0e6d7; color: var(--amber); }
.table-thumb.tone-blue { background: #e2e9ea; color: var(--blue); }
.table-thumb.tone-rose { background: #eee2e0; color: var(--rose); }
.table-thumb.tone-violet { background: #e9e3eb; color: var(--violet); }

.table-title > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.table-title a {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-title a:hover {
  color: var(--green);
}

.table-title small {
  overflow: hidden;
  max-width: 280px;
  color: #a2a39e;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-category {
  color: #69716a;
  font-size: 11px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
}

.status-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.status-published {
  background: #e7f0e6;
  color: #457058;
}

.status-published i {
  background: #57926f;
}

.status-draft {
  background: #efeee8;
  color: #83857f;
}

.status-draft i {
  background: #a6a89f;
}

.muted-cell {
  color: #7e827b;
  white-space: nowrap;
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.row-actions form {
  margin: 0;
}

.icon-button {
  width: 29px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #6c736c;
  font-size: 13px;
}

.icon-button:hover {
  border-color: #d8d7d0;
  background: #f0efe9;
}

.icon-button.danger:hover {
  border-color: #e0c4bf;
  background: #fff4f1;
  color: #a04e44;
}

/* Editor */
.editor-page {
  background: #f3f2ed;
}

.editor-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 38px 0 80px;
}

.editor-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.editor-header h1 {
  margin-top: 9px;
}

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

.save-state {
  margin-right: 8px;
  color: #969990;
  font-size: 10px;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 20px;
}

.editor-main {
  min-width: 0;
}

.editor-card {
  padding: 26px;
  border: 1px solid #deddd6;
  border-radius: 9px;
  background: #fbfaf6;
}

.editor-sidebar {
  display: grid;
  gap: 15px;
}

.side-card {
  padding: 21px;
}

.side-card h2 {
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field + .field {
  margin-top: 20px;
}

.field > span {
  color: #59615a;
  font-size: 11px;
  font-weight: 600;
}

.field > span small {
  margin-left: 5px;
  color: #a0a29b;
  font-size: 9px;
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8d6ce;
  border-radius: 5px;
  outline: none;
  background: #fffefa;
  font-size: 13px;
  resize: vertical;
  transition: border .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #78927f;
  box-shadow: 0 0 0 3px rgba(65, 104, 79, .08);
}

.field-title input {
  padding: 6px 0 13px;
  border: 0;
  border-bottom: 1px solid #dedcd4;
  border-radius: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
}

.field-title input:focus {
  border-color: #78927f;
  box-shadow: none;
}

.field-content {
  margin-top: 28px;
}

.field-content textarea {
  min-height: 520px;
  padding: 18px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.95;
}

.checkbox-field {
  margin-top: 18px;
  padding-top: 17px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid #e5e2db;
}

.checkbox-field input {
  margin-top: 3px;
  accent-color: var(--green);
}

.checkbox-field span {
  display: flex;
  flex-direction: column;
}

.checkbox-field strong {
  font-size: 11px;
}

.checkbox-field small {
  color: #969990;
  font-size: 9px;
}

.danger-card {
  border-color: #e1d3cf;
}

.danger-card p {
  margin: -9px 0 15px;
  color: #96948f;
  font-size: 10px;
}

.danger-card .button {
  width: 100%;
  min-height: 36px;
  font-size: 11px;
}

/* Not found */
.notfound-shell {
  width: min(680px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 130px;
  text-align: center;
}

.notfound-art {
  position: relative;
  width: 210px;
  height: 170px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notfound-art strong {
  position: relative;
  z-index: 2;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 70px;
  font-weight: 400;
  letter-spacing: -.08em;
}

.notfound-circle {
  position: absolute;
  inset: 4px 20px;
  border: 1px solid #bcc8b9;
  border-radius: 48% 52% 41% 59% / 53% 44% 56% 47%;
  transform: rotate(-7deg);
}

.notfound-leaf {
  position: absolute;
  right: 18px;
  top: 8px;
  color: var(--green);
  font-size: 32px;
}

.notfound-shell h1 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 40px;
}

.notfound-shell p {
  margin: 0 0 30px;
  color: var(--ink-soft);
}

@media (max-width: 1000px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 65px;
  }

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

  .featured-card {
    width: min(650px, 100%);
    justify-self: center;
  }

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

  .login-shell {
    grid-template-columns: .8fr 1.2fr;
  }

  .login-quote {
    left: 9%;
  }

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

  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 17px 0;
  }

  .nav-shell,
  .footer-inner,
  .hero-section,
  .archive-hero {
    width: min(100% - 32px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 77px;
    right: 16px;
    left: 16px;
    padding: 19px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-admin-link {
    text-align: center;
  }

  .hero-section {
    min-height: auto;
    padding: 52px 0 65px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .featured-art {
    height: 230px;
  }

  .featured-body {
    min-height: 235px;
    padding: 27px 25px 30px;
  }

  .featured-body h2 {
    margin-right: 0;
    font-size: 24px;
  }

  .read-arrow {
    right: 25px;
    bottom: 25px;
  }

  .content-section {
    padding: 60px 16px 70px;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 23px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 29px;
  }

  .search-form {
    min-width: 0;
  }

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

  .post-card {
    min-height: 280px;
  }

  .about-section {
    padding: 65px 20px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-decoration {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .article-shell {
    width: calc(100% - 36px);
    padding-top: 40px;
  }

  .article-header {
    padding-top: 35px;
  }

  .article-header h1 {
    font-size: 36px;
  }

  .article-content {
    font-size: 16px;
  }

  .article-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .tag-list {
    justify-content: flex-start;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
    padding: 42px 24px;
  }

  .login-card {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
  }

  .login-back {
    margin-bottom: 45px;
  }

  .admin-header {
    padding: 10px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-nav-actions {
    width: 100%;
    overflow-x: auto;
  }

  .admin-shell,
  .editor-shell {
    width: calc(100% - 28px);
    padding-top: 28px;
  }

  .admin-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .stat-card {
    min-height: 114px;
    padding: 17px;
  }

  .stat-card strong {
    font-size: 25px;
  }

  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-heading-actions {
    width: 100%;
    justify-content: space-between;
  }

  .admin-search {
    min-width: 0;
    flex: 1;
  }

  .editor-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .editor-header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .save-state {
    width: 100%;
  }

  .editor-layout {
    grid-template-columns: 1fr;
  }

  .editor-card {
    padding: 19px;
  }

  .field-content textarea {
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
