@import url("https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Shippori+Mincho:wght@400;500;600&display=swap");

:root {
  --paper: #fdfaf8;
  --paper-warm: #fbf4f1;
  --blush: #f3dfdc;
  --rose-pale: #ead0d0;
  --rose: #c98289;
  --rose-deep: #9d6069;
  --ink: #433836;
  --muted: #756966;
  --rule: #e5cbc9;
  --shadow: 0 8px 24px rgba(115, 73, 69, .08);
  --serif: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
  --body-serif: "Noto Serif JP", "Yu Mincho", serif;
  --hand: "Klee One", "Hiragino Maru Gothic ProN", cursive;
  --script: "Sacramento", cursive;
  --latin: "Italiana", serif;
  --content: 840px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-serif);
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: .065em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.mobile-only-br { display: block; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .5rem 1rem;
  background: #fff;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 4px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 9px 19px 8px;
  background: rgba(253, 250, 248, .96);
  box-shadow: 0 1px 0 rgba(213, 179, 176, .14);
  backdrop-filter: blur(10px);
}
.brand { min-width: 138px; text-align: center; }
.brand-logo { width: auto; height: 44px; max-width: 152px; object-fit: contain; }
.brand span { display: block; font: 1.65rem/.9 var(--script); letter-spacing: .01em; }
.brand small {
  display: block;
  margin-top: .5rem;
  font: 7px/1 var(--latin);
  letter-spacing: .42em;
  text-transform: uppercase;
}
.menu-button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 9px 7px;
  align-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-button span { display: block; height: 1px; background: var(--ink); transition: .24s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.global-nav {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  display: grid;
  padding: .8rem 7vw 1.5rem;
  background: rgba(253, 250, 248, .985);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: scaleY(0);
  transform-origin: top;
  transition: .24s;
}
.global-nav.open { opacity: 1; pointer-events: auto; visibility: visible; transform: scaleY(1); }
.global-nav a { padding: .42rem; border-bottom: 1px solid var(--rule); font-family: var(--latin); }

/* Shared section language */
.section { position: relative; overflow: hidden; padding: 46px 22px; scroll-margin-top: 64px; }
.section-heading { position: relative; z-index: 2; max-width: 680px; margin: 0 auto 28px; text-align: center; }
.section-heading > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--rose);
  font: 2rem/1 var(--script);
}
.section-heading > span::before,
.section-heading > span::after { content: ""; width: 42px; height: 1px; background: var(--rose); }
.section-heading h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .15em;
}
.section-heading h2:not(.sr-only)::after {
  content: "";
  display: block;
  width: 170px;
  height: 8px;
  margin: 10px auto 0;
  background: url("../assets/images/ornament-divider.webp") center/100% 100% no-repeat;
  opacity: .72;
}
.section-heading p { margin: 13px auto 0; font-size: .75rem; line-height: 1.9; }
.features::before,
.courses::after,
.instructor::before,
.flow::after,
.faq::after,
.news::before,
.contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}
.features::before { top: 95px; right: -44px; width: 150px; height: 250px; background-image: url("../assets/images/botanical-tall-clean.webp"); opacity: .16; }
.courses::after { top: 75px; right: -35px; width: 140px; height: 190px; background-image: url("../assets/images/botanical-sprig.webp"); opacity: .28; }
.instructor::before { top: 108px; left: -62px; width: 170px; height: 210px; background-image: url("../assets/images/botanical-corner-clean.webp"); opacity: .16; transform: scaleX(-1); }
.flow::after { top: 86px; right: -46px; width: 160px; height: 255px; background-image: url("../assets/images/botanical-tall-clean.webp"); opacity: .16; }
.faq::after { top: 24px; right: -32px; width: 120px; height: 165px; background-image: url("../assets/images/botanical-sprig.webp"); opacity: .2; }
.news::before { left: -38px; bottom: 0; width: 135px; height: 155px; background-image: url("../assets/images/botanical-corner-clean.webp"); opacity: .14; }
.contact::before { right: -38px; bottom: -10px; width: 135px; height: 185px; background-image: url("../assets/images/botanical-tall-clean.webp"); opacity: .14; transform: scaleX(-1); }

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #f3e9e4;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(253, 249, 247, .46) 0%, rgba(253, 248, 245, .22) 42%, transparent 70%),
    linear-gradient(0deg, rgba(253, 248, 245, .97) 0%, rgba(253, 248, 245, .88) 23%, rgba(253, 248, 245, .32) 46%, transparent 64%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 620px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 28px 96px;
}
.hero h1 {
  position: absolute;
  top: 66px;
  right: auto;
  left: 42px;
  height: 250px;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 4.8vw, 1.25rem);
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: .13em;
}
.hero-copy::before {
  content: "mou";
  position: absolute;
  top: 282px;
  right: auto;
  left: 38px;
  color: rgba(201, 130, 137, .13);
  font: 5.2rem/1 var(--script);
  letter-spacing: .02em;
  transform: rotate(-7deg);
}
.hero-intro {
  position: relative;
  z-index: 2;
  max-width: 360px;
}
.hero p { margin: 0 0 9px; font-size: .875rem; line-height: 1.95; letter-spacing: .05em; }

