:root{
  --bg: #fffaf2;
  --paper: rgba(255,255,255,.78);
  --ink: #1f1f1f;
  --muted: rgba(0,0,0,.62);
  --line: rgba(0,0,0,.10);
  --radius: 18px;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: "Garamond", "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.75;

  /* Bright, gentle background texture (no images needed) */
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(200,107,74,.18), transparent 60%),
    radial-gradient(900px 420px at 85% 8%, rgba(90,140,180,.18), transparent 60%),
    linear-gradient(0deg, rgba(0,0,0,.02), rgba(0,0,0,.02)),
    var(--bg);
}

.site-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 18px 14px;
}

.header-link{
  display: inline-block;
}

.header-image{
  display: block;
  margin: 0 auto 15px;
  width: min(600px, 92vw);
  max-width: 100%;
  height: auto;
}

.site-title{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tagline{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.nav{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
}

.nav a{
  text-decoration: none;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  font-weight: 600;
  transition: transform .12s ease, background .12s ease;
}

.nav a:hover{
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
}

.nav a.active{
  box-shadow: 0 0 0 3px rgba(200,107,74,.14);
  border-color: rgba(200,107,74,.45);
}

.container{
  max-width: 980px;
  margin: 18px auto 0;
  padding: 0 18px 60px;
}

.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  backdrop-filter: blur(6px);
  margin-top: 18px;
}

h2{
  margin: 0 0 12px;
  font-weight: 500;
}

.about{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

.author-photo{
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  display: block;
}

.covers{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.cover-card{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.cover-card img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.cover-meta{
  margin-top: 10px;
}

.cover-title{
  font-weight: 700;
}

.cover-note{
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 2px;
}

.footer{
  text-align: center;
  padding: 26px 18px 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 820px){
  .about{ grid-template-columns: 1fr; }
  .author-photo{ max-width: 320px; margin: 0 auto; }
  .covers{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px){
  .covers{ grid-template-columns: 1fr; }
}
