.home-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(118, 184, 147, 0.18), transparent 34%),
    linear-gradient(135deg, #f7f7f2 0%, #eef2ec 100%);
}
.home-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(54px, 9vh, 108px) 0 30px;
  display: flex;
  flex-direction: column;
}
.home-header { max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.home-header h1 {
  margin: 20px 0 16px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.home-header p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.8;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(42px, 8vh, 82px);
}
.entry-card {
  position: relative;
  min-height: 290px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(18, 32, 27, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 45px rgba(31, 53, 44, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.entry-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -62px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(20, 107, 75, 0.13);
  border-radius: 50%;
}
.entry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 107, 75, 0.36);
  box-shadow: 0 22px 55px rgba(31, 53, 44, 0.10);
}
.entry-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
}
.entry-index {
  position: absolute;
  top: 27px;
  right: 24px;
  color: #91a099;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.entry-card h2 {
  margin: 44px 0 10px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 600;
}
.entry-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.entry-action {
  position: absolute;
  left: 24px;
  bottom: 23px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.card-video { opacity: 0.74; }
.card-video .entry-icon { background: #ecebe4; color: #73766f; }
.card-video .entry-action { color: #73766f; }
.card-load .entry-icon { background: #f7e8d5; color: #9b5518; }
.card-image .entry-icon { background: #e4e8f8; color: #4357a5; }
.home-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 42px;
  color: #7b8781;
  font-size: 12px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  min-width: 260px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: #18231f;
  color: #fff;
  box-shadow: 0 18px 50px rgba(9, 21, 16, .28);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast strong, .toast span { display: block; }
.toast span { margin-top: 3px; color: #bed0c7; font-size: 12px; }
@media (max-width: 920px) {
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .home-shell { width: min(100% - 24px, 1180px); padding-top: 40px; }
  .entry-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .entry-card { min-height: 230px; }
  .entry-card h2 { margin-top: 28px; }
  .home-footer { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-card, .toast { transition: none; }
}
