:root {
  --ink: #103e34;
  --ink-deep: #0a3028;
  --teal: #2b847b;
  --teal-soft: #dce9e4;
  --paper: #f6f7f2;
  --white: #fff;
  --body: #53665f;
  --line: rgba(16, 62, 52, 0.14);
  --amber: #d49a39;
  --danger: #9a4d3f;
  --serif: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 22px 55px rgba(13, 48, 40, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.8;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.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: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 10px clamp(22px, 5vw, 82px);
  border-bottom: 1px solid rgba(16, 62, 52, 0.1);
  background: rgba(246, 247, 242, 0.9);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(16, 62, 52, 0.23);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
}
.brand > span:last-child { display: grid; }
.brand strong { font-family: var(--serif); font-size: 16px; letter-spacing: .08em; }
.brand small { color: var(--teal); font-family: var(--mono); font-size: 7px; letter-spacing: .18em; }
.site-header nav { display: flex; gap: 30px; font-size: 12px; }
.site-header nav a { position: relative; padding: 9px 0; }
.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transition: transform .25s ease;
}
.site-header nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.line-button, .primary-button, .icon-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}
.line-button { padding: 0 16px; }
.primary-button { padding: 0 17px; border-color: var(--ink); background: var(--ink); color: white; }
.icon-button { position: relative; width: 38px; padding: 0; font-size: 20px; }
.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--amber);
  color: white;
  font-size: 9px;
  line-height: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.hero-copy {
  align-self: center;
  padding: 90px clamp(28px, 7vw, 118px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: #72b6aa; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.2vw, 94px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.035em;
}
.hero-lead {
  max-width: 620px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, .65);
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 20px);
}
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 42px; }
.primary-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 170px;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.soft-link { color: rgba(255, 255, 255, .64); font-size: 12px; }
.hero-orbit {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 48%, rgba(212, 154, 57, .16), transparent 7%),
    linear-gradient(155deg, rgba(69, 134, 118, .24), transparent 60%);
}
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(142, 196, 181, .23);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 190px; height: 190px; }
.orbit-2 { width: 340px; height: 340px; }
.orbit-3 { width: 510px; height: 510px; }
.orbit-4 { width: 730px; height: 730px; }
.orbit-2::after, .orbit-3::after {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(142, 196, 181, .16);
  border-radius: 45% 55% 49% 51%;
  content: "";
  transform: rotate(32deg);
}
.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(142, 196, 181, .4);
  border-radius: 50%;
  background: rgba(9, 47, 38, .76);
  box-shadow: 0 0 45px rgba(212, 154, 57, .17);
  font-family: var(--serif);
  font-size: 46px;
  transform: translate(-50%, -50%);
}
.star { position: absolute; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 25px var(--amber); }
.star-a { top: 33%; left: 68%; }
.star-b { top: 69%; left: 33%; width: 7px; height: 7px; }
.hero-orbit > p {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  margin: 0;
  color: rgba(255, 255, 255, .38);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  text-align: center;
}

.community-strip {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  padding: 70px clamp(28px, 7vw, 118px);
  border-bottom: 1px solid var(--line);
  background: #eef2ee;
}
.community-strip h2, .section-heading h2, .guestbook h2, .about h2, .newsletter h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 500;
  line-height: 1.35;
}
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role-grid article { display: grid; align-content: start; gap: 5px; padding-top: 14px; border-top: 1px solid var(--line); }
.role-grid b { color: var(--amber); font-family: var(--mono); font-size: 10px; }
.role-grid strong { font-family: var(--serif); font-size: 17px; }
.role-grid span { color: var(--body); font-size: 11px; }

