:root {
  --paper: #fbf8ef;
  --ink: #213f36;
  --body-copy: #273c34;
  --pine: #174a3d;
  --muted: #52635a;
  --rust: #a34d30;
  --melon: #ffbb94;
  --cream: #fff8e7;
  --line: #d7d8c9;
  --content-width: min(1200px, calc(100% - clamp(48px, 10vw, 160px)));
}

.wrap, .hero { width: var(--content-width); margin-inline: auto; }
.skip:not(:focus) { clip-path: inset(50%); }
.mast-inner, .bottom, nav, .footer-name, .hero-actions, .contact { display: flex; align-items: center; }
.mast-inner, .bottom, .contact { justify-content: space-between; gap: 2rem; }
.mast-inner { min-height: clamp(68px, 6.2vw, 86px); border-bottom: 1px solid var(--line); }
.brand { gap: .5rem; letter-spacing: .065em; }
.brand img { width: 37px; height: 37px; border-radius: 11px; transform: rotate(-4deg); }
.voice-ai-mark { display: inline-flex; flex: none; align-items: center; gap: .4rem; padding: .42rem .57rem; border-radius: .78rem; background: var(--pine); color: var(--cream); font-size: .92rem; line-height: 1; letter-spacing: .02em; }
.voice-ai-join { margin-inline: .08em; font-size: .78em; }
.voice-ai-mark b { color: var(--melon); font-size: .93em; }
.voice-ai-wave { display: flex; align-items: center; gap: 2px; }
.voice-ai-wave i { width: 2px; height: .42rem; border-radius: 2px; background: var(--cream); }
.voice-ai-wave i:nth-child(2) { height: .9rem; }
.voice-ai-wave i:nth-child(3) { height: .66rem; }
.voice-ai-wave i:last-child { height: .29rem; }

