/*
 * Front page styles for Mori Ayumi LP theme.
 */

:root {
  --color-bg: #fff9fb;
  --color-bg-alt: #fff2f5;
  --color-text: #1a1a1a;
  --color-text-light: #6f6f6f;
  --color-border: #f5dce5;
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --space-xxxl: 6rem;
  --font-heading: 'Kaisei Decol', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-subtitle: 'Syncopate', sans-serif;
  --text-xs: 0.875rem;
  --text-s: 0.95rem;
  --text-base: 1rem;
  --text-l: 1.125rem;
  --text-xl: 1.25rem;
  --width-content: 800px;
  --width-wide: 1200px;
  --width-narrow: 720px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-sm: 4px;
  --transition-base: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

.lp-body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
  opacity: 0;
}

.lp-body.lp-body--ready {
  animation: lp-fade-in 1.6s ease forwards;
}

@keyframes lp-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lp-body #page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(1rem, 2.5vh, var(--space-l));
}

.lp-body #primary {
  flex: 1 0 auto;
  padding-bottom: clamp(2rem, 4vh, var(--space-xl));
}

.front-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.front-page h1,
.front-page h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin: 0 0 var(--space-m);
  color: var(--color-text);
}

.front-page h3,
.front-page h4,
.front-page h5,
.front-page h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0 0 var(--space-s);
  color: var(--color-text);
}

.front-page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.front-page h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.front-page h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.front-page p {
  margin: 0 0 var(--space-m);
}

.front-page em,
.post-layout em {
  font-style: normal;
}

.front-page a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--color-border);
  transition: var(--transition-base);
}

.front-page a:hover {
  text-decoration-color: var(--color-text);
}

.front-page .alignfull,
.post-layout .alignfull {
  width: 100%;
  max-width: none;
}

.front-page .sec,
.post-layout .sec {
  padding: var(--space-xl) var(--space-m);
  width: 100%;
}

.front-page .sec--black,
.post-layout .sec--black {
  background: var(--color-bg);
}

.front-page .sec--gray,
.post-layout .sec--gray {
  background: var(--color-bg-alt);
}

.front-page .w-1200,
.front-page .w-800,
.front-page .w-720,
.post-layout .w-1200,
.post-layout .w-800,
.post-layout .w-720 {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: none;
}

.front-page .pad-xxl,
.post-layout .pad-xxl { padding-top: var(--space-xxxl); padding-bottom: var(--space-xxxl); }
.front-page .pad-xl,
.post-layout .pad-xl { padding-top: var(--space-xxl); padding-bottom: var(--space-xxl); }

.front-page [id] {
  scroll-margin-top: 80px;
}

.front-page .wp-block-columns,
.front-page .hero-columns {
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
  grid-template-columns: 1fr;
}

.hero-sec .hero-columns {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  z-index: 1;
}

.hero-sec .hero-columns.hero-columns--single {
  max-width: min(680px, 100%);
}

.hero-sec .hero-columns.hero-columns--single .hero-copy {
  max-width: 100%;
}

.hero-sec .hero-copy {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.hero-sec .hero-copy .hero-subtitle,
.hero-sec .hero-copy h1,
.hero-sec .hero-copy p {
  text-align: center;
}

.hero-sec .hero-copy .hero-subtitle {
  font-family: var(--font-heading);
  font-style: normal;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
}

.hero-sec .hero-copy h1 {
  font-size: clamp(2.75rem, 6vw, 4rem);
}

.hero-sec .hero-image {
  display: flex;
  justify-content: center;
}

.hero-sec .hero-image figure {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(0.5rem, 1vw, 0.9rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.hero-sec {
  position: relative;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background: linear-gradient(150deg, #fff9fb 0%, #fff4f7 55%, #ffeef4 100%);
  overflow: hidden;
}

.hero-sec::before,
.hero-sec::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-sec::before {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 173, 200, 0.35);
  top: -190px;
  right: 5%;
  opacity: 0.55;
}

.hero-sec::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 206, 221, 0.55) 0%, rgba(255, 206, 221, 0) 65%);
  bottom: -80px;
  left: -30px;
  opacity: 0.65;
}

