:root {
  --cream: #f6edda;
  --cream-deep: #ebe2cd;
  --paper: #fff8ec;
  --ink: #1b332b;
  --ink-soft: #3d4f47;
  --muted: #6b6558;
  --line: #d9cdb3;
  --button: #1b332b;
  --button-text: #f6edda;
  --button-hover: #274a40;
  --shadow: 0 1px 2px rgba(27, 51, 43, 0.06), 0 8px 20px rgba(27, 51, 43, 0.07);
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--cream);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
  background:
    radial-gradient(1200px 400px at 50% -80px, rgba(27, 51, 43, 0.06), transparent 60%),
    var(--cream);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }

.wrap {
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.brand {
  text-align: center;
  margin-bottom: 28px;
}

.brand img {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  background: var(--cream-deep);
}

.brand h1 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

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

.section {
  margin: 8px 0 28px;
}

.section-head {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section--gifts {
  margin-top: 36px;
  opacity: 0.98;
}

.section--gifts .section-head h2 {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.book {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin: 0 0 10px;
  box-shadow: var(--shadow);
}

.book img {
  width: 92px;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  background: var(--cream-deep);
  box-shadow: 0 1px 3px rgba(27, 51, 43, 0.18);
}

.book h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.btn:hover { background: var(--button-hover); }
.btn:focus-visible,
.stores a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
}

.stores a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 7px;
  border-radius: 999px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.stores a:hover { text-decoration: underline; }

.stores a[aria-current="true"] {
  background: var(--cream-deep);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.stores .sep {
  color: var(--line);
  padding: 0 1px;
  user-select: none;
}

.stores [data-store="in"],
.stores [data-store="jp"] {
  display: none;
}

html[data-store="in"] .stores [data-store="in"],
html[data-store="jp"] .stores [data-store="jp"] {
  display: inline-flex;
}

.foot {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.foot p { margin: 0; }

@media (min-width: 420px) {
  .book { grid-template-columns: 104px 1fr; }
  .book img { width: 104px; }
}

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