@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Serif+JP:wght@400;500;600&display=swap');

:root {
  --wine: #35080e;
  --wine-deep: #210508;
  --rose: #c82d56;
  --cream: #f5e8ca;
  --paper: #fbf7ef;
  --paper-deep: #efe6d5;
  --ink: #26191a;
  --muted: #6f5d5b;
  --line: rgba(53, 8, 14, 0.16);
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --sans: "DM Sans", "Hiragino Sans", "Yu Gothic", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.8; line-break: strict; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.nobr { white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; color: var(--wine); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.25rem clamp(1.25rem, 4vw, 4.5rem); color: var(--cream); transition: background .35s ease, color .35s ease, padding .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { padding-block: .8rem; background: rgba(251, 247, 239, .94); color: var(--wine); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; white-space: nowrap; }
.brand-mark { font: 600 .92rem/1 var(--serif); letter-spacing: .14em; }
.brand-sub { font-size: .56rem; letter-spacing: .24em; opacity: .75; }
.header-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); font-size: .72rem; font-weight: 600; letter-spacing: .08em; }
.header-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; border-bottom: 1px solid transparent; }
.header-nav a:hover, .header-nav a:focus-visible { border-color: currentColor; }
.language-link { padding: 0 .85rem; border: 1px solid currentColor !important; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); padding: 8rem clamp(1.5rem, 7vw, 8rem) 5rem; overflow: hidden; background: radial-gradient(circle at 74% 35%, rgba(200, 45, 86, .2), transparent 26%), linear-gradient(132deg, #270508 0%, var(--wine) 55%, var(--wine-deep) 100%); color: var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: repeating-linear-gradient(112deg, transparent 0 58px, rgba(245,232,202,.13) 59px 60px); mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.hero-enter { animation: heroEnter .95s cubic-bezier(.22,1,.36,1) both; }
.eyebrow { margin: 0 0 1.25rem; font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.hero h1, .section h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.28; }
.hero h1, .section h2, .quote-section blockquote p { max-width: 100%; text-wrap: balance; line-break: strict; word-break: normal; }
.hero h1 { font-size: clamp(2.7rem, 5.7vw, 6.6rem); }
.english-site .hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.2vw, 7rem); line-height: 1.03; }
.hero-lead { max-width: 650px; margin: 2rem 0 0; color: rgba(245,232,202,.82); font-family: var(--serif); font-size: clamp(1rem, 1.5vw, 1.22rem); }
.english-site .hero-lead { max-width: 590px; font-family: var(--sans); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 3.4rem; padding: .9rem 1.45rem; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .07em; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .header-nav a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.button-primary { background: var(--cream); color: var(--wine); }
.text-link { color: var(--cream); text-underline-offset: .35rem; font-size: .78rem; font-weight: 600; }

.book-stage { position: relative; z-index: 2; width: min(72%, 430px); justify-self: center; transform: translateY(var(--book-shift, 0px)); transition: transform .08s linear; }
.book-cover { position: relative; z-index: 2; width: 100%; box-shadow: 0 40px 90px rgba(0,0,0,.55), -14px 12px 0 rgba(245,232,202,.1); transform: rotate(2.5deg); animation: bookFloat 6s ease-in-out infinite; }
.book-glow { position: absolute; inset: 15% -18% -6%; background: radial-gradient(ellipse, rgba(200,45,86,.42), transparent 66%); filter: blur(26px); }
.book-note { position: absolute; z-index: 3; right: -2.8rem; top: 7%; display: grid; place-items: center; width: 5.4rem; height: 5.4rem; border: 1px solid rgba(245,232,202,.7); border-radius: 50%; text-align: center; font-size: .5rem; line-height: 1.35; letter-spacing: .13em; animation: spin 20s linear infinite; }
.hero-orb { position: absolute; border: 1px solid rgba(245,232,202,.15); border-radius: 50%; }
.hero-orb-one { width: 42vw; aspect-ratio: 1; right: -12vw; top: -20vw; }
.hero-orb-two { width: 18vw; aspect-ratio: 1; left: 37%; bottom: -10vw; }
.scroll-cue { position: absolute; z-index: 2; bottom: 1.5rem; left: clamp(1.5rem, 7vw, 8rem); display: flex; gap: .65rem; align-items: center; font-size: .55rem; letter-spacing: .24em; opacity: .6; }
.scroll-cue span { display: block; width: 2.6rem; height: 1px; background: currentColor; transform-origin: left; animation: pulseLine 2.2s ease-in-out infinite; }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.proof-item { display: flex; flex-direction: column; gap: .3rem; padding: 2rem clamp(1.2rem, 5vw, 5rem); border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { font: 500 clamp(1.2rem, 2.1vw, 2rem)/1.25 var(--serif); color: var(--wine); }
.english-site .proof-item strong { font-family: Georgia, "Times New Roman", serif; }
.proof-item span { color: var(--muted); font-size: .72rem; letter-spacing: .05em; }

.section { position: relative; padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 7vw, 8rem); }
.section h2 { font-size: clamp(2.1rem, 4.2vw, 4.5rem); color: var(--wine); }
.english-site .section h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
.section-number { position: absolute; right: 5vw; top: 2rem; color: rgba(53,8,14,.07); font-size: clamp(7rem, 18vw, 18rem); font-weight: 600; line-height: 1; }
.section-lead { max-width: 700px; margin-top: 1.5rem; color: var(--muted); font-size: 1rem; }
.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 10vw, 10rem); align-items: end; }
.intro-body { max-width: 620px; color: #544647; font-family: var(--serif); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.english-site .intro-body { font-family: var(--sans); }
.intro-body p + p { margin-top: 1.6rem; }

.learn { background: var(--paper-deep); }
.section-heading { max-width: 900px; }
.feature-list { margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: minmax(3rem, .3fr) 1.7fr; gap: 2rem; padding: 2.3rem 0; border-bottom: 1px solid var(--line); }
.feature-index { color: var(--rose); font-size: .7rem; letter-spacing: .15em; }
.feature h3 { margin: 0 0 .6rem; font: 500 clamp(1.4rem, 2.1vw, 2.1rem)/1.4 var(--serif); color: var(--wine); }
.english-site .feature h3 { font-family: Georgia, "Times New Roman", serif; }
.feature p { max-width: 780px; margin: 0; color: var(--muted); }

.observation { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.observation-copy { position: sticky; top: 7rem; }
.observation-copy > p:last-child { max-width: 560px; color: var(--muted); margin-top: 1.5rem; }
.observation-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.observation-steps li { display: grid; grid-template-columns: 3.3rem 1fr; gap: 1.2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.observation-steps span { color: var(--rose); font-size: .7rem; letter-spacing: .15em; }
.observation-steps h3 { margin: 0 0 .5rem; color: var(--wine); font: 500 1.35rem/1.4 var(--serif); }
.english-site .observation-steps h3 { font-family: Georgia, "Times New Roman", serif; }
.observation-steps p { margin: 0; color: var(--muted); }

.quote-section { min-height: 58svh; display: grid; place-items: center; overflow: hidden; background: var(--wine); color: var(--cream); text-align: center; }
.quote-section blockquote { position: relative; z-index: 2; margin: 0; }
.quote-section blockquote p { margin: 0; font: 500 clamp(1.65rem, 3.8vw, 3.9rem)/1.6 var(--serif); }
.english-site .quote-section blockquote p { max-width: 1000px; font-family: Georgia, "Times New Roman", serif; line-height: 1.25; }
.quote-mark { position: absolute; top: -1rem; left: 5vw; color: rgba(245,232,202,.08); font: 400 22rem/1 var(--serif); }
.petal { position: absolute; border: 1px solid rgba(245,232,202,.18); border-radius: 90% 8% 90% 8%; transform: rotate(35deg); }
.petal-one { width: 28vw; aspect-ratio: .7; right: -9vw; top: -12vw; }
.petal-two { width: 17vw; aspect-ratio: .7; left: -4vw; bottom: -8vw; transform: rotate(-18deg); }

.author { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.author-monogram { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 440px; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); font: 500 clamp(3rem, 8vw, 7rem)/1 var(--serif); }
.author-monogram::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(200,45,86,.26); border-radius: 50%; }
.author-copy { max-width: 700px; }
.author-role { margin: 1.2rem 0 2rem; color: var(--rose); font-size: .8rem; font-weight: 600; letter-spacing: .1em; }
.author-copy > p:last-child { color: var(--muted); font-family: var(--serif); }
.english-site .author-copy > p:last-child { font-family: var(--sans); }

.chapters { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(3rem, 8vw, 8rem); background: #f1e8d8; }
.chapters-copy { position: sticky; top: 7rem; align-self: start; }
.chapters-copy > p:not(.eyebrow) { max-width: 530px; color: var(--muted); }
.button-outline { margin-top: 1rem; border: 1px solid var(--wine); color: var(--wine); }
.button-outline:hover { background: var(--wine); color: var(--cream); }
.chapter-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.chapter-list li { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.2rem .2rem; border-bottom: 1px solid var(--line); }
.chapter-list span { min-width: 2.3rem; margin-top: .45rem; color: var(--rose); font: 600 .65rem/1 var(--sans); letter-spacing: .1em; }
.chapter-list strong { display: block; font: 500 1rem/1.5 var(--serif); }
.english-site .chapter-list strong { font-family: Georgia, "Times New Roman", serif; }
.chapter-list small { display: block; color: var(--muted); font-size: .76rem; }

.final-cta { min-height: 74svh; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 9vw, 9rem); align-items: center; overflow: hidden; background: linear-gradient(135deg, var(--wine-deep), var(--wine)); color: var(--cream); }
.final-cover { position: relative; z-index: 2; width: min(70%, 340px); justify-self: center; transform: rotate(-3deg); box-shadow: 0 32px 80px rgba(0,0,0,.45); }
.final-copy { position: relative; z-index: 2; max-width: 760px; }
.final-copy h2 { color: var(--cream); }
.final-copy > p:not(.eyebrow):not(.disclaimer) { margin: 1.5rem 0 2rem; color: rgba(245,232,202,.78); font-family: var(--serif); }
.english-site .final-copy > p:not(.eyebrow):not(.disclaimer) { font-family: var(--sans); }
.button-light { background: var(--cream); color: var(--wine); }
.disclaimer { max-width: 680px; margin: 1.6rem 0 0; color: rgba(245,232,202,.66); font-size: .7rem; }
.final-glow { position: absolute; width: 55vw; aspect-ratio: 1; right: -20vw; top: -25vw; border: 1px solid rgba(245,232,202,.11); border-radius: 50%; box-shadow: 0 0 100px rgba(200,45,86,.12) inset; }

.hero > *, .intro > *, .observation > *, .author > *, .chapters > *, .final-cta > * { min-width: 0; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.8rem clamp(1.5rem, 7vw, 8rem); background: #160304; color: rgba(245,232,202,.66); font-size: .63rem; letter-spacing: .06em; }
footer a { text-decoration: none; }
.footer-links { display: flex; gap: 1.5rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes bookFloat { 0%, 100% { transform: rotate(2.5deg) translateY(0); } 50% { transform: rotate(1.2deg) translateY(-12px); } }
@keyframes heroEnter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseLine { 0%, 100% { transform: scaleX(.3); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

@media (max-width: 1100px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 4rem; padding-bottom: 5rem; }
  .hero-copy { max-width: 820px; }
  .hero h1 { max-width: 12em; font-size: clamp(3rem, 7.5vw, 5.3rem); }
  .book-stage { width: min(52vw, 380px); }
  .intro, .observation, .author, .chapters, .final-cta { grid-template-columns: 1fr; }
  .intro { align-items: start; gap: 2.5rem; }
  .section-heading { max-width: 820px; }
  .section h2 { max-width: 14em; font-size: clamp(2.6rem, 6.6vw, 4.2rem); }
  .observation-copy, .chapters-copy { position: static; }
  .author-monogram { width: min(46vw, 360px); justify-self: center; }
  .chapters-copy > p:not(.eyebrow) { max-width: 680px; }
  .final-cover { width: min(44vw, 300px); }
}

@media (max-width: 800px) {
  .site-header { padding: .85rem 1.1rem; align-items: flex-start; }
  .brand { flex-direction: column; gap: .25rem; }
  .brand-mark { font-size: .72rem; }
  .brand-sub { font-size: .48rem; }
  .header-nav > a:not(.language-link) { display: none; }
  .language-link { min-height: 40px !important; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 4rem; padding: 8rem 1.35rem 5rem; }
  .hero h1, .english-site .hero h1 { font-size: clamp(2.35rem, 10vw, 4rem); }
  .section h2 { font-size: clamp(2.15rem, 8.8vw, 3.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .button { width: 100%; }
  .book-stage { width: min(68vw, 340px); }
  .book-note { right: -1.5rem; width: 4.6rem; height: 4.6rem; }
  .scroll-cue { display: none; }
  .proof { grid-template-columns: 1fr; }
  .proof-item { padding: 1.35rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .section { padding: 5rem 1.35rem; }
  .intro, .observation, .author, .chapters, .final-cta { grid-template-columns: 1fr; }
  .intro { gap: 2.2rem; }
  .feature { grid-template-columns: 2.5rem 1fr; gap: .7rem; }
  .observation-copy, .chapters-copy { position: static; }
  .quote-section blockquote p br { display: none; }
  .author-monogram { width: min(70vw, 300px); justify-self: center; }
  .final-cover { width: min(58vw, 280px); }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