.hero-sec .hero-columns::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 196, 223, 0.45);
  top: 10%;
  left: 55%;
  transform: translateX(-50%);
  z-index: -1;
}

@media (min-width: 1024px) {
  .hero-sec .hero-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 4.5rem);
  }

  .hero-sec .hero-image figure {
    transform: translateX(8%);
  }
}

@media (max-width: 767px) {
  .hero-sec .hero-columns {
    padding-inline: var(--space-m);
  }
}

.front-page .wp-block-column,
.front-page .hero-column {
  min-width: 0;
}

@media (min-width: 768px) {
  .front-page .wp-block-columns,
  .front-page .hero-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: center;
  }

  .front-page .hero-columns.hero-columns--single {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .front-page .hero-columns {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.75rem, 2vw, 2.25rem);
  }

  .front-page .hero-columns.hero-columns--single {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .front-page .hero-columns {
    display: flex;
    flex-direction: column;
  }

  .front-page .hero-image figure {
    width: min(78vw, 320px);
    max-width: 320px;
  }

  .front-page .hero-columns .hero-column:first-child {
    order: 2;
  }

  .front-page .hero-columns .hero-column:last-child {
    order: 1;
    margin-bottom: var(--space-m);
  }
}

.front-page .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-s);
}

.front-page .hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: var(--space-m);
}

.front-page .hero-copy p {
  max-width: 38ch;
  margin-bottom: var(--space-s);
}

.front-page .hero-cta {
  margin-top: var(--space-l);
  display: flex;
  gap: var(--space-s);
  flex-wrap: wrap;
  justify-content: center;
}

.front-page .hero-image figure {
  margin: 0;
}

.front-page .hero-image img {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.lp-floating-nav {
  position: fixed;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: var(--space-m) var(--space-s);
  box-shadow: none;
  z-index: 10;
  backdrop-filter: none;
  transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lp-floating-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.lp-floating-nav a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--color-text);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  background: transparent;
}

.lp-floating-nav a:hover,
.lp-floating-nav a:focus {
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-text);
}

.lp-floating-nav__close,
.lp-floating-nav-tab {
  display: none;
}

@media (min-width: 1260px) {
  .lp-floating-nav {
    transition:
      opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0s linear 0s;
  }

  .lp-floating-nav.is-collapsed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(0.55rem, -50%) scale(0.98);
    transition:
      opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0s linear 0.4s;
  }

  .lp-floating-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 0.35rem;
    padding: 0.28rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text-light);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .lp-floating-nav__close:hover,
  .lp-floating-nav__close:focus-visible {
    background: rgba(0, 0, 0, 0.1);
    color: var(--color-text);
  }

  .lp-floating-nav-tab {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 5.8rem;
    padding: 0.85rem 0.45rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    background: rgba(255, 249, 251, 0.96);
    color: var(--color-text);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    writing-mode: vertical-rl;
    transform: translate(0.35rem, -50%);
    transition:
      opacity 0.36s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.36s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0s linear 0.36s;
  }

  .lp-floating-nav-tab.is-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(-50%);
    transition-delay: 0s, 0s, 0s;
  }

  .lp-floating-nav-tab:hover,
  .lp-floating-nav-tab:focus-visible {
    background: rgba(255, 249, 251, 1);
    transform: translateY(-50%) translateX(-0.15rem);
  }
}

.lp-nav-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  z-index: 30;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-direction: column;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.36s ease, background 0.36s ease;
  box-shadow: none;
}

.lp-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  transition: transform 0.36s ease, opacity 0.36s ease;
}

.lp-nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lp-nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.lp-nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1259px) {
  .lp-nav-toggle {
    display: flex;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 249, 251, 0.96);
    box-shadow: 0 16px 36px rgba(26, 26, 26, 0.08);
    backdrop-filter: blur(12px);
  }

  .lp-nav-toggle.is-active {
    background: rgba(255, 249, 251, 0.99);
  }

  .lp-floating-nav {
    top: calc(max(1rem, env(safe-area-inset-top)) + 3.5rem);
    right: max(1rem, env(safe-area-inset-right));
    left: auto;
    width: min(15rem, calc(100vw - 2rem));
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    padding: 0.65rem;
    border-radius: 1.25rem;
    background: rgba(255, 249, 251, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 48px rgba(26, 26, 26, 0.12);
    backdrop-filter: blur(14px);
    transform-origin: top right;
    transform: translateY(-0.35rem) scale(0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0s linear 0.4s;
  }

  .lp-floating-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s, 0s, 0s;
  }

  .lp-floating-nav ul {
    gap: 0.35rem;
  }

  .lp-floating-nav a {
    display: block;
    width: 100%;
    font-size: clamp(0.82rem, 1.8vw, 0.9rem);
    letter-spacing: 0.04em;
    line-height: 1.35;
    padding: 0.7rem 0.8rem;
    border-radius: 0.9rem;
  }
}

