:root {
  --bg: #f3ece4;
  --ink: #1c1917;
  --muted: #6b635c;
  --line: #d9cfc4;
  --accent: #b33a2b;
  --paper: #faf6f1;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: "Work Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; background: rgba(243,236,228,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.brand { font-family: "Shippori Mincho", serif; letter-spacing: .18em; font-size: 13px; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-links a.active, .nav-links a:hover { color: var(--accent); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 48px 24px 96px; }
.year-mark {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: .2em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 10px;
}
h1 { font-family: "Shippori Mincho", serif; font-weight: 700; font-size: clamp(40px, 7vw, 72px); line-height: .95; }
.lede { max-width: 560px; margin-top: 18px; color: var(--muted); font-weight: 300; line-height: 1.6; overflow-wrap: anywhere; }

.section { margin-top: 80px; }
.section h2 { font-family: "Shippori Mincho", serif; font-size: 28px; margin-bottom: 8px; }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section p { color: var(--muted); max-width: 620px; line-height: 1.65; margin-bottom: 28px; overflow-wrap: anywhere; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--paper); }
.card figcaption { padding: 10px 2px 0; font-size: 12px; color: var(--muted); }

.years { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 48px; }
.year-card {
  border: 1px solid var(--line); padding: 28px 22px; min-height: 160px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.year-card strong { font-family: "Shippori Mincho", serif; font-size: 32px; }
.year-card span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.year-card:hover { border-color: var(--accent); }

.hero { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.torii { width: 54px; height: 36px; margin-bottom: 28px; }
.sub { letter-spacing: .22em; font-size: 12px; color: var(--muted); margin-top: 14px; text-transform: uppercase; }

form { display: grid; gap: 12px; max-width: min(480px, 100%); }
input, textarea {
  background: var(--paper); border: 1px solid var(--line);
  padding: 12px 14px; font: inherit; color: var(--ink);
  width: 100%; max-width: 100%;
  overflow-wrap: anywhere;
}
textarea { min-height: 140px; resize: vertical; }
button { background: var(--ink); color: var(--bg); border: 0; padding: 12px 18px; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; cursor: pointer; width: fit-content; }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); margin-left: 8px; }
button:disabled { opacity: .5; cursor: wait; }
.honey { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { font-size: 13px; line-height: 1.5; max-width: 480px; overflow-wrap: anywhere; min-height: 1.5em; }
.form-status.is-ok { color: #2f6b3c; }
.form-status.is-error { color: var(--accent); }
.wall-empty { color: var(--muted); }
.note { border-top: 1px solid var(--line); padding: 18px 0; max-width: 620px; }
.note b { font-family: "Shippori Mincho", serif; }
.note small { color: var(--muted); display: block; margin-top: 4px; }
.note p { margin: 8px 0 12px; color: var(--muted); overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); padding: 28px; text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
