/* Soul Remedy — one stylesheet, system fonts only (good Japanese
   coverage without loading anything from third parties). */

:root {
  --bg: #faf7f2;          /* raked sand */
  --surface: #ffffff;
  --ink: #2e2925;
  --muted: #6b625a;
  --line: #e7dfd3;
  --accent: #8a3d75;      /* orchid */
  --accent-soft: #f3e8ef;
  --sky: #5f7f9f;         /* the soft blue of the portrait */
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    "Noto Sans JP", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

:lang(ja) { line-height: 1.9; letter-spacing: 0.02em; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 242, 0.92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand {
  font-family: var(--serif); font-size: 22px; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none;
}
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--accent); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sky); margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5vw, 50px); }
h2 { font-size: clamp(26px, 3.2vw, 32px); }
h3 { font-size: 20px; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-figure {
  border-radius: 50% 50% var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 4 / 5; max-width: 340px; justify-self: end;
  box-shadow: 0 20px 50px -24px rgba(60, 40, 30, 0.35);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.prose { max-width: 40em; }
.prose p { margin: 0 0 1.1em; }
/* A text-only section keeps the page's left edge; only its lines are
   held to reading width. */
.wrap.prose { max-width: 980px; }
.wrap.prose > * { max-width: 40em; }

.contact {
  margin-top: 28px; padding: 18px 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
}
.contact strong { font-weight: 600; }
.address { font-family: var(--serif); font-size: 18px; letter-spacing: 0.02em; }

.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.links a {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font-size: 15px;
}
.links a:hover { border-color: var(--accent); color: var(--accent); }

/* Book */
.book { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.book img { border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(60, 40, 30, 0.45); }
.button {
  display: inline-block; margin-top: 8px; padding: 11px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-size: 15px;
}
.button:hover { background: #73305f; }
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); margin-left: 8px; }

/* Credentials */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 28px; padding: 0; list-style: none; }
.cards li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; font-size: 15px; line-height: 1.55;
}
.cards strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; margin-bottom: 6px; }

/* Japanese section */
.ja { background: var(--surface); }
.ja h2 { font-size: 26px; }
.divider { text-align: center; color: var(--line); letter-spacing: 1.2em; margin: 0; }

/* Decorative strip */
.calm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calm img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Footer */
.site-footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 56px; }
  .brand { font-size: 19px; }
  .nav { gap: 16px; font-size: 14px; }
  .hero { padding: 40px 0 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-figure { justify-self: start; max-width: 220px; order: -1; }
  .section { padding: 40px 0; }
  .book { grid-template-columns: 1fr; gap: 24px; }
  .book img { max-width: 200px; }
  .cards { grid-template-columns: 1fr; }
  .calm { grid-template-columns: 1fr; }
  .button.secondary { margin-left: 0; margin-top: 10px; }
}