.front-page .section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-s);
}

.front-page .section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--color-text);
  margin: var(--space-s) auto 0;
}

.front-page .lessons-group__intro {
  max-width: var(--width-content);
  margin: 0 auto;
}

.front-page .lessons-group__blog {
  max-width: var(--width-wide);
  margin: var(--space-xxl) auto 0;
}

.front-page .lessons-group__blog .section-title {
  margin-top: 0;
}

.front-page .gp-card,
.front-page .flat-card,
.post-layout .gp-card,
.post-layout .flat-card {
  background: #fffefe;
  border: 1px solid rgba(255, 160, 190, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-l);
  margin-bottom: var(--space-l);
  box-shadow: 0 18px 40px rgba(255, 120, 165, 0.08);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.front-page .sec--gray .gp-card,
.front-page .sec--gray .flat-card,
.post-layout .sec--gray .gp-card,
.post-layout .sec--gray .flat-card {
  background: #ffffff;
}

@media (min-width: 768px) {
  .front-page .gp-card,
  .front-page .flat-card {
    padding: var(--space-xl);
  }
}

.front-page .note,
.post-layout .note {
  font-size: var(--text-s);
  color: var(--color-text-light);
  margin: var(--space-m) 0;
  text-align: center;
}

.front-page .accent-yellow,
.post-layout .accent-yellow {
  font-weight: 700;
  color: var(--color-text);
}

.front-page .list-reset,
.post-layout .list-reset {
  margin: 0 0 var(--space-m);
  padding-left: 1.5em;
}

.front-page .list-reset li,
.post-layout .list-reset li {
  margin-bottom: var(--space-xs);
}

.front-page .schedule-list {
  margin: var(--space-l) 0 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#profile .profile-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin-bottom: var(--space-m);
}

#profile .profile-heading__name {
  white-space: nowrap;
}

#profile .profile-heading__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.05em;
}

#profile .profile-heading__roman {
  white-space: nowrap;
}

.front-page .performance-gallery-section {
  padding-top: var(--space-l);
  padding-bottom: var(--space-l);
}

.front-page .performance-gallery {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.front-page .performance-gallery__item {
  border-radius: var(--radius-lg);
  padding: clamp(0.35rem, 0.8vw, 0.6rem);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.front-page .performance-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 2px);
}

.front-page .schedule-item {
  display: flex;
  gap: var(--space-s);
  align-items: baseline;
  padding: var(--space-m);
  margin: 0;
}

.front-page .schedule-item + .schedule-item {
  border-top: 1px solid var(--color-border);
}

.front-page .schedule-date {
  font-size: var(--text-s);
  color: var(--color-text-light);
  font-weight: 500;
  min-width: 90px;
  flex-shrink: 0;
}

.front-page .schedule-item h3 {
  margin: 0;
  font-size: var(--text-l);
}

.front-page .schedule-item h3 a {
  text-decoration: none;
}

.front-page .schedule-item h3 a:hover {
  text-decoration: underline;
}

.front-page .schedule-pagination,
.post-layout .schedule-pagination {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-l);
}

.front-page .schedule-pagination a,
.front-page .schedule-pagination span,
.post-layout .schedule-pagination a,
.post-layout .schedule-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  font-size: var(--text-s);
  color: var(--color-text);
  background: #fffefe;
  border: 1px solid rgba(255, 160, 190, 0.35);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-base);
  box-shadow: 0 10px 25px rgba(255, 140, 175, 0.15);
}