/* Message */
.message {
  padding: 42px 12px 36px;
  background: radial-gradient(circle at 50% 20%, #fff, #fcf8f5 58%, #f3e5e0 100%);
}
.message .section-heading { margin-bottom: 22px; }
.message .section-heading > span::before,
.message .section-heading > span::after { width: 58px; }
.letter-stage { position: relative; width: min(100%, 560px); margin: auto; }
.paper-back { display: none; }
.letter-card {
  position: relative;
  min-height: 0;
  padding: 86px 38px 52px;
  overflow: hidden;
  background: url("../assets/images/message-letter-sheet-mobile-transparent.webp") center/100% 100% no-repeat;
  filter: drop-shadow(0 10px 13px rgba(92, 58, 54, .1));
  font-family: var(--hand);
}
.letter-card .lead {
  position: relative;
  z-index: 2;
  margin: 0 auto 10px;
  text-align: center;
  font-size: .86rem;
  font-weight: 600;
  line-height: 2;
  letter-spacing: .045em;
}
.letter-ornament { position: relative; z-index: 2; width: 170px; margin: 0 auto 12px; }
.letter-copy {
  --letter-line-step: 26px;
  --letter-rule-offset: 20px;
  position: relative;
  z-index: 2;
  width: calc(100% - 14px);
  margin-left: 14px;
  font-size: .64rem;
  font-weight: 400;
  line-height: var(--letter-line-step);
  letter-spacing: .055em;
  background-image: linear-gradient(to bottom, transparent calc(var(--letter-rule-offset) - 1px), rgba(196, 150, 147, .2) calc(var(--letter-rule-offset) - 1px), rgba(196, 150, 147, .2) var(--letter-rule-offset), transparent var(--letter-rule-offset));
  background-repeat: repeat-y;
  background-size: 100% var(--letter-line-step);
}
.letter-copy p { margin: 0 0 var(--letter-line-step); }
.letter-copy p:last-child { padding-right: 84px; margin-bottom: 0; }
.letter-copy .keep-together { white-space: nowrap; }
.message-about-link {
  padding: 0 18px 34px;
  background: #f3e5e0;
}

/* Feature */
.features { padding: 38px 22px; background: #fffdfb; }
.features .section-heading { margin-bottom: 22px; }
.feature-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  max-width: 760px;
  padding: 0;
  margin: 0 auto 24px;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  min-height: 62px;
  padding: 5px 12px 5px 7px;
  border: 1px solid #ead8d4;
  border-radius: 14px;
  background: rgba(255, 253, 251, .94);
  box-shadow: 0 5px 14px rgba(98, 63, 58, .05);
}
.feature-list img { width: 43px; height: 43px; margin: auto; object-fit: cover; border-radius: 50%; }
.feature-list img.feature-icon--products { transform: scale(.79); }
.feature-list span {
  display: flex;
  min-width: 0;
  min-height: 41px;
  align-items: center;
  padding-left: 17px;
  border-left: 1px dashed rgba(201, 143, 148, .6);
  font-size: .66rem;
  line-height: 1.65;
  letter-spacing: .06em;
  word-break: keep-all;
  overflow-wrap: normal;
}
.lesson-card {
  --lesson-rose: rgba(201, 143, 148, .72);
  --lesson-rose-deep: var(--rose-deep);
  --lesson-rose-dot: var(--rose);
  --lesson-ink: var(--ink);
  --lesson-paper: #fdf8f5;
  --lesson-outside: #fffdfb;
  --lesson-line-w: 1px;
  --lesson-notch: 22px;
  --lesson-gap: 4px;
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: min(100%, 760px);
  padding: 40px 24px 42px;
  margin: auto;
  color: var(--lesson-ink);
  font-family: var(--body-serif);
}
.lesson-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(13px + var(--lesson-gap) + var(--lesson-line-w));
  background:
    radial-gradient(circle at left top, var(--lesson-outside) 0 calc(var(--lesson-notch) - var(--lesson-line-w)), transparent calc(var(--lesson-notch) - var(--lesson-line-w) + .5px)),
    radial-gradient(circle at right top, var(--lesson-outside) 0 calc(var(--lesson-notch) - var(--lesson-line-w)), transparent calc(var(--lesson-notch) - var(--lesson-line-w) + .5px)),
    radial-gradient(circle at left bottom, var(--lesson-outside) 0 calc(var(--lesson-notch) - var(--lesson-line-w)), transparent calc(var(--lesson-notch) - var(--lesson-line-w) + .5px)),
    radial-gradient(circle at right bottom, var(--lesson-outside) 0 calc(var(--lesson-notch) - var(--lesson-line-w)), transparent calc(var(--lesson-notch) - var(--lesson-line-w) + .5px)),
    var(--lesson-paper) url("../assets/images/letter-paper-texture.webp") repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 430px auto;
}
.lesson-frame {
  position: absolute;
  z-index: 1;
  inset: 13px;
  pointer-events: none;
  --lesson-arc-in: calc(var(--lesson-notch) - var(--lesson-line-w));
  --lesson-arc-box: calc(var(--lesson-notch) + 1px);
  background:
    radial-gradient(circle at left top, transparent calc(var(--lesson-arc-in) - .5px), var(--lesson-rose) var(--lesson-arc-in), var(--lesson-rose) var(--lesson-notch), transparent calc(var(--lesson-notch) + .5px)) left top / var(--lesson-arc-box) var(--lesson-arc-box) no-repeat,
    radial-gradient(circle at right top, transparent calc(var(--lesson-arc-in) - .5px), var(--lesson-rose) var(--lesson-arc-in), var(--lesson-rose) var(--lesson-notch), transparent calc(var(--lesson-notch) + .5px)) right top / var(--lesson-arc-box) var(--lesson-arc-box) no-repeat,
    radial-gradient(circle at left bottom, transparent calc(var(--lesson-arc-in) - .5px), var(--lesson-rose) var(--lesson-arc-in), var(--lesson-rose) var(--lesson-notch), transparent calc(var(--lesson-notch) + .5px)) left bottom / var(--lesson-arc-box) var(--lesson-arc-box) no-repeat,
    radial-gradient(circle at right bottom, transparent calc(var(--lesson-arc-in) - .5px), var(--lesson-rose) var(--lesson-arc-in), var(--lesson-rose) var(--lesson-notch), transparent calc(var(--lesson-notch) + .5px)) right bottom / var(--lesson-arc-box) var(--lesson-arc-box) no-repeat,
    linear-gradient(var(--lesson-rose), var(--lesson-rose)) top center / calc(100% - var(--lesson-notch) * 2) var(--lesson-line-w) no-repeat,
    linear-gradient(var(--lesson-rose), var(--lesson-rose)) bottom center / calc(100% - var(--lesson-notch) * 2) var(--lesson-line-w) no-repeat,
    linear-gradient(var(--lesson-rose), var(--lesson-rose)) left center / var(--lesson-line-w) calc(100% - var(--lesson-notch) * 2) no-repeat,
    linear-gradient(var(--lesson-rose), var(--lesson-rose)) right center / var(--lesson-line-w) calc(100% - var(--lesson-notch) * 2) no-repeat;
}
.lesson-frame--inner { inset: calc(13px + var(--lesson-gap)); }
.lesson-card h3 {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 0 7px;
  color: var(--lesson-rose-deep);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .12em;
  text-align: center;
  text-indent: .12em;
  white-space: nowrap;
}
.lesson-card h3::before,
.lesson-card h3::after {
  content: "";
  flex: 0 0 20px;
  height: 12px;
  background: url("../assets/images/ornament-leaf.webp") center/contain no-repeat;
  opacity: .78;
}
.lesson-card h3::after { transform: scaleX(-1); }
.lesson-divider {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  width: min(430px, 82%);
  margin: 0 auto 14px;
}
.lesson-divider .line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--lesson-rose)); }
.lesson-divider .line:last-child { background: linear-gradient(to left, transparent, var(--lesson-rose)); }
.lesson-divider .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--lesson-rose-deep); }
.lesson-divider .dia { width: 5px; height: 5px; background: var(--lesson-rose-deep); transform: rotate(45deg); }
.lesson-card .lessons { position: relative; z-index: 2; width: min(100%, 560px); padding: 0; margin: 0; list-style: none; }
.lesson-card .lessons li {
  position: relative;
  padding: 9px 4px 9px 18px;
  font-size: .63rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .05em;
}
.lesson-card .lessons li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lesson-rose-dot);
  transform: translateY(-50%);
}
.lesson-card .lessons li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-image: radial-gradient(circle, rgba(201, 143, 148, .52) .7px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}
.lesson-card .lessons .etc { margin-left: 2em; }
@media (min-width: 600px) {
  .lesson-card { --lesson-notch: 30px; --lesson-gap: 5px; padding: 52px 60px 56px; }
  .lesson-card h3 { gap: 9px; margin-bottom: 10px; font-size: 1.45rem; }
  .lesson-card h3::before,
  .lesson-card h3::after { flex-basis: 32px; height: 19px; }
  .lesson-divider { gap: 7px; margin-bottom: 24px; }
  .lesson-divider .dot { width: 4px; height: 4px; }
  .lesson-divider .dia { width: 7px; height: 7px; }
  .lesson-card .lessons li { padding: 12px 7px 12px 26px; font-size: .88rem; letter-spacing: .07em; }
  .lesson-card .lessons li::before { left: 8px; width: 7px; height: 7px; }
}