.directions, .notes { padding: 100px clamp(28px, 5vw, 82px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 42px; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--body); font-family: var(--serif); font-size: 15px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.category-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 13px 35px rgba(16, 62, 52, .05);
}
.card-art {
  position: relative;
  height: 180px;
  overflow: hidden;
  background:
    repeating-radial-gradient(ellipse at 52% 52%, transparent 0 13px, rgba(205, 230, 220, .28) 14px 15px),
    #16564a;
}
.category-card:nth-child(2) .card-art { background-color: #846226; }
.category-card:nth-child(3) .card-art { background-color: #2d7265; }
.category-card:nth-child(4) .card-art { background-color: #544f40; }
.card-art::before {
  position: absolute;
  top: -40%;
  left: 62%;
  width: 1px;
  height: 180%;
  background: rgba(255, 255, 255, .35);
  box-shadow: 0 0 20px rgba(255, 255, 255, .2);
  content: "";
  transform: rotate(31deg);
}
.card-art::after {
  position: absolute;
  top: 52%;
  left: 63%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 18px rgba(212, 154, 57, .12);
  content: "";
}
.card-art span { position: absolute; z-index: 1; top: 22px; left: 25px; color: white; font-family: var(--mono); font-size: 10px; }
.card-copy { display: grid; min-height: 365px; padding: 28px 26px 24px; }
.card-kicker { margin: 0; color: var(--teal); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.card-copy h3 { margin: 17px 0 12px; font-family: var(--serif); font-size: 27px; font-weight: 500; }
.card-summary { margin: 0; color: var(--body); font-family: var(--serif); font-size: 13px; }
.card-latest { align-self: end; margin-top: 27px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-latest small { display: block; color: #80908a; font-size: 9px; }
.card-latest strong { display: block; margin-top: 5px; font-size: 11px; line-height: 1.55; }
.card-copy button { align-self: end; width: fit-content; margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-weight: 700; }

.notes { background: #edf2ee; }
.search-box {
  display: flex;
  align-items: center;
  min-width: 290px;
  height: 48px;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
}
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-row button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-size: 10px;
}
.filter-row button.active { border-color: var(--ink); background: var(--ink); color: white; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.post-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 15px 35px rgba(16, 62, 52, .05);
}
.post-cover {
  position: relative;
  height: 150px;
  overflow: hidden;
  background:
    repeating-radial-gradient(ellipse at 53% 50%, transparent 0 14px, rgba(208, 231, 222, .3) 15px 16px),
    #1b5b4f;
}
.post-card:nth-child(3n+2) .post-cover { background-color: #98702a; }
.post-card:nth-child(3n) .post-cover { background-color: #3f7167; }
.post-cover img, .post-cover video { width: 100%; height: 100%; object-fit: cover; }
.post-cover span { position: absolute; top: 18px; left: 20px; color: white; font-family: var(--mono); font-size: 9px; }
.post-body { display: flex; flex: 1; flex-direction: column; padding: 28px 26px 22px; }
.post-meta { display: flex; justify-content: space-between; color: var(--teal); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.post-body h3 { margin: 20px 0 14px; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.45; }
.post-body > p { margin: 0; color: var(--body); font-family: var(--serif); font-size: 13px; }
.post-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.post-footer small { color: #87968f; }
.post-footer div { display: flex; gap: 13px; }
.text-button { padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.text-button.danger { color: var(--danger); }
.empty-state { padding: 42px; border: 1px dashed var(--line); border-radius: 18px; color: #7b8c85; text-align: center; }
.post-grid > .empty-state { grid-column: 1 / -1; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 38px; }
.pagination button {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 10px;
}
.pagination button.active { border-color: var(--ink); background: var(--ink); color: white; }
.pagination button:disabled { cursor: not-allowed; opacity: .4; }

.guestbook {
  position: relative;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: 70px;
  padding: 100px clamp(28px, 7vw, 118px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 22%, rgba(58, 141, 133, .12), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(212, 154, 57, .09), transparent 27%),
    linear-gradient(145deg, #edf4ef, #f7f8f3 58%, #edf3ef);
  color: var(--ink);
}
.guestbook::after {
  position: absolute;
  bottom: -260px;
  left: -170px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(16, 62, 52, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(16, 62, 52, .018), 0 0 0 96px rgba(16, 62, 52, .012);
  content: "";
  pointer-events: none;
}
.guestbook-intro, .guestbook-panel { position: relative; z-index: 1; }
.guestbook-intro > p:not(.eyebrow) { max-width: 500px; margin: 22px 0 0; color: var(--body); font-family: var(--serif); line-height: 2; }
.guestbook-promise {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 500px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.guestbook-promise > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: var(--serif);
  font-size: 15px;
}
.guestbook-promise p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.guestbook-promise strong { font-size: 11px; }
.guestbook-promise small { color: #7b8984; font-size: 9px; line-height: 1.7; }
.light-button {
  margin-top: 22px;
  padding: 11px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
}
.guestbook-panel {
  min-width: 0;
  min-height: 360px;
  padding: 32px;
  border: 1px solid rgba(16, 62, 52, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 26px 70px rgba(16, 62, 52, .11);
  backdrop-filter: blur(14px);
}
.guestbook-panel-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.guestbook-panel-seal {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(212, 154, 57, .3);
  border-radius: 50%;
  background: rgba(212, 154, 57, .1);
  color: #875e22;
  font-family: var(--serif);
  font-size: 17px;
  box-shadow: 0 0 0 8px rgba(212, 154, 57, .04);
}
.guestbook-panel-heading > div { min-width: 0; }
.guestbook-panel-heading p { margin: 0 0 3px; color: var(--teal); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.guestbook-panel-heading h3 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.45; }
.guestbook-panel-heading small { display: block; margin-top: 3px; color: #7e8c86; font-size: 9px; line-height: 1.6; }
.guestbook-panel-count {
  align-self: start;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}
.guestbook-form {
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 12px 32px rgba(16, 62, 52, .055);
}
.guestbook-form label { display: block; margin-bottom: 9px; color: var(--ink); font-family: var(--serif); font-size: 17px; }
.guestbook-form textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: #f8faf7;
  color: var(--ink);
  line-height: 1.8;
}
.guestbook-form textarea:focus, .reply-inline textarea:focus { border-color: rgba(43, 132, 123, .55); box-shadow: 0 0 0 4px rgba(43, 132, 123, .08); }
.guestbook-form textarea::placeholder, .reply-inline textarea::placeholder { color: #9aa6a1; }
.guestbook-form footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.guestbook-form small { color: #89958f; }
.guestbook-form button { padding: 9px 14px; border: 0; border-radius: 9px; background: var(--ink); color: white; cursor: pointer; }
.thread-list { display: grid; max-height: 720px; gap: 16px; overflow: auto; padding: 2px 5px 2px 0; }
.message-thread {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 28px rgba(16, 62, 52, .045);
}
.message-thread-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: #8b9792; font-family: var(--mono); font-size: 7px; letter-spacing: .1em; }
.message-thread-heading small { font-family: inherit; font-size: inherit; letter-spacing: 0; }
.message-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  padding: 13px;
  border-radius: 11px;
}
.message-root { padding: 3px 0 14px; }
.message-reply-item {
  margin-top: 9px;
  margin-left: 34px;
  border-left: 2px solid rgba(43, 132, 123, .28);
  border-radius: 0 11px 11px 0;
  background: rgba(220, 233, 228, .34);
}
.message-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #9baa9f, #596b63);
  color: white;
  font-family: var(--serif);
  font-size: 12px;
}
.message-item.admin .message-avatar { background: linear-gradient(145deg, #d49a39, #755326); }
.message-item.member .message-avatar { background: linear-gradient(145deg, var(--teal), var(--ink)); }
.message-copy { min-width: 0; }
.message-copy header, .comment-item header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.message-copy strong { color: var(--ink); font-size: 10px; }
.message-copy strong small { margin-left: 5px; padding: 2px 5px; border-radius: 999px; background: rgba(16, 62, 52, .07); color: #74827c; font-size: 7px; font-weight: 500; }
.message-copy time { color: #929d98; font-size: 8px; white-space: nowrap; }
.message-copy > p { margin: 7px 0 0; color: #40554c; font-family: var(--serif); font-size: 12px; line-height: 1.9; white-space: pre-wrap; }
.reply-inline { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.reply-inline label { display: flex; flex-direction: column; gap: 7px; }
.reply-inline label > span { color: #596a63; font-size: 9px; font-weight: 700; }
.reply-inline textarea { width: 100%; min-height: 72px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #f8faf7; color: var(--ink); line-height: 1.7; resize: vertical; }
.reply-inline footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.reply-inline footer small { color: #8b9792; font-size: 8px; }
.reply-inline button { padding: 8px 12px; border: 0; border-radius: 8px; background: var(--ink); color: white; cursor: pointer; }
.guestbook-empty { display: grid; min-height: 190px; place-items: center; align-content: center; gap: 12px; padding: 26px; color: #88958f; text-align: center; }
.guestbook-empty > span { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-family: var(--serif); font-size: 17px; }
.guestbook-empty p { max-width: 320px; margin: 0; font-size: 10px; line-height: 1.8; }

.about {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 90px;
  padding: 110px clamp(28px, 9vw, 150px);
  background: #0e4035;
  color: white;
}
.about-art { display: grid; place-items: center; }
.about-rings {
  display: grid;
  width: min(37vw, 470px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(126, 185, 168, .22);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 27px, rgba(126, 185, 168, .16) 28px 30px);
}
.about-rings span { display: grid; width: 100px; height: 100px; place-items: center; border-radius: 50%; background: rgba(0, 20, 15, .16); font-family: var(--serif); font-size: 55px; }
.about-art small { margin-top: 16px; color: rgba(255, 255, 255, .35); font-family: var(--mono); letter-spacing: .4em; }
.about-copy p:not(.eyebrow) { color: rgba(255, 255, 255, .62); font-family: var(--serif); }
.about-copy .about-lead { margin-top: 30px; color: rgba(255, 255, 255, .85); font-size: 18px; }
.about-copy blockquote { margin: 35px 0 0; padding: 12px 0 12px 25px; border-left: 2px solid var(--amber); font-family: var(--serif); font-size: 18px; }

.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(390px, .82fr);
  align-items: center;
  gap: 80px;
  padding: 90px clamp(28px, 8vw, 140px);
  background: #e9efeb;
}
.newsletter > div > p:not(.eyebrow) { color: var(--body); font-family: var(--serif); }
.status-chip { display: inline-flex; margin-top: 8px; padding: 5px 10px; border: 1px solid rgba(155, 108, 35, .22); border-radius: 999px; background: rgba(212, 154, 57, .08); color: #80591f; font-size: 9px; }
.subscribe-area { display: grid; gap: 9px; }
.subscribe-form { display: grid; grid-template-columns: 1fr auto; padding: 6px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .75); box-shadow: var(--shadow); }
.subscribe-form input { min-width: 0; padding: 0 16px; border: 0; outline: 0; background: transparent; }
.subscribe-form button { min-width: 140px; height: 48px; border: 0; border-radius: 9px; background: var(--ink); color: white; cursor: pointer; }
.subscribe-area > small { padding-left: 7px; color: #72837c; font-size: 9px; }
.form-message { margin: 0; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .55); font-size: 10px; }
.form-message.error { border-color: rgba(154, 77, 63, .25); color: var(--danger); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; padding: 32px clamp(28px, 5vw, 82px); background: #092d25; color: rgba(255, 255, 255, .46); font-size: 10px; }
.site-footer div { display: flex; align-items: baseline; gap: 12px; }
.site-footer strong { color: white; font-family: var(--serif); font-size: 17px; }
.site-footer p { text-align: center; }
.site-footer > a { justify-self: end; color: white; }

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 28px;
  place-items: center;
  background: rgba(3, 24, 19, .72);
  backdrop-filter: blur(10px);
}
.modal-shell {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .28);
}
.modal-shell.wide { width: min(1180px, 100%); }
.modal-close {
  position: sticky;
  z-index: 2;
  top: 14px;
  float: right;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 14px 14px -52px 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(246, 247, 242, .9);
  cursor: pointer;
  font-size: 24px;
}
.modal-content { padding: 54px; }
.modal-content h2 { margin: 0; font-family: var(--serif); font-size: 38px; font-weight: 500; }
.modal-lead { color: var(--body); }
.auth-tabs { display: flex; gap: 8px; margin: 28px 0 22px; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 9px 15px; border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; }
.auth-tabs button.active { border-bottom-color: var(--teal); color: var(--ink); font-weight: 700; }
.stack-form { display: grid; gap: 14px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.stack-form label { display: grid; gap: 6px; color: var(--body); font-size: 10px; }
.stack-form input, .stack-form textarea, .stack-form select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: white;
  color: var(--ink);
}
.stack-form textarea { min-height: 150px; resize: vertical; }
.stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43, 132, 123, .08); }
.submit-button { min-height: 48px; border: 0; border-radius: 10px; background: var(--ink); color: white; cursor: pointer; font-weight: 700; }
.submit-button:disabled { cursor: wait; opacity: .6; }
.security-group { display: grid; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #edf2ee; }
.security-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.error-note { margin: 0; color: var(--danger); font-size: 11px; }

.article-view { padding: 65px clamp(26px, 7vw, 85px); }
.article-view header { max-width: 780px; }
.article-view .article-meta { color: var(--teal); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.article-view h2 { margin: 18px 0; font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); font-weight: 500; line-height: 1.35; }
.article-view .article-excerpt { color: var(--body); font-family: var(--serif); font-size: 17px; }
.article-media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 35px 0; }
.article-media img, .article-media video { width: 100%; max-height: 520px; border-radius: 15px; object-fit: contain; background: #dce6e1; }
.article-text { max-width: 760px; margin: 45px auto; font-family: var(--serif); font-size: 17px; line-height: 2.05; white-space: pre-wrap; }
.comment-section { max-width: 760px; margin: 55px auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.comment-section h3 { font-family: var(--serif); font-size: 25px; }
.comment-form { display: flex; gap: 9px; margin-bottom: 25px; }
.comment-form textarea { flex: 1; min-height: 72px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; resize: vertical; }
.comment-form button, .comment-reply-form button { border: 0; border-radius: 9px; background: var(--ink); color: white; cursor: pointer; }
.comment-list, .comment-children { display: grid; gap: 11px; }
.comment-children { margin: 11px 0 0 22px; padding-left: 15px; border-left: 1px solid var(--line); }
.comment-item { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.comment-item header strong { font-size: 11px; }
.comment-item time { color: #83918b; font-size: 9px; }
.comment-item p { margin: 5px 0; white-space: pre-wrap; }
.comment-item > button { padding: 0; border: 0; background: transparent; color: var(--teal); cursor: pointer; font-size: 10px; }
.comment-reply-form { display: flex; gap: 7px; margin-top: 8px; }
.comment-reply-form input { flex: 1; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }

.media-queue { display: grid; gap: 8px; }
.media-row { display: flex; justify-content: space-between; gap: 15px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 10px; }
.media-row progress { width: 130px; }
.management-table { width: 100%; margin-top: 25px; border-collapse: collapse; font-size: 11px; }
.management-table th, .management-table td { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.management-table th { color: var(--body); font-size: 9px; }
.management-table button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; }
.management-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.management-tabs button { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; }
.notification-list { display: grid; gap: 9px; margin-top: 24px; }
.notification-item { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.notification-item.unread { border-left: 3px solid var(--amber); }
.notification-item p { margin: 0; }
.notification-item small { color: #82918a; }
.toast-stack { position: fixed; z-index: 150; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.toast { max-width: 360px; padding: 11px 15px; border-radius: 10px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .25s ease; }
.toast.error { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-orbit { min-height: 500px; }
  .community-strip, .guestbook, .about, .newsletter { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .about-rings { width: min(70vw, 470px); }
}

@media (max-width: 700px) {
  body { font-size: 14px; }
  .site-header { min-height: 68px; padding: 8px 16px; }
  .brand > span:last-child { display: none; }
  .header-actions { gap: 5px; }
  .line-button { max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .primary-button { padding: 0 12px; }
  .hero { min-height: auto; }
  .hero-copy { padding: 75px 22px; }
  .hero h1 { font-size: 47px; }
  .hero-orbit { min-height: 390px; }
  .orbit-4 { width: 530px; height: 530px; }
  .community-strip, .directions, .notes, .guestbook, .about, .newsletter { padding: 72px 20px; }
  .role-grid, .category-grid, .post-grid, .field-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .search-box { width: 100%; min-width: 0; }
  .card-copy { min-height: 330px; }
  .guestbook { gap: 38px; }
  .guestbook-panel { padding: 20px; border-radius: 19px; }
  .guestbook-panel-heading { grid-template-columns: 44px minmax(0, 1fr); }
  .guestbook-panel-seal { width: 44px; height: 44px; }
  .guestbook-panel-count { grid-column: 2; justify-self: start; }
  .thread-list { max-height: none; overflow: visible; padding-right: 0; }
  .message-thread { padding: 15px; }
  .message-reply-item { margin-left: 12px; }
  .message-copy header { align-items: flex-start; flex-direction: column; gap: 2px; }
  .guestbook-form footer, .reply-inline footer { align-items: flex-start; flex-direction: column; }
  .guestbook-form button, .reply-inline button { width: 100%; }
  .newsletter { gap: 35px; }
  .subscribe-form { grid-template-columns: 1fr; gap: 6px; }
  .subscribe-form input { height: 46px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer div { justify-content: center; }
  .site-footer > a { justify-self: center; }
  .modal-backdrop { padding: 10px; }
  .modal-shell { max-height: calc(100vh - 20px); border-radius: 17px; }
  .modal-content, .article-view { padding: 55px 20px 30px; }
  .article-media { grid-template-columns: 1fr; }
  .security-row { grid-template-columns: 1fr; }
  .management-table { display: block; overflow-x: auto; }
}