.front-page .schedule-pagination .current,
.post-layout .schedule-pagination .current {
  color: var(--color-bg);
  background: var(--color-text);
  border-color: var(--color-text);
  font-weight: 700;
}

.front-page .schedule-pagination a:hover,
.post-layout .schedule-pagination a:hover {
  border-color: var(--color-text);
  background: var(--color-bg-alt);
}

.front-page .gp-card.embed-frame {
  padding: 0;
  max-width: min(100%, 720px);
  margin: var(--space-s) auto 0;
}

.front-page .video-showcase {
  padding-top: var(--space-l);
  padding-bottom: var(--space-l);
}

.front-page .video-showcase .video-showcase__frame {
  margin: 0 auto;
  max-width: min(100%, 960px);
}

.front-page .embed-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin: var(--space-l) auto;
  position: relative;
  max-width: min(100%, 720px);
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
}

.front-page .embed-frame .wp-block-embed__wrapper,
.front-page .embed-frame iframe,
.front-page .embed-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.front-page .embed-frame video {
  object-fit: cover;
  background: #000;
}

.front-page .embed-frame .wp-block-embed__wrapper {
  margin: 0;
}

.front-page .embed-frame__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: var(--space-l);
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.front-page .embed-frame__placeholder a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.front-page .lesson-lists {
  display: grid;
  gap: var(--space-l);
}

.post-layout .lesson-page-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.9rem);
}

.post-layout .lesson-page > .post-archive-header,
.post-layout .lesson-page > .post-detail-title,
.post-layout .lesson-page > .lesson-page-stack {
  max-width: min(100%, 980px);
  margin-left: auto;
  margin-right: auto;
}

.post-layout .lesson-topic {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.post-layout .lesson-topic + .lesson-topic {
  padding-top: clamp(0.85rem, 1.8vw, 1.35rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.post-layout .lesson-topic__body {
  display: grid;
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
}

.post-layout .lesson-page .gp-card {
  border-radius: 1rem;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: #ffffff;
  box-shadow: none;
}

.post-layout .lesson-topic__body > .gp-card {
  margin-bottom: 0;
  max-width: none;
}

.post-layout .lesson-section-card {
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
}

.post-layout .lesson-section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-heading);
  font-size: clamp(1.18rem, 2vw, 1.38rem);
  font-weight: 600;
  line-height: 1.45;
}

.post-layout .lesson-section-heading::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: rgba(26, 26, 26, 0.12);
}

.post-layout .lesson-section-heading--plain {
  display: block;
  margin-bottom: 0.9rem;
}

.post-layout .lesson-section-heading--plain::after {
  content: none;
}

.post-layout .lesson-section-heading--center {
  justify-content: center;
  text-align: center;
}

.post-layout .lesson-section-heading--center::before,
.post-layout .lesson-section-heading--center::after {
  content: '';
  flex: 0 1 clamp(2.5rem, 10vw, 4.5rem);
  height: 1px;
}

.lessons-group__intro .note {
  font-weight: 600;
}

.post-layout .lesson-section-heading--center::before {
  background: rgba(26, 26, 26, 0.12);
}

.post-layout .lesson-section-heading--center::after {
  background: rgba(26, 26, 26, 0.12);
}

.post-layout .lesson-roadmap {
  background: #ffffff;
}

.post-layout .lesson-section-card--audience,
.post-layout .lesson-roadmap {
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
}

.post-layout .lesson-section-lead {
  margin: 0 0 0.9rem;
  color: var(--color-text-light);
  line-height: 1.72;
}

.post-layout .lesson-roadmap__lead {
  margin: 0 0 0.8rem;
  text-align: left;
  color: var(--color-text-light);
  line-height: 1.72;
}

.post-layout .lesson-roadmap__flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.post-layout .lesson-roadmap__step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(0.85rem, 1.8vw, 1rem);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.post-layout .lesson-roadmap__header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.post-layout .lesson-roadmap__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
}

.post-layout .lesson-roadmap__image {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 0.72rem;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: #fcfaf9;
  margin: 0;
}

.post-layout .lesson-roadmap__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-layout .lesson-roadmap__step-number {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--color-text-light);
  font-weight: 700;
}

.post-layout .lesson-roadmap__period {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.post-layout .lesson-roadmap__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  line-height: 1.55;
}