/* Course */
.courses { padding-inline: 16px; background: #fbf5f3; }
.courses .section-heading { margin-bottom: 25px; }
.course-list { position: relative; z-index: 2; display: grid; gap: 11px; max-width: 760px; margin: auto; }
.course-card {
  position: relative;
  display: block;
  padding: 20px 22px 22px;
  border: 1px solid #eadbd7;
  border-radius: 5px;
  background: rgba(255, 253, 251, .96);
  box-shadow: 0 4px 12px rgba(99, 63, 59, .055);
}
.course-card-top { display: block; }
.course-summary { display: flex; align-items: center; gap: 14px; min-width: 0; text-align: left; }
.course-title-sign { display: block; flex: 0 0 auto; width: 92px; height: auto; margin: 0; }
.course-card h3 { margin: 0; font-size: 1.05rem; font-weight: 500; line-height: 1.25; letter-spacing: .05em; white-space: nowrap; }
.course-card h3 small { font-size: .47em; font-weight: 400; white-space: nowrap; }
.course-card .price { margin: 0; color: var(--rose); font-size: 1.25rem; line-height: 1.2; letter-spacing: .02em; text-align: left; white-space: nowrap; }
.course-card .price small { margin-left: 3px; color: var(--ink); font-size: .43em; white-space: nowrap; }
.course-card > ul {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 0;
  margin: 14px 0;
  border-top: 1px dashed #dfb5b4;
  border-bottom: 1px dashed #dfb5b4;
  list-style: none;
  font-size: .64rem;
  line-height: 1.65;
  letter-spacing: .025em;
}
.course-card li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  padding-left: 0;
}
.course-card li::before {
  content: "✓";
  display: grid;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: white;
  font: 7px/1 Arial, sans-serif;
}

