:root {
  color-scheme: light;
  --bg: #fff5f8;
  --surface: #f9e5ef;
  --ink: #382039;
  --muted: #704d66;
  --accent: #9c255d;
  --line: #d8aabd;
  --serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  --sans: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 400 16px / 1.95 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h2 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
a, button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
main:focus, section:focus { outline: none; }
::selection { color: #fff7fb; background: #9c255d; }
.wrap { width: calc(100% - 120px); max-width: 1260px; margin-inline: auto; }
.section { padding-block: clamp(70px, 8vw, 126px); }
.eyebrow { font-size: .875rem; letter-spacing: .16em; color: var(--accent); }
.skip-link {
  position: fixed;
  z-index: 100;
  left: 15px;
  top: 10px;
  padding: 9px 16px;
  color: #fff7fb;
  background: #6f2552;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.entry-intro {
  padding: clamp(60px, 12vh, 120px) 24px 30px;
  text-align: center;
}
body:not(:has(.site-entry[open])) {
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 12%, #f2c4da 0, transparent 65%), var(--bg);
}
.entry-mark { margin: 0 auto 16px; width: 64px; height: 64px; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .06em; }
.entry-intro .eyebrow { margin-top: 5px; font-size: .875rem; }
.entry-intro h1 { margin: 28px 0 12px; font: 500 clamp(1.7rem, 4vw, 2.6rem) / 1.5 var(--serif); }
.entry-intro > p:last-child { color: var(--muted); }
.site-entry > .entry-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(350px, calc(100% - 48px));
  min-height: 58px;
  margin: 0 auto;
  padding: 13px 20px;
  border: 1px solid #982353;
  background: #9c255d;
  color: #fff7fb;
  font-weight: 700;
  list-style: none;
}
.entry-button::-webkit-details-marker { display: none; }
.entry-button:hover { background: #7d1b49; }
.entry-exit { padding: 20px 24px 50px; text-align: center; color: var(--muted); font-size: .875rem; }
.entry-exit a { display: inline-block; min-height: 44px; padding: 8px 5px; border-bottom: 1px solid #b8668b; }
.entry-exit p { margin-top: 15px; }
.site-entry[open] > .entry-button { display: none; }
body:has(.site-entry[open]) > .entry-intro,
body:has(.site-entry[open]) > .entry-exit { display: none; }

.site-header { background: #fff5f8; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 37px; height: 37px; }
.brand strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1rem, 1.35vw, 1.2rem); letter-spacing: .025em; }
.brand small { display: block; color: #8f3d67; font-size: .875rem; line-height: 1.4; letter-spacing: .11em; }
.desktop-nav { display: flex; align-items: center; gap: 28px; font-size: .875rem; }
.desktop-nav a { padding-block: 12px; transition: color .2s; }
.desktop-nav a:hover { color: var(--accent); }
.desktop-nav .nav-contact { padding: 9px 17px; border: 1px solid #bc7397; }
.mobile-menu { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 650px; background: #f5cfdf; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero-image { object-fit: cover; object-position: 64% center; }
.hero-shade { background: linear-gradient(90deg, #fff0f6ed 0%, #fbe1edb3 35%, #fbe1ed00 70%), linear-gradient(0deg, #fff5f8 0, transparent 25%); }
.hero-inner { position: relative; min-height: inherit; padding-block: 80px 74px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero h1 {
  max-width: 8.5em;
  margin-top: 22px;
  font: 500 clamp(2.7rem, 4.9vw, 4.7rem) / 1.5 var(--serif);
  letter-spacing: .015em;
  text-shadow: 0 2px 28px #fff5f850;
}
.hero h1 span { display: block; }
.hero-copy { margin-top: 20px; line-height: 2.1; color: #64374f; text-wrap: balance; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 24px;
  border: 1px solid #982353;
  background: #9c255d;
  color: #fff7fb;
  font-weight: 700;
  font-size: .9375rem;
  transition: background .25s, translate .25s var(--ease);
}
.button:hover { background: #7d1b49; }
.button-outline { border-color: #aa6288; background: #fff5f8b3; color: var(--ink); }
.button-outline:hover { background: #f4cadd; }
.hero-credit { margin-top: 40px; font-family: var(--serif); font-size: .9375rem; color: #754060; }
.hero-credit span { display: block; margin-top: 3px; font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; color: #8e5876; }

.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 8vw, 120px); }
.section h2 { font: 500 clamp(2rem, 3.6vw, 3.2rem) / 1.6 var(--serif); letter-spacing: .02em; }
.about h2 { margin-top: 16px; }
.about-copy { color: var(--muted); }
.about-copy > p + p { margin-top: 19px; }
.creator { margin-top: 34px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.creator > span { display: block; color: var(--accent); font-size: .875rem; letter-spacing: .15em; }
.creator ruby { display: inline-block; margin-block: 12px 10px; color: var(--ink); font-family: var(--serif); font-size: 2rem; letter-spacing: .1em; }
.creator rt { font-family: var(--sans); font-size: .875rem; letter-spacing: .08em; }
.creator > p { font-size: .9375rem; }

.services-surface { background: linear-gradient(125deg, #f9dfeb, #fcecf3 62%, #f4ccdf); border-block: 1px solid var(--line); }
.section-heading { max-width: 54em; margin-bottom: 36px; }
.section-heading h2 { margin-top: 10px; }
.section-heading > p:last-child { margin-top: 10px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #cf9fb7; }
.service { min-width: 0; padding: clamp(24px, 3vw, 42px); transition: background .3s; }
.service + .service { border-left: 1px solid #cf9fb7; }
.service:last-child { background: #edb5d455; }
.service > span { font-family: Georgia, serif; letter-spacing: .12em; color: #922551; font-size: .875rem; }
.service h3 { margin-block: 15px 12px; font-family: var(--serif); font-size: 1.5rem; }
.service p { color: var(--muted); }
.service-note { margin-top: 20px; color: var(--muted); font-size: .9375rem; }
.sample-preview > .text-link { margin-top: 28px; }
.sample-empty { position: relative; padding: 28px 0 30px 28px; border-block: 1px solid var(--line); color: var(--muted); }
.sample-line { position: absolute; inset: 32px auto 32px 0; width: 2px; background: #bc4a82; }
.sample-empty-label { margin-bottom: 7px; color: var(--ink); font-family: var(--serif); font-size: 1.3rem; }
.text-link { display: inline-block; padding-block: 5px; border-bottom: 1px solid #bd628e; color: #9c255d; font-size: .9375rem; }
.text-link:hover { color: #60183d; border-color: #60183d; }

.contact-surface { color: #fff3f8; background: radial-gradient(ellipse at 78% 24%, #813455, transparent 70%), #4d203f; border-block: 1px solid #a65b80; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 100px); }
.contact-grid h2 { margin-block: 10px 18px; }
.contact-grid p { color: #f6daea; }
.contact-grid .eyebrow { color: #f9bfdc; }
.contact-panel { padding: clamp(24px, 4vw, 44px); background: #fff1f80d; border: 1px solid #c77da4; }
.contact-panel h3 { margin-bottom: 14px; font: 500 1.6rem var(--serif); }
.contact-panel .button { margin-top: 24px; border-color: #f6bfd5; background: #f6bfd5; color: #52223f; }
.contact-panel .button:hover { background: #ffe3ee; }
.contact-panel .email { color: #fff3f8; margin-top: 17px; overflow-wrap: anywhere; font-size: 1rem; }
.copy-link { margin-top: 6px; padding: 8px 0; border: 0; border-bottom: 1px solid #d18aac; background: transparent; font-size: .875rem; }
.copy-status { min-height: 1.7em; margin-top: 6px; font-size: .875rem; }
.site-footer { border-top: 1px solid var(--line); background: #f6dce9; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-block: 38px; }
.footer-inner .brand-name { color: var(--ink); }
.footer-inner > div > p:last-child { margin-top: 7px; font-size: .875rem; }
.footer-inner > div span { margin-left: 12px; color: #75465f; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .875rem; }
.footer-inner nav a { padding-block: 8px; }
.footer-inner nav button { padding: 8px 0; background: transparent; border: 0; font-size: .875rem; }
.footer-inner > small { flex-basis: 100%; font-size: .75rem; color: #75465f; }

.page-intro { padding-bottom: 44px; }
.page-intro h1, .legal-page > h1 { margin: 12px 0 22px; font: 500 clamp(2rem, 4vw, 3.2rem) / 1.5 var(--serif); }
.page-intro > p:last-child { color: var(--muted); }
.scenario-list-section { padding-bottom: 30px; }
.scenario-card { display: block; padding: 26px 30px; border: 1px solid var(--line); background: #fffafd; transition: background .25s; }
.scenario-card + .scenario-card { margin-top: 18px; }
.scenario-card:hover { background: #fae2ef; }
.scenario-card h2 { margin-block: 10px; font: 500 1.7rem / 1.5 var(--serif); }
.scenario-card > p:not(.eyebrow) { color: var(--muted); }
.read-label { display: inline-block; margin-top: 15px; padding-bottom: 3px; border-bottom: 1px solid #b55c87; font-size: .875rem; }
.reading-contact { border-top: 1px solid var(--line); }
.reading-contact h2 { margin-block: 12px 22px; }
.reader { max-width: 820px; padding-block: 65px 100px; }
.reader-header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.reader-header > .text-link { margin-bottom: 34px; }
.reader-header h1 { margin-block: 12px; font: 500 clamp(2rem, 4vw, 3rem) / 1.55 var(--serif); }
.reader-description { color: var(--muted); }
.reader-author { margin-top: 18px; font-size: .9375rem; color: #8d2c5b; }
.reader-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: .875rem; }
.reader-tools button { min-height: 44px; padding: 5px 13px; background: #fff5f8; border: 1px solid #bb7d9d; font-size: .875rem; }
.reader-tools button:disabled { opacity: .5; cursor: default; }
.scenario-text { padding-block: 40px 48px; font: 400 18px / 2.2 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; }
.reader-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 25px; border-top: 1px solid var(--line); }
.legal-page { max-width: 860px; min-height: 65vh; }
.legal-page h2 { margin: 34px 0 12px; font: 500 1.5rem / 1.5 var(--serif); }
.legal-page p { color: var(--muted); }
.legal-page > .text-link { margin-top: 35px; }
.reveal-pending { opacity: 0; transform: translateY(18px); }
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover { translate: 0 -2px; }
  .service:hover { background: #e9a8cc44; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .desktop-nav { gap: 17px; }
  .brand strong { font-size: 1rem; }
  .brand img { width: 30px; height: 30px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu > summary { list-style: none; padding-block: 12px; font-size: .875rem; color: #922551; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > nav { position: absolute; inset: 100% 24px auto; padding: 10px 22px; border: 1px solid #c889aa; background: #fff8fb; box-shadow: 0 15px 30px #64274825; }
  .mobile-menu nav a { display: block; padding-block: 12px; font-size: 1rem; }
  .mobile-menu nav a + a { border-top: 1px solid var(--line); }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .service + .service { border-left: 0; border-top: 1px solid #cf9fb7; }
  .about, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about { gap: 26px; }
  .hero h1 { font-size: clamp(2.6rem, 6vw, 3.7rem); }
  .hero-copy { max-width: 28em; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 10px; }
  .brand { gap: 7px; }
  .brand strong { font-size: .875rem; }
  .brand small { font-size: .75rem; }
  .brand img { width: 25px; height: 25px; }
  .hero { min-height: 675px; }
  .hero-inner { padding-block: 44px 230px; justify-content: flex-start; }
  .hero-image { object-fit: cover; object-position: 72% 100%; opacity: 1; }
  .hero-shade { background: linear-gradient(180deg, #fff0f6ed, #fff0f6c9 46%, #fff0f633 76%, #fff5f8 100%); }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.7rem); margin-top: 20px; }
  .hero-copy { margin-top: 16px; font-size: 1rem; }
  .hero-actions { gap: 10px; margin-top: 22px; }
  .hero-actions .button { padding: 10px 15px; font-size: .875rem; }
  .hero-credit { margin-top: 24px; font-size: .875rem; }
  .section h2 { font-size: 2rem; }
  .creator ruby { font-size: 1.8rem; }
  .footer-inner { gap: 22px; }
  .footer-inner nav { gap: 10px 18px; }
  .reader { padding-top: 42px; }
  .reader-footer { flex-direction: column; align-items: flex-start; }
  .sample-empty { padding-left: 20px; }
  .sample-empty-label { font-size: 1.15rem; }
}
@media (max-width: 360px) {
  .brand strong { font-size: .8rem; }
  .brand small { font-size: .7rem; }
  .brand img { width: 22px; height: 22px; }
  .mobile-menu > summary { font-size: .8125rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .hero, .reader-tools, .reader-footer { display: none; }
  body, .scenario-text { color: #111; background: #fff; }
  .reader { max-width: none; padding: 0; }
  .wrap { width: 100%; }
  .reveal-pending { opacity: 1; transform: none; }
}