.post-layout .lesson-roadmap__body {
  display: grid;
  grid-template-columns: minmax(7.2rem, 8.4rem) minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
}

.post-layout .lesson-roadmap__description {
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.65;
}

.post-layout .lesson-plan-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
}

.post-layout .lesson-audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}

.post-layout .lesson-section-card--audience,
.post-layout .lesson-section-card--faq {
  display: grid;
  gap: 0.7rem;
}

.post-layout .lesson-section-card--audience {
  gap: 0.6rem;
}

.post-layout .lesson-audience-list li,
.post-layout .lesson-plan-item {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
  padding: clamp(0.8rem, 1.8vw, 0.95rem);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: none;
}

.post-layout .lesson-audience-card {
  gap: 0.8rem;
  align-items: center;
}

.post-layout .lesson-audience-card--with-image {
  grid-template-columns: minmax(6.4rem, 7.2rem) minmax(0, 1fr);
}

.post-layout .lesson-audience-card--text-only {
  gap: 0;
}

.post-layout .lesson-target-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 0.72rem;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: #fcfaf9;
}

.post-layout .lesson-target-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-layout .lesson-audience-text {
  margin: 0;
  line-height: 1.62;
  text-align: left;
}

.post-layout .lesson-plan-title {
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.8vw, 1.12rem);
  line-height: 1.55;
  margin: 0;
}

.post-layout .lesson-plan-text {
  margin: 0;
  line-height: 1.65;
  color: var(--color-text-light);
}

.post-layout .lesson-page-cta {
  justify-content: center;
  margin-top: 0;
}

.post-layout .lesson-page-cta-card {
  display: grid;
  gap: 0.65rem;
}

.post-layout .lesson-page-quick-cta-card {
  display: grid;
  gap: 0.65rem;
}

.post-layout .lesson-page-cta__note {
  margin: 0;
  max-width: 34rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.post-layout .lesson-page-quick-cta__note {
  margin: 0;
  max-width: 34rem;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-text-light);
}

.post-layout .lesson-page-quick-cta {
  justify-content: center;
  margin-top: 0;
}

.post-layout .lesson-section-card--fee {
  display: grid;
  gap: 0.75rem;
}

.post-layout .lesson-price-layout,
.post-layout .lesson-price-summary {
  display: grid;
}

.post-layout .lesson-price-layout {
  gap: 0.95rem;
}

.post-layout .lesson-price-summary {
  gap: 0.35rem;
}

.post-layout .lesson-price-summary__amount {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  line-height: 1.25;
}

.post-layout .lesson-price-summary__caption {
  margin: 0;
  font-size: var(--text-s);
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

.post-layout .lesson-price-summary__note {
  margin: 0.25rem 0 0;
  line-height: 1.7;
  color: var(--color-text-light);
}

.post-layout .lesson-plan-summary {
  display: grid;
  gap: 0.65rem;
}

.post-layout .lesson-plan-summary__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.9vw, 1.24rem);
  line-height: 1.55;
}

.post-layout .lesson-faq-list {
  display: grid;
  gap: 0.12rem;
}

.post-layout .lesson-faq-item {
  display: grid;
}

.post-layout .lesson-faq-question {
  width: 100%;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 0.85rem;
  background: #ffffff;
  overflow: hidden;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.72rem 0.9rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.55;
}

.post-layout .lesson-faq-question.is-active {
  border-color: rgba(26, 26, 26, 0.18);
  background: #ffffff;
}

.post-layout .lesson-faq-question::after {
  content: '+';
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--color-text-light);
  font-size: 1.2rem;
  line-height: 1;
}

.post-layout .lesson-faq-question.is-active::after {
  content: '−';
}

.post-layout .lesson-faq-marker {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.post-layout .lesson-faq-marker--question {
  color: var(--color-text);
}

.post-layout .lesson-faq-marker--answer {
  color: var(--color-text-light);
}

.post-layout .lesson-faq-question-text {
  min-width: 0;
}

.post-layout .lesson-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease, margin-top 0.28s ease;
}

.post-layout .lesson-faq-panel.is-active {
  grid-template-rows: 1fr;
  margin-top: 0.15rem;
}