/* Instructor */
.instructor { padding-bottom: 42px; background: #fffafa; text-align: center; }
.instructor .section-heading { margin-bottom: 22px; }
.portrait {
  position: relative;
  z-index: 2;
  width: min(52vw, 215px);
  aspect-ratio: .77;
  padding: 5px;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 1px solid var(--rose);
  border-radius: 50% 50% 5% 5% / 31% 31% 4% 4%;
  background: white;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: inherit; }
.instructor > h3 { position: relative; z-index: 2; margin: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.35; }
.instructor > h3 small { display: block; margin-top: 3px; color: var(--rose); font: 1.02rem var(--script); }
.credentials {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  max-width: 680px;
  padding: 0;
  margin: 16px auto 14px;
  list-style: none;
}
.credentials li {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 7px 5px;
  border: 1px solid #eddfdc;
  border-radius: 7px;
  background: rgba(255, 253, 252, .94);
  box-shadow: 0 2px 7px rgba(83, 54, 48, .04);
  font-size: .62rem;
  line-height: 1.6;
}
.credentials li > span { white-space: nowrap; }
.bio { position: relative; z-index: 2; max-width: 680px; margin: 0 auto 15px; text-align: left; font-size: .59rem; line-height: 1.85; }
.detail-button {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 620px);
  min-height: 42px;
  aspect-ratio: 6.3 / 1;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 0;
  background-color: #fffdfb;
  background-image: url("../assets/images/card-frame.webp");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  color: var(--rose-deep);
  box-shadow: none;
  font-size: .72rem;
  letter-spacing: .1em;
}
.detail-button span { display: none; }
.certifications {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 13px;
  max-width: 680px;
  padding: 12px 0 0;
  margin: 12px auto 0;
  border-top: 1px solid var(--rule);
  list-style: none;
  font-size: .48rem;
}
.certifications li::before { content: "✿"; margin-right: 5px; color: var(--rose); }