nav { gap: clamp(22px, 2.8vw, 42px); font-size: .92rem; font-weight: 650; }
nav a, .hero-actions a, .contact-phone, footer a { text-decoration: none; }
nav a:not(.nav-contact):hover, footer a:hover { text-decoration: underline; text-underline-offset: .32em; }
.nav-contact { display: inline-flex; align-items: center; min-height: 44px; padding: .45em 1.4em; border: 1px solid var(--ink); border-radius: 99px; }
.nav-contact:hover, .talk-link:hover { background: #eeedde; }

h1, h2, .question-cards h3, .flow h3 { font-family: var(--serif); font-weight: 600; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(24px, 4vw, 65px);
  padding-block: clamp(42px, 4.7vw, 74px) clamp(42px, 4.45vw, 70px);
}
.hero-copy, .portrait { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .88rem; font-weight: 650; letter-spacing: .05em; }
.eyebrow::before {
  content: "";
  width: 1.55rem; height: 1.25rem; flex: none;
  border-bottom: 1.5px solid var(--rust);
  background: radial-gradient(circle at 50% 105%, var(--rust) 0 35%, transparent 37%),
    repeating-conic-gradient(from 10deg at 50% 100%, transparent 0deg 24deg, var(--rust) 25deg 29deg, transparent 30deg 36deg);
  mask: radial-gradient(ellipse at 50% 100%, black 0 43%, transparent 45% 57%, black 59% 71%, transparent 73% 96%, black 98%);
}
h1 {
  font-size: clamp(2.65rem, 5.1vw, 4.75rem);
  line-height: 1.29;
  letter-spacing: -.074em;
  margin-block: .25em .34em;
}
h1 i { font: italic 1.08em/.9 Georgia, serif; letter-spacing: -.07em; margin-right: .085em; }
h1 em { position: relative; z-index: 0; display: inline-block; color: var(--rust); font-style: normal; }
h1 em::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 12%; bottom: .05em;
  height: .09em; border-radius: 55% 40% 65% 35%; transform: rotate(-1.8deg); background: #f5ceb0;
}
.intro { color: var(--body-copy); font-size: clamp(.99rem, 1.13vw, 1.08rem); line-height: 1.95; }
.hero-actions { flex-wrap: wrap; gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(20px, 2.2vw, 34px); }
.hero-actions a, .hero-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 99px; font-size: .94rem; font-weight: 700; }
.listen-link { color: var(--cream); background: var(--pine); border: 0; padding: .7em 1.45em; gap: .7em; }
.hero-actions audio { max-width: 100%; }
.listen-link:hover { background: #28614e; }
.talk-link { padding: .45em 1em; border: 1px solid #a9b4a5; }
.play-shape { display: inline-block; width: 0; height: 0; border-top: .4em solid transparent; border-bottom: .4em solid transparent; border-left: .66em solid currentColor; }

.portrait { position: relative; isolation: isolate; padding: 0 7px 12px 0; }
.portrait-frame { overflow: hidden; aspect-ratio: 1.36; border-radius: 43% 43% 18px 18px / 48% 48% 18px 18px; background: #e9dec9; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 67%; display: block; }
.portrait::before {
  content: ""; position: absolute; inset: 5% -1% 2% 3%; z-index: -1;
  border-radius: 45% 45% 18px 18px / 48% 48% 18px 18px; background: #e7b895; transform: rotate(3.2deg);
}
.greeting {
  position: absolute; right: 0; top: 1%; display: flex; align-items: center; gap: .55em;
  padding: .6em 1.1em; border-radius: 58% 58% 52% 20% / 54% 64% 43% 30%; transform: rotate(6deg);
  background: #f9deb0; color: #543d32; box-shadow: 0 2px 0 #b7835738; font: 600 clamp(.95rem, 1.35vw, 1.23rem)/1.7 var(--serif);
}
.greeting::after { content: ""; position: absolute; left: .1em; bottom: -.28em; width: .87em; height: .89em; background: #f9deb0; clip-path: polygon(0 100%, 35% 0, 100% 0); }
.greeting i { width: 3px; height: .85em; background: #99603b; border-radius: 3px; box-shadow: -.27em .12em 0 -.5px #99603b, .27em .12em 0 -.5px #99603b; transform: rotate(-5deg); }
.portrait figcaption {
  position: absolute; right: 3.8%; bottom: 8%; padding: .27em .78em; background: #fbf8efd9; color: #263d32;
  border-radius: 99px; font-size: .81rem; letter-spacing: .025em; font-weight: 600;
}
.portrait figcaption span { padding-left: .6em; margin-left: .35em; border-left: 1px solid #899187; }

.demo {
  color: var(--cream); background: #153e34;
  padding: clamp(19px, 2.1vw, 31px) clamp(19px, 2.8vw, 40px) 12px; border-radius: 20px;
  scroll-margin: 20px;
}
.player { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .93fr); align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.sleeve {
  display: grid; place-items: center; width: clamp(60px, 6.2vw, 85px); aspect-ratio: 1; border-radius: 8px;
  background: repeating-radial-gradient(circle at 50% 50%, #37614d 0 2px, #274f40 2.5px 3.5px, #3e6550 4px 5px, #274f40 5.5px 6.5px) center / 88% 88% no-repeat, #e5bf94;
  clip-path: inset(0 round 8px);
}
.sleeve img { width: 46%; height: auto; border: 2px solid #f0d6a5; border-radius: 50%; transform: rotate(-8deg); }
.track-info { min-width: 0; }
.track-kind { display: block; color: #ffcdac; font-size: .83rem; font-weight: 650; letter-spacing: .075em; }
.track-info h2 { font-size: clamp(1.32rem, 2.04vw, 1.94rem); letter-spacing: -.045em; line-height: 1.45; }
.track-info p, .demo-note, .demo summary { color: #d9e4d8; font-size: .85rem; }
.player-unit, .timeline { min-width: 0; }
.player audio { display: block; width: 100%; height: 44px; }
.player-controls { display: flex; align-items: center; gap: clamp(13px, 1.5vw, 24px); }
.play-toggle { display: grid; place-items: center; flex: none; width: 55px; height: 55px; border: 0; border-radius: 50%; color: #263e33; background: var(--melon); }
.play-toggle:hover { background: #ffd7b9; }
.play-toggle .play-shape { margin-left: 3px; font-size: 1.12rem; }
.play-toggle.is-playing .play-shape { width: .75em; height: .9em; margin: 0; border: 0; border-inline: .24em solid currentColor; }
.timeline { flex: 1; }
.slow-toggle { flex: none; min-height: 44px; padding: 0 .75em; color: var(--cream); background: transparent; border: 1px solid #92ad9d; border-radius: 99px; font-size: .83rem; }
.slow-toggle[aria-pressed="true"] { background: var(--cream); color: var(--pine); }
.waveform { position: relative; height: 43px; }
.wave-progress {
  appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 100%;
  border: 0; background: #8da996; color: var(--melon); mask: url('/talk-wave.png?v=jst-opening') center / 100% 100% no-repeat;
}
.wave-progress::-webkit-progress-bar { background: #8da996; }
.wave-progress::-webkit-progress-value { background: var(--melon); }
.wave-progress::-moz-progress-bar { background: var(--melon); }
.seek { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.seek::-webkit-slider-thumb { appearance: none; width: 3px; height: 37px; border-radius: 3px; background: #ffe2bf; }
.seek::-moz-range-thumb { width: 3px; height: 37px; border: 0; border-radius: 3px; background: #ffe2bf; }
.seek::-moz-range-track { background: transparent; }
.timecode { display: flex; justify-content: space-between; color: #ceddca; font: .77rem/1.4 ui-monospace, monospace; }
.demo :focus-visible { outline-color: #ffce9b; }
.player-error { font-size: .9rem; color: #ffd4b8; }
.player-error:empty { display: none; }
.player-foot { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; margin-top: 16px; border-top: 1px solid #466357; padding-top: 8px; }
.demo summary { text-decoration: underline; text-underline-offset: .23em; }
.player-foot:has(details[open]) { grid-template-columns: 1fr; }
.demo-script { max-width: 70ch; margin-block: .9rem; display: grid; grid-template-columns: max-content 1fr; gap: .72rem 1.25rem; }
.demo-script dt { font-weight: 700; color: #ffc8a2; }
.demo-script dd { margin: 0; }

h2 { font-size: clamp(2.05rem, 3.8vw, 3.65rem); line-height: 1.36; letter-spacing: -.065em; }
.questions-section { padding-block: clamp(58px, 6.8vw, 110px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(22px, 2.8vw, 40px); }
.section-heading h2 em { color: var(--rust); font-style: normal; }
.section-heading p, .flow-inner > div p, .contact p { color: var(--body-copy); font-size: 1rem; line-height: 1.85; }
.question-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2vw, 28px); list-style: none; padding: 0; }
.question-cards li { padding: clamp(20px, 2.3vw, 34px); border-radius: 18px 42px 18px 18px; background: #f4e1c7; }
.question-cards li:nth-child(2) { border-radius: 42px 18px 18px 18px; background: #e1e9db; }
.question-cards li:nth-child(3) { background: #efe1de; }
.card-top { display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; gap: 8px; }
.card-top span { font-size: .84rem; font-weight: 700; letter-spacing: .065em; }
.motif { position: relative; display: inline-block; width: 51px; height: 44px; flex: none; }
.light::before {
  content: ""; position: absolute; width: 42px; height: 38px; left: 4px; bottom: 2px;
  border-radius: 50% 50% 1px 1px; background: radial-gradient(circle at 50% 100%, #ba633d 0 33%, transparent 35%),
    repeating-conic-gradient(from 2deg at 50% 100%, transparent 0deg 21deg, #bb754b 22deg 25deg, transparent 26deg 30deg);
  mask: radial-gradient(circle at 50% 100%, black 0 44%, transparent 45% 59%, black 60% 75%, transparent 76%);
}
.light::after { content: ""; position: absolute; bottom: 3px; left: 5px; width: 41px; height: 2px; background: #995637; border-radius: 50%; }
.layers::before { content: ""; position: absolute; bottom: 7px; left: 3px; width: 32px; height: 24px; border-radius: 3px 3px 13px 12px; background: repeating-linear-gradient(105deg, #476a52 0 4px, #5a8064 5px 6px); transform: rotate(4deg); }
.layers::after { content: ""; position: absolute; bottom: 14px; left: 34px; width: 11px; height: 14px; border: 3px solid #476a52; border-left: 0; border-radius: 0 8px 8px 0; }
.pair::before, .pair::after { content: ""; position: absolute; width: 30px; height: 24px; border-radius: 54% 54% 48% 5px; transform: rotate(-8deg); }
.pair::before { left: 2px; top: 6px; background: #a75c47; }
.pair::after { left: 19px; top: 18px; background: #d09281; border-radius: 54% 54% 5px 48%; transform: rotate(10deg); }
.question-cards h3 { margin-block: .65em .35em; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.45; letter-spacing: -.045em; }
.question-text { color: var(--body-copy); font-size: 1rem; line-height: 1.85; text-wrap: pretty; }

.flow { background: #edf0e5; border-block: 1px solid #d4dccd; }
.flow-inner { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 8%; padding-block: clamp(46px, 5.6vw, 88px); }
.flow-inner > div p { margin-top: 1em; }
.flow ol { list-style: none; padding: 0; counter-reset: step; }
.flow li { position: relative; display: flex; gap: clamp(14px, 2vw, 26px); counter-increment: step; padding: 20px 0; border-bottom: 1px solid #c2cec0; }
.flow li:first-child { padding-top: 0; }
.flow li:last-child { padding-bottom: 0; border: 0; }
.flow li::before { content: counter(step, decimal-leading-zero); flex: none; padding-top: .08em; color: #526d55; font: italic 1.65rem/1.3 Georgia, serif; }
.flow h3 { font-size: clamp(1.12rem, 1.7vw, 1.46rem); line-height: 1.55; }
.flow li p { color: var(--body-copy); margin-top: .4em; }

.contact { padding-block: clamp(48px, 5vw, 80px); }
.contact h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.contact p { margin-top: .85em; }
.contact-phone {
  flex: none; display: grid; justify-items: center; padding: clamp(19px, 2vw, 32px) clamp(18px, 3vw, 48px);
  border: 1px solid #bccabc; border-radius: 42px 22px 42px 22px; background: #f0eddf; color: var(--pine);
}
.contact-phone:hover { background: #e7e6d6; }
.contact-actions { display: grid; justify-items: center; gap: .3rem; flex: none; }
.copy-phone { min-height: 44px; padding: .35em .75em; background: transparent; color: var(--pine); border: 0; font-size: .9rem; text-decoration: underline; text-underline-offset: .25em; }
.copy-status { color: var(--muted); font-size: .85rem; }
.phone-number { font: 500 clamp(1.95rem, 3.7vw, 3.65rem)/1.3 Georgia, serif; letter-spacing: -.045em; white-space: nowrap; }
.phone-action { display: inline-flex; align-items: center; gap: .6em; margin-top: .4em; font-size: .92rem; font-weight: 650; }
footer { border-top: 1px solid var(--line); }
.scenes { background: #fffdf8; border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 112px); }
.scenes-heading { margin: 0 auto clamp(28px, 3.8vw, 54px); text-align: center; }
.scenes-heading h2 { line-height: 1.34; }
.scenes-heading em { color: var(--rust); font-style: normal; }
.scenes-heading p { max-width: 39em; margin: 1em auto 0; font-size: 1rem; color: var(--body-copy); line-height: 1.95; }
.scene-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.scene-grid li { grid-column: span 3; display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 0 10px 10px; background: #f0f1e8; border: 1px solid #dfdfd3; border-radius: 22px; }
.scene-grid li:nth-child(1), .scene-grid li:nth-child(5) { grid-column: span 4; background: #f8eddf; }
.scene-grid li:nth-child(2), .scene-grid li:nth-child(6) { grid-column: span 2; }
.scene-grid li:nth-child(4) { background: #f1eae5; }
.scene-grid img { display: block; width: 100%; height: clamp(190px, 19vw, 266px); border-radius: 13px; object-fit: cover; object-position: 50% 53%; margin-top: auto; }
.scene-grid li > div { order: -1; padding: clamp(21px, 2.3vw, 32px) clamp(12px, 1.5vw, 22px) clamp(17px, 1.8vw, 25px); }
.scene-grid h3 { font: 700 clamp(1.25rem, 2.1vw, 2rem)/1.4 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; letter-spacing: -.045em; }
.scene-grid h3 span { white-space: nowrap; }
.scene-grid p { max-width: 40em; margin-top: .5em; color: var(--body-copy); line-height: 1.8; }
@media (max-width: 960px) {
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-grid li:nth-child(n) { grid-column: auto; }
}
@media (max-width: 580px) {
  .scenes-heading { text-align: left; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene-grid img { height: auto; aspect-ratio: 1.88; }
}
.bottom { min-height: 77px; }
.footer-name { gap: .9rem; }
.footer-name strong { font-size: 1.18rem; }
.footer-name span, .bottom a { color: var(--muted); font-size: .87rem; }

@media (max-width: 960px) {
  .wide { display: none; }
  .portrait-frame { aspect-ratio: 1.12; }
  .player { grid-template-columns: auto minmax(0, 1fr); }
  .player-unit { grid-column: 1 / -1; }
  .section-heading { align-items: start; }
  .section-heading p { max-width: 22em; }
}
@media (max-width: 720px) {
  :root { --content-width: calc(100% - 40px); }
  .mast-inner { min-height: 63px; flex-wrap: wrap; gap: 0 .75rem; padding-block: 8px; }
  .brand { font-size: 1.35rem; }
  .brand img { width: 33px; height: 33px; border-radius: 9px; }
  nav { flex-wrap: wrap; gap: 0 .8rem; }
  nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }
  .nav-contact { padding-inline: .8em; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-block: 27px 30px; }
  .hero-copy { display: contents; }
  .eyebrow { grid-row: 1; font-size: .84rem; }
  h1 { grid-row: 2; font-size: clamp(2.55rem, 10.9vw, 4.3rem); line-height: 1.24; margin-block: .19em .43em; }
  .portrait { grid-row: 3; width: 100%; margin-bottom: 17px; }
  .portrait-frame { aspect-ratio: 2.25; border-radius: 27% 27% 10px 10px / 49% 49% 10px 10px; }
  .portrait-frame img { object-position: 50% 22%; }
  .portrait::before { border-radius: 30% 30% 10px 10px / 49% 49% 10px 10px; transform: rotate(2deg); }
  .greeting { right: 2%; top: -1%; font-size: .95rem; }
  .portrait figcaption { bottom: 12%; }
  .intro { grid-row: 4; font-size: 1rem; line-height: 1.8; text-wrap: balance; }
  .hero-actions { grid-row: 5; margin-top: 17px; gap: 10px; }
  .hero-actions a { font-size: .9rem; min-height: 44px; }
  .demo { padding: 18px 18px 11px; border-radius: 17px; }
  .player { grid-template-columns: 52px minmax(0, 1fr); gap: 13px; }
  .sleeve { width: 52px; }
  .track-info h2 { font-size: clamp(1.12rem, 4.9vw, 1.65rem); }
  .track-info p { max-width: none; }
  .track-info p, .demo-note, .demo summary { font-size: .8rem; }
  .player-unit { grid-column: 1 / -1; }
  .play-toggle { width: 46px; height: 46px; }
  .waveform { height: 44px; }
  .seek::-webkit-slider-thumb { height: 30px; }
  .seek::-moz-range-thumb { height: 30px; }
  .player-foot { margin-top: 12px; }
  .questions-section { padding-block: 50px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: .6rem; max-width: none; }
  .question-cards { grid-template-columns: 1fr; gap: 12px; }
  .question-cards li { padding: 19px 22px 23px; }
  .question-cards h3 { margin-block: -.1em .2em; }
  .card-top { align-items: start; }
  .flow-inner { grid-template-columns: 1fr; gap: 26px; }
  .flow h2 br { display: none; }
  .flow-inner > div p { margin-top: .55em; }
  .contact { flex-direction: column; align-items: stretch; gap: 22px; }
  .contact-phone { align-self: start; }
  .contact-actions { align-self: start; max-width: 100%; }
  .bottom { gap: 12px; }
  .footer-name { flex-wrap: wrap; gap: .2rem .5rem; }
}
@media (max-width: 385px) {
  :root { --content-width: calc(100% - 30px); }
  .hero-actions a { font-size: .86rem; }
  .hero-actions { gap: 7px; }
  .listen-link { padding-inline: 1em; }
  .talk-link { padding-inline: .7em; }
  .player-foot { grid-template-columns: 1fr; gap: .2em; }
  .footer-name { display: grid; gap: 0; }
}