.post-layout .lesson-faq-answer {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 0.85rem;
  background: #ffffff;
  color: var(--color-text-light);
  line-height: 1.68;
  opacity: 0;
  transform: translateY(-0.2rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.post-layout .lesson-faq-panel.is-active .lesson-faq-answer {
  opacity: 1;
  transform: translateY(0);
}

.post-layout .lesson-faq-answer p {
  margin: 0;
}

@media (min-width: 768px) {
  .front-page .lesson-lists {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-layout .lesson-roadmap__flow {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .post-layout .lesson-roadmap__step {
    display: grid;
    grid-template-columns: minmax(9rem, 10.6rem) minmax(0, 1fr);
    gap: 0.45rem 1.15rem;
    align-items: center;
  }

  .post-layout .lesson-roadmap__body {
    display: contents;
  }

  .post-layout .lesson-roadmap__header {
    grid-column: 2;
    margin-bottom: 0;
  }

  .post-layout .lesson-roadmap__image {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
  }

  .post-layout .lesson-roadmap__description {
    grid-column: 2;
  }

  .post-layout .lesson-roadmap__image img {
    padding: 0;
  }

}

@media (min-width: 900px) {
  .post-layout .lesson-audience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-layout .lesson-audience-card--with-image {
    grid-template-columns: minmax(7.2rem, 8.2rem) minmax(0, 1fr);
  }

  .post-layout .lesson-price-layout {
    grid-template-columns: minmax(14rem, 0.62fr) minmax(0, 1fr);
    align-items: start;
  }

  .post-layout .lesson-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .post-layout .lesson-roadmap__image {
    width: 100%;
  }
}

@media (min-width: 1380px) {
  .post-layout .lesson-roadmap__flow {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .post-layout .lesson-roadmap__image {
    width: 100%;
  }
}

.front-page .lesson-fee {
  text-align: center;
}

.front-page .lesson-fee strong {
  font-size: 2rem;
  display: block;
}

.post-layout .sec {
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
  padding-left: clamp(1.5rem, 4vw, var(--space-xl));
  padding-right: clamp(1.5rem, 4vw, var(--space-xl));
}

.post-archive-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.post-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-s);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-s);
}

.post-eyebrow a {
  text-decoration: none;
  color: inherit;
}

.post-eyebrow a:hover {
  text-decoration: underline;
}

.single-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-l);
}

.single-links .post-eyebrow {
  margin-bottom: 0;
}

.post-list {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
}

.post-archive .post-list {
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
}



.post-list-item {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.post-list .gp-card,
.post-list .flat-card {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.post-detail-meta {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-s);
}

.post-list-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: var(--space-s);
}

.post-type-archive-lesson_blog .post-list-title,
.single-lesson_blog .post-list-title {
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.45;
}

.post-list-title a {
  text-decoration: none;
}

.post-list-title a:hover {
  text-decoration: underline;
}

.post-list-excerpt {
  color: var(--color-text-light);
  margin: 0;
  flex: 1 0 auto;
}

.post-single-card {
  padding: var(--space-xl);
}

.post-detail-title {
  text-align: center;
  margin-bottom: var(--space-l);
}

.single-lesson_blog .post-detail-title {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.38;
}

.post-featured {
  margin: 0 0 var(--space-l);
}

.post-featured img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.post-content {
  line-height: 1.9;
  color: var(--color-text);
}

.post-content > *:last-child {
  margin-bottom: 0;
}