/* Flow */
.flow { background: #fffdfb; }
.flow::after { content: none; }
.flow-shape-defs { position: absolute; overflow: hidden; }
.flow .section-heading { margin-bottom: 18px; }
.flow .section-heading h2 { margin-top: 0; font-size: 1rem; font-weight: 500; letter-spacing: .14em; }
.flow .section-heading h2::after { width: 120px; height: 6px; margin-top: 7px; }
.flow ol { position: relative; z-index: 2; display: grid; gap: 7px; max-width: 680px; padding: 0; margin: auto; list-style: none; }
.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 68px 42px minmax(0, 1fr);
  gap: 9px;
  min-height: 76px;
  align-items: center;
  padding: 8px 12px 8px 0;
  overflow: hidden;
  border: 1px solid #eadbd7;
  border-radius: 6px;
  background: rgba(255, 253, 251, .95);
  box-shadow: 0 3px 10px rgba(96, 64, 56, .04);
}
.flow li > b {
  display: grid;
  width: 100%;
  height: calc(100% + 16px);
  align-self: stretch;
  place-items: center;
  align-content: center;
  gap: 1px;
  margin-block: -8px;
  -webkit-clip-path: url("#flow-step-curve");
  clip-path: url("#flow-step-curve");
  background: linear-gradient(135deg, #e7b8bc, #d78f97);
  color: white;
  font-weight: 400;
}
.flow li > b span { font: .42rem/1 var(--latin); letter-spacing: .12em; }
.flow li > b strong { font: 1rem/1.05 var(--latin); font-weight: 400; letter-spacing: .06em; }
.flow-icon { width: 36px; height: 36px; justify-self: center; }
.flow li > div { min-width: 0; }
.flow h3 { margin: 0 0 2px; font-size: .72rem; font-weight: 500; line-height: 1.5; letter-spacing: .08em; }
.flow p { margin: 0; color: #635653; font-size: .48rem; line-height: 1.65; letter-spacing: .055em; }
.flow h3,
.flow p { text-align: left; }
.flow .line-button { display: none; }
.line-button {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 620px);
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  border: 2px solid #f5e5e2;
  border-radius: 999px;
  outline: 1px solid var(--rose);
  background: linear-gradient(100deg, #d8a1a3, #ca858b);
  color: white;
  box-shadow: 0 5px 11px rgba(150, 95, 100, .16);
  font-size: .9rem;
}
.line-button > span:last-child { position: absolute; right: 18px; font-size: 1.25rem; }

/* FAQ, News and final consultation */
.faq { padding-bottom: 20px; background: #fffafa; }
.accordion { position: relative; z-index: 2; max-width: 680px; margin: auto; }
.accordion details { margin: 6px 0; overflow: hidden; border: 1px solid #eadfdb; border-radius: 7px; background: #fffdfc; box-shadow: 0 2px 7px rgba(83, 54, 48, .04); }
.accordion summary { position: relative; min-height: 43px; padding: 11px 34px 9px 47px; list-style: none; cursor: pointer; font-size: .65rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
  content: "Q";
  position: absolute;
  left: 10px;
  top: 7px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-deep);
  color: white;
  font-family: var(--latin);
}
.accordion summary::after { content: "⌄"; position: absolute; right: 12px; color: var(--rose); }
.accordion details[open] summary::after { transform: rotate(180deg); }
.accordion details p { position: relative; margin: 0; padding: 11px 15px 12px 47px; background: #fbf3f1; font-size: .56rem; line-height: 1.8; }
.accordion details p::before {
  content: "A";
  position: absolute;
  left: 10px;
  top: 10px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #d49ba0;
  color: white;
  font-family: var(--latin);
}
.news { padding-top: 26px; padding-bottom: 20px; background: #fffafa; }
.news .section-heading { margin-bottom: 13px; }
.news-list { position: relative; z-index: 2; max-width: 680px; margin: auto; }
.news-item { display: grid; gap: 3px; padding: 9px 5px; border-bottom: 1px dashed var(--rule); }
.news-meta { display: flex; align-items: center; gap: 8px; font-size: .52rem; }
.news-meta span { padding: 1px 10px; border-radius: 999px; background: #f4e6e3; }
.news-item h3 { margin: 0; font-size: .6rem; font-weight: 500; line-height: 1.6; }
.loading, .empty { text-align: center; color: var(--muted); }
.news-button { min-height: 38px; margin-top: 15px; font-size: .65rem; }
.contact { padding: 14px 18px 24px; background: #fffafa; }
.contact-panel {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 25px 20px 22px;
  margin: auto;
  border: 1px solid rgba(204, 151, 149, .65);
  background: #fdf8f5 url("../assets/images/letter-paper-texture.webp") repeat;
  background-size: 420px auto;
  box-shadow: var(--shadow);
}
.contact-panel::before,
.contact-panel::after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 92px;
  height: 130px;
  background: url("../assets/images/botanical-corner-clean.webp") bottom/contain no-repeat;
  opacity: .2;
}
.contact-panel::before { left: -12px; }
.contact-panel::after { right: -12px; transform: scaleX(-1); }
.contact .section-heading { margin-bottom: 0; }
.contact .section-heading > span { display: none; }
.contact .section-heading h2 { margin-top: 0; font-size: 1.02rem; }
.contact .section-heading p { font-size: .58rem; }
.contact-line {
  min-height: 46px;
  aspect-ratio: 6.3 / 1;
  margin-top: 16px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background-color: transparent;
  background-image: url("../assets/images/card-frame-transparent.webp");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  color: var(--rose-deep);
  box-shadow: none;
}
.contact-line span { position: static; font-size: .78rem; }
.contact-line i { display: none; }

/* Footer and floating action */
footer {
  padding: 20px 18px 34px;
  border-top: 1px solid var(--rule);
  background: #fffafa;
  text-align: center;
  font-size: .53rem;
}
.footer-brand { margin: 0 0 9px; font: .92rem var(--latin); letter-spacing: .15em; }
.footer-logo { display: block; width: min(58vw, 220px); height: auto; margin: 0 auto; }
.footer-brand small { display: block; margin-top: 3px; font-size: .43rem; letter-spacing: .25em; }
.footer-brand + nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 12px; margin-bottom: 8px; font-family: var(--latin); }
.footer-brand + nav a:not(:last-child)::after { content: "/"; margin-left: 12px; color: var(--muted); }
.social-links { display: flex; justify-content: center; gap: 14px; margin: 5px 0; }
.privacy { margin: 5px 0; }
footer > small { font-size: .48rem; }
.floating-line {
  position: fixed;
  right: 13px;
  bottom: 13px;
  z-index: 30;
  display: grid;
  width: 64px;
  height: 64px;
  place-content: center;
  border: 2px solid white;
  border-radius: 50%;
  background: linear-gradient(135deg, #c98a90, #a8646d);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  text-align: center;
  transform: translateY(10px);
  transition: .25s;
  font-size: .55rem;
}
.floating-line b { font-size: .53rem; }
.floating-line.is-visible { opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0); }
.floating-line.is-contact-hidden { opacity: 0; pointer-events: none; visibility: hidden; transform: translateY(10px); }

@media (min-width: 600px) {
  body { font-size: 15px; }
  .site-header { height: 76px; padding-inline: 5vw; }
  .section { scroll-margin-top: 76px; }
  .brand span { font-size: 2rem; }
  .brand-logo { height: 56px; max-width: 178px; }
  .global-nav { top: 76px; }
  .hero { min-height: 820px; }
  .hero-copy { min-height: 820px; padding: 0 8vw 132px; }
  .hero h1 { top: 92px; right: auto; left: 13vw; height: 330px; font-size: 1.65rem; line-height: 2.1; }
  .hero-copy::before { top: 380px; right: auto; left: 10vw; font-size: 7rem; }
  .hero-intro { max-width: 520px; }
  .hero p { font-size: 1rem; line-height: 2; }
  .section { padding: 64px 6vw; }
  .letter-card { padding: 130px 76px 82px; background-image: url("../assets/images/message-letter-sheet-transparent.webp"); }
  .letter-card .lead { font-size: 1.08rem; }
  .letter-copy { width: calc(100% - 18px); margin-left: 18px; font-size: .82rem; }
  .letter-copy p:last-child { padding-right: 120px; }
  .feature-list li { grid-template-columns: 92px 1fr; min-height: 92px; }
  .feature-list img { width: 68px; height: 68px; }
  .feature-list span { min-height: 65px; font-size: .95rem; }
  .course-card { display: block; padding: 26px 32px; }
  .course-title-sign { width: 118px; }
  .course-card h3 { font-size: 1.2rem; }
  .course-card .price { font-size: 1.55rem; }
  .course-card > ul { gap: 7px; padding: 16px 0; margin: 16px 0; border-right: 0; border-left: 0; font-size: .72rem; }
  .portrait { width: 310px; }
  .credentials li { min-height: 92px; font-size: .8rem; }
  .bio { font-size: .75rem; }
  .flow li { grid-template-columns: 88px 58px minmax(0, 1fr); gap: 14px; min-height: 92px; padding: 10px 20px 10px 0; }
  .flow li > b { height: calc(100% + 20px); margin-block: -10px; }
  .flow li > b span { font-size: .5rem; }
  .flow li > b strong { font-size: 1.25rem; }
  .flow-icon { width: 46px; height: 46px; }
  .flow h3 { font-size: .86rem; }
  .flow p { font-size: .58rem; }
  .accordion summary, .news-item h3 { font-size: .78rem; }
  .accordion details p, .news-meta { font-size: .68rem; }
}

@media (min-width: 1024px) {
  .site-header { height: 86px; }
  .menu-button { display: none; }
  .global-nav {
    position: static;
    display: flex;
    gap: 1.2rem;
    padding: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }
  .global-nav a { border: 0; font-size: .72rem; }
  .hero { min-height: 760px; }
  .hero-copy { min-height: 760px; padding: 0 9vw 132px; }
  .hero h1 { top: 82px; right: auto; left: 15vw; height: 315px; font-size: 1.65rem; }
  .hero-copy::before { top: 350px; right: auto; left: 12vw; }
  .hero-intro { max-width: 560px; }
  .section { padding: 78px 6vw; scroll-margin-top: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
