@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f3eada;
  --cream: #fbf7ed;
  --ink: #4b3022;
  --muted: #79634c;
  --brown: #4b3022;
  --accent: #81492c;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --side: 20px;
  --block: 80px;
  --group: 32px;
  --element: 16px;
  --small: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --lp-main-width: 430px;
  --lp-loader-bg: var(--brown);
  --lp-loader-from: #bc8153;
  --lp-loader-to: #e6c99e;
  --lp-loader-font: var(--serif);
  --lp-side-bg: var(--paper);
  --lp-main-shadow: 0 0 80px #41281718;
  --lp-main-border: none;
  --lp-accent: var(--accent);
  --lp-page-space: var(--side);
  --lp-group-space: var(--group);
  --lp-item-space: var(--element);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  background: #d8ccba;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h2 { font-size: clamp(23px, 6.4vw, 29px); line-height: 1.85; letter-spacing: .06em; }
h3 { font-size: 17px; line-height: 1.8; }
ul, ol { padding-left: 1.4em; }
img { display: block; max-width: 100%; width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid #bc8153; outline-offset: 5px; }
[hidden] { display: none !important; }

.page {
  width: 100%; max-width: 480px; margin-inline: auto;
  position: relative; isolation: isolate;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h180v180H0z' opacity='.075' filter='url(%23grain)'/%3E%3C/svg%3E");
  box-shadow: 0 0 80px #41281718;
}
.page.lp-main { width: min(100vw, var(--lp-main-width)); max-width: var(--lp-main-width); }
.lp-shell { color: var(--ink); }
.lp-side { color: var(--ink); }
.lp-shell .lp-side--left {
  background: linear-gradient(#f3eadade, #f3eadaf5), url("assets/morning.webp") center / cover;
}
.lp-side--right { --lp-side-bg: #e8dcc8; }
.lp-side > * { width: 100%; max-width: 300px; margin-inline: auto; }
.lp-side h2 { font-size: 24px; line-height: 1.8; letter-spacing: .06em; text-wrap: balance; }
.overview-intro, .overview-outcomes { display: grid; gap: var(--element); }
.overview-recipient, .overview-price > p:first-child { font-size: 12px; }
.overview-outcomes ul { display: grid; gap: var(--small); padding: 0; list-style: none; text-wrap: pretty; }
.overview-price .price { margin-bottom: 0; }
.lp-side .buy-button { border-radius: 0; gap: var(--element); font-size: 16px; letter-spacing: .06em; }
.lp-toc a { min-height: 56px; border-radius: 0; }
.lp-toc a:hover { background: #fbf7ed80; }
.lp-toc a[aria-current="true"] { background: var(--accent); color: var(--cream); }
.concern-list p, .reason-body p, .reason-summary, .outcome-note,
.instructor-message, .faq-answer p, .small-note { text-wrap: pretty; }
.section { padding: var(--block) var(--side); }
.section > h2 { text-align: center; margin-bottom: var(--group); }
.section > * { min-width: 0; }
.vertical-heading { writing-mode: vertical-rl; text-orientation: mixed; margin-inline: auto; text-align: start !important; }
.count { font-variant-numeric: tabular-nums; }
.hero-title .count { text-combine-upright: all; }

/* ① A quiet paper header above a full, uncropped still life. */
.hero { padding: var(--group) var(--side) 72px; }
.hero-recipient { text-align: center; font-size: 12px; letter-spacing: .04em; }
.hero-scene {
  height: clamp(600px, 164vw, 710px); margin-top: var(--element);
  position: relative; background: #e8cc9e;
  clip-path: polygon(0 .5%, 16% 0, 30% .4%, 49% 0, 74% .3%, 100% 0, 100% 99.4%, 78% 100%, 50% 99.5%, 25% 100%, 0 99.5%);
}
.hero-image-mask { position: absolute; inset: 0; overflow: hidden; }
.hero-photo { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; }
.hero-light { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#f4e7ce 0%, #ecd6b2 12%, #e9cfa300 38%); }
.hero-title {
  writing-mode: vertical-rl; text-orientation: mixed;
  position: absolute; top: var(--group); right: 24px;
  font-size: clamp(28px, 8.2vw, 34px);
  line-height: 1.8; letter-spacing: .12em;
  height: 450px; max-width: calc(100% - 48px);
}
.hero-sub {
  position: absolute; top: 136px; left: 24px;
  writing-mode: vertical-rl; font-size: 14px; letter-spacing: .09em; line-height: 2.1;
}
.hero-facts { margin-top: var(--group); }
.hero-facts ul { list-style: none; padding: 0; display: grid; gap: var(--small); }
.hero-facts li { width: fit-content; margin-inline: auto; padding: var(--small) var(--element); background: #fffbf170; font-size: 12px; letter-spacing: .06em; }
.hero-facts li:nth-child(2) { transform: rotate(-1deg); }
.hero-facts li:nth-child(3) { transform: rotate(.8deg); }
.hero-purchase { margin-top: var(--group); }
.price-block { text-align: center; }
.price-block > p:first-child { font-size: 13px; }
.price { margin-top: var(--small); margin-bottom: var(--element); font-size: 28px; letter-spacing: .04em; }
.buy-button {
  display: flex; align-items: center; justify-content: center; gap: var(--group);
  width: 100%; min-height: 64px; padding: var(--element);
  background: var(--accent); color: var(--cream); font-size: 17px; letter-spacing: .1em;
  box-shadow: 0 5px 0 #4b30221a;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.button-arrow { width: 26px; height: 12px; position: relative; flex: 0 0 26px; }
.button-arrow::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: currentColor; }
.button-arrow::after { content: ""; position: absolute; right: 1px; top: 2px; width: 9px; height: 9px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
@media (hover: hover) { .buy-button:hover { transform: translateY(-3px); background: #65351e; box-shadow: 0 9px 18px #4b30222b; } }
.buy-button:active { transform: translateY(1px) scale(.98); box-shadow: 0 1px 0 #4b30221a; }

/* ② Offset photo and open, generously spaced concern entries. */
.concerns { padding-top: 72px; }
.concerns > h2 { height: 290px; margin-bottom: 48px; }
.concern-list { list-style: none; padding: 0; display: grid; gap: var(--group); }
.concern-list li { padding-left: var(--element); }
.concern-list li:nth-child(2) { padding-left: var(--group); }
.concern-list li h3 { margin-bottom: var(--small); }
.concern-list p { font-size: 13px; }
.preparation-collage { margin-top: 48px; width: calc(100% - 16px); margin-left: var(--element); transform: rotate(-2deg); }
.preparation-collage img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ③ Dark chocolate paper gives the two practical rules a calm pause. */
.reason { background: var(--brown); color: var(--paper); }
.reason-body { display: grid; gap: var(--group); }
.reason-body h3 { color: #e6c99e; margin-bottom: var(--element); }
.reason-body p { font-size: 13px; }
.reason-summary { margin-top: 48px; text-align: center; font-size: 16px; }

/* ④ Real text tables, fixed layout and wrap rules prevent narrow-screen overflow. */
.scone-print { width: calc(100% - 16px); margin: 48px var(--small) var(--group); padding: var(--small) var(--small) var(--element); background: var(--cream); transform: rotate(2deg); box-shadow: 0 8px 20px #4b30221a; }
.scone-print img { aspect-ratio: 1024 / 620; object-fit: contain; }
table { border-collapse: collapse; table-layout: fixed; width: 100%; font-size: 13px; line-height: 1.9; text-align: left; overflow-wrap: anywhere; }
th, td { vertical-align: top; font-weight: 500; padding: var(--element) var(--small); }
thead { color: var(--muted); }
tbody tr:nth-child(odd) { background: #d5c1a322; }
.sample-table th:first-child { width: 27%; }
.sample-table tbody th { color: var(--muted); }
.outcome-note { margin-top: var(--group); font-size: 13px; }

/* ⑤ Semantic table with each long description occupying its own line. */
.curriculum { background: #e8dcc8; }
.timetable { position: relative; padding-left: var(--element); margin-top: 48px; }
.progress-track { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #4b30221a; }
.progress-fill { height: 100%; width: 100%; background: #9b663b; transform-origin: top; transform: scaleY(1); }
.schedule-table, .schedule-table thead, .schedule-table tbody { display: block; }
.schedule-table tr { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--small) var(--element); padding: var(--group) var(--small); }
.schedule-table thead tr { grid-template-columns: 48px 1fr 1fr; padding-top: 0; padding-bottom: var(--element); }
.schedule-table th, .schedule-table td { padding: 0; min-width: 0; }
.schedule-table tbody th { grid-row: 1 / 3; font-size: 18px; line-height: 1.5; }
.schedule-table tbody td:nth-child(2) { font-size: 16px; }
.schedule-table tbody td:last-child { grid-column: 2; font-size: 13px; }
.schedule-table tbody tr { background: transparent; transition: background-color .35s; }
.schedule-table tbody tr.is-current { background: #fbf7edb3; }

/* ⑥ The actual printable content, rather than thumbnail images of text. */
.paper-stack { display: grid; gap: var(--group); }
.recipe-paper { background: #fffcf2; padding: var(--group) var(--element); box-shadow: 3px 5px 0 #cbb59633; }
.recipe-paper h3 { margin-bottom: var(--element); }
.sheet-label { margin-bottom: var(--small); }
.recipe-paper ul { display: grid; gap: var(--small); font-size: 13px; }
.failure-table { font-size: 12px; }
.failure-table th, .failure-table td { padding: var(--element) 4px; }
.failure-table th:nth-child(1) { width: 31%; }
.failure-table th:nth-child(2) { width: 28%; }
.tools { margin-block: 48px; }
.tools h3 { margin-bottom: var(--element); }
.tools ul { display: grid; gap: var(--small); font-size: 13px; }
.small-note { font-family: var(--sans); font-size: 11px; color: var(--muted); text-align: center; margin-top: var(--element); line-height: 1.9; }

/* ⑦ Original instructor bytes, framed only with CSS. */
.instructor { background: #e9dcc7; }
.instructor-layout { display: flex; align-items: flex-start; justify-content: center; gap: var(--element); }
.instructor-layout h2 { flex: 0 0 auto; font-size: 26px; letter-spacing: .15em; margin: var(--group) 0 0; }
.portrait { width: min(74%, 290px); background: #f5ead5; border-radius: 46% 46% 0 0; overflow: hidden; }
.portrait img { object-fit: contain; object-position: center bottom; }
.instructor-message { margin-top: var(--group); font-size: 14px; }

/* ⑧ FAQ stays expanded without JavaScript. */
.faq-list { display: grid; gap: var(--element); }
.faq-toggle {
  border: 0; background: #e7d8bf66; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--element);
  width: 100%; padding: var(--element); min-height: 64px; font-size: 14px; line-height: 1.85; text-align: left;
}
.faq-icon { position: relative; width: 16px; height: 16px; flex: 0 0 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 7px; left: 0; width: 16px; height: 1px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); transition: transform .35s; }
.faq-toggle[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { height: auto; }
.faq-answer-inner { padding: var(--element); font-size: 13px; }
.js .faq-answer { overflow: hidden; transition: height .4s var(--ease); }
.final-buy { margin-top: 80px; position: relative; }
.closing-photo { height: 460px; }
.closing-photo img { height: 100%; object-fit: cover; object-position: center 65%; }
.closing-copy { position: absolute; right: var(--element); top: var(--group); padding: var(--element) var(--small); background: #f6ecd8eb; }
.closing-copy h2 { font-size: 26px; letter-spacing: .1em; height: 390px; white-space: nowrap; }
.closing-sub { margin-block: var(--group); text-align: center; font-size: 16px; }
.final-block { padding-bottom: 96px; }
.sticky-buy {
  position: fixed; bottom: 0; left: 50%; z-index: 20; width: 100%; max-width: 480px;
  padding: var(--element) var(--side) calc(var(--element) + env(safe-area-inset-bottom));
  background: #f5eddef5; box-shadow: 0 -5px 24px #4b302217;
  transform: translate(-50%, 110%); visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
}
.sticky-buy.is-visible { transform: translate(-50%, 0); visibility: visible; }
.sticky-buy .buy-button { min-height: 56px; padding-block: var(--small); }
@media (min-width: 768px) {
  .sticky-buy { display: none; }
}

/* All hidden entrance states require the class added by successful JS setup. */
.js.motion-on .hero-enter { opacity: 0; transform: translateY(18px); }
.js.motion-on.is-ready .hero-enter { animation: hero-enter .95s var(--ease) both; animation-delay: var(--entrance-delay, 0ms); }
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js.motion-on [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js.motion-on [data-reveal].is-visible { opacity: 1; transform: none; }
.js.motion-on [data-stagger] { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--stagger-delay, 0ms); }
.js.motion-on [data-stagger].is-visible { opacity: 1; transform: none; }
.image-mask { clip-path: inset(0); }
.js.motion-on [data-image], .js.motion-on .hero-image-mask { clip-path: inset(0 100% 0 0); transition: clip-path 1.25s var(--ease); }
.js.motion-on [data-image].is-visible, .js.motion-on.is-ready .hero-image-mask { clip-path: inset(0); }
.js.motion-on .sample-table tbody tr { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--row-delay, 0ms); }
.js.motion-on .sample-table tbody tr.is-visible { opacity: 1; transform: none; }

@media (max-width: 359px) {
  .hero-recipient { font-size: 11px; }
  .hero-title { right: var(--element); font-size: 28px; height: 420px; line-height: 1.7; letter-spacing: .08em; }
  .hero-sub { left: var(--element); top: 120px; font-size: 13px; }
  .concern-list li, .concern-list li:nth-child(2) { padding-left: 0; }
  .concern-list p { font-size: 12px; }
  .reason-body p { font-size: 12px; }
  .reason-summary { font-size: 14px; }
  .instructor-message { font-size: 12px; }
  .schedule-table tr { grid-template-columns: 40px minmax(0, 1fr); gap: var(--small); }
  .schedule-table thead tr { grid-template-columns: 40px 1fr 1fr; }
  .recipe-paper { padding-inline: var(--small); }
  .closing-sub { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-enter, .js [data-reveal], .js [data-stagger], .js .sample-table tbody tr { opacity: 1 !important; transform: none !important; }
  .js [data-image], .js .hero-image-mask { clip-path: none !important; }
  .hero-photo, .buy-button:hover, .buy-button:active { transform: none !important; }
  .progress-fill { transform: scaleY(1) !important; }
}