.post-closing-note {
  margin-top: var(--space-l);
  margin-bottom: 0;
  padding-top: var(--space-m);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.lesson-blog-line-cta {
  margin-top: var(--space-l);
  padding: var(--space-m);
  border-radius: var(--radius-lg);
  background: #f4fff8;
  text-align: center;
}

.lesson-blog-line-cta__note {
  margin: 0 0 var(--space-m);
  color: var(--color-text-light);
}

.post-layout .lesson-blog-line-cta__actions {
  margin-top: 0;
}

.post-back-link {
  margin-top: var(--space-xl);
  text-align: center;
}

.post-archive .post-back-link {
  margin-top: var(--space-xxl);
}

.post-back-link--double {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
}

.error-404-card {
  text-align: center;
}

.error-404-note {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
  margin-top: var(--space-l);
}

.post-nav-wrapper {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-decoration: none;
  padding: var(--space-m);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fffefe;
  color: inherit;
}

.post-nav-link span {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.post-pagination {
  margin-top: var(--space-xl);
}

.front-page .btn-pill,
.post-layout .btn-pill {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-bg);
  background: var(--color-text);
  border: 1px solid var(--color-text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}

.front-page .btn-pill:hover,
.post-layout .btn-pill:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.front-page .btn-pill.btn-outline,
.post-layout .btn-pill.btn-outline {
  color: var(--color-text);
  background: transparent;
}

.front-page .btn-pill.btn-outline:hover,
.post-layout .btn-pill.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.front-page .btn-pill.btn-pill--line,
.post-layout .btn-pill.btn-pill--line {
  padding: 0.68rem 2.2rem;
  color: #fff;
  background: #06c755;
  border-color: #06c755;
}

.front-page .btn-pill.btn-pill--line:hover,
.front-page .btn-pill.btn-pill--line:focus,
.post-layout .btn-pill.btn-pill--line:hover,
.post-layout .btn-pill.btn-pill--line:focus {
  color: #fff;
  background: #05b04b;
  border-color: #05b04b;
}

.front-page .contact form,
.front-page .contact .wpcf7 {
  text-align: left;
}

.front-page .contact-line-cta {
  margin: 0 0 var(--space-l);
}

.front-page .contact-line-note {
  margin-bottom: var(--space-s);
}

.front-page .contact .contact-fallback {
  margin: 0;
  text-align: center;
}

.front-page .contact label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.front-page .contact input[type="text"],
.front-page .contact input[type="email"],
.front-page .contact input[type="tel"],
.front-page .contact textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.front-page .contact input:focus,
.front-page .contact textarea:focus {
  outline: none;
  border-color: var(--color-text);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.front-page .contact input[type="submit"] {
  border: none;
  margin-top: var(--space-m);
}

.site-footer--lp {
  background: #fff1f5;
  padding: var(--space-xl) var(--space-m);
  box-shadow: inset 0 1px rgba(255, 160, 190, 0.35);
}

.lp-footer {
  max-width: var(--width-content);
  margin: 0 auto;
  text-align: center;
}

.lp-footer__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.lp-footer__meta {
  font-family: var(--font-heading);
  font-size: var(--text-s);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-m);
  color: var(--color-text-light);
}

.lp-footer__copy {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin: 0;
}


@media (max-width: 1100px) {
  .front-page .performance-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-list,
  .post-archive .post-list {
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
    --space-xxxl: 4rem;
  }

  .lp-body {
    line-height: 1.7;
  }

  .front-page .sec {
    padding: var(--space-xl) var(--space-m);
  }

  .front-page .gp-card,
  .front-page .flat-card {
    padding: var(--space-l);
  }

  .front-page .lesson-lists {
    grid-template-columns: 1fr;
  }

  .front-page .performance-gallery {
    grid-template-columns: 1fr;
  }

  .post-list,
  .post-archive .post-list {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  #profile .profile-heading {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  #profile .profile-heading__meta {
    font-size: 0.78em;
  }

  .lp-floating-nav {
    right: 0.75rem;
    width: min(14rem, calc(100vw - 1.5rem));
  }

  .lp-floating-nav ul {
    flex-direction: column;
    gap: 0.2rem;
    overflow: visible;
    white-space: normal;
  }

  .lp-floating-nav a {
    font-size: clamp(0.82rem, 3.3vw, 0.9rem);
    letter-spacing: 0.03em;
    padding: 0.72rem 0.78rem;
  }

  .front-page .embed-frame {
    padding-top: 56.25%;
  }

  .hero-sec::before {
    width: 380px;
    height: 380px;
    top: -180px;
    right: -50px;
  }

  .hero-sec::after {
    width: 260px;
    height: 260px;
    bottom: -60px;
  }

  .hero-sec .hero-columns::before {
    width: 220px;
    height: 220px;
    top: auto;
    bottom: 10%;
    left: 60%;
    opacity: 0.4;
  }

  #profile h3,
  #profile p,
  #lessons h3 {
    text-align: center;
  }
}
