/* ============================================================
   SUGAR FLOWER COURSE SITE — style.css
   Editorial · Feminine · Sophisticated
   ============================================================ */

/* 1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  --c-bg:        #FAFAF8;
  --c-white:     #FFFFFF;
  --c-surface:   #F4F0E8;
  --c-lilac-bg:  #F2EBF8;
  --c-lilac:     #B8A4CC;
  --c-lilac-dk:  #8870A8;
  --c-green:     #8A9E84;
  --c-green-dk:  #607858;
  --c-gold:      #B48838;
  --c-gold-lt:   #D8C080;
  --c-ink:       #1A1816;     /* near-black for editorial */
  --c-text:      #2A2820;
  --c-text-md:   #5C5650;
  --c-text-lt:   #9A9490;
  --c-border:    #DDD4E0;
  --c-border-lt: #EDE6F4;

  --ff-display: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --ff-body:    'Noto Serif JP', 'Yu Mincho', '游明朝', Georgia, serif;

  --sp-4:  8px;
  --sp-6:  12px;
  --sp-8:  16px;
  --sp-10: 20px;
  --sp-12: 24px;
  --sp-16: 32px;
  --sp-20: 40px;
  --sp-24: 48px;
  --sp-32: 64px;
  --sp-40: 80px;
  --sp-48: 96px;
  --sp-56: 112px;

  --r-sm:  4px;
  --r-md:  10px;
  --r-lg:  18px;
  --r-xl:  28px;

  --shadow-sm: 0 2px 12px rgba(26,24,22,.05);
  --shadow-md: 0 6px 28px rgba(26,24,22,.09);
  --shadow-lg: 0 14px 48px rgba(26,24,22,.13);
}

/* 2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.85;
  font-size: 20px;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* 3. LAYOUT
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 600px) {
  .container { padding: 0 24px; }
}

.section { padding: var(--sp-48) 0; }

@media (min-width: 1024px) {
  .section { padding: var(--sp-56) 0; }
}

.section--alt     { background-color: var(--c-lilac-bg); }
.section--surface { background-color: var(--c-surface); }
.section--ink     { background-color: var(--c-ink); color: var(--c-white); }

/* Editorial section header */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-32);
}

@media (min-width: 768px) {
  .section-header { margin-bottom: var(--sp-40); }
}

.section-header__eyebrow {
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-header__eyebrow::before,
.section-header__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--c-gold-lt);
}

.section-header__title {
  font-size: clamp(28px, 5vw, 44px);
  color: var(--c-ink);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.section-header__text {
  font-size: 20px;
  color: var(--c-text-md);
  margin-top: var(--sp-10);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

/* 4. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 2px;          /* minimal radius — more editorial */
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: 0.12em;
  font-weight: 400;
  transition: all 0.3s ease;
  line-height: 1.2;
  text-align: center;
  min-width: 220px;
}

.btn--primary {
  background-color: var(--c-ink);
  color: var(--c-white);
  border: 1.5px solid var(--c-ink);
}
.btn--primary:hover { background-color: #3A3630; border-color: #3A3630; }

.btn--secondary {
  background-color: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-ink);
}
.btn--secondary:hover { background-color: var(--c-ink); color: var(--c-white); }

.btn--gold {
  background-color: var(--c-gold);
  color: var(--c-white);
  border: 1.5px solid var(--c-gold);
}
.btn--gold:hover { background-color: #9A7030; border-color: #9A7030; }

.btn--outline-gold {
  background-color: transparent;
  color: var(--c-gold);
  border: 1.5px solid var(--c-gold);
}
.btn--outline-gold:hover { background-color: var(--c-gold); color: var(--c-white); }

.btn--line {
  background-color: #06C755;
  color: var(--c-white);
  border: 1.5px solid #06C755;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 2px;
}
.btn--line:hover { background-color: #05A848; border-color: #05A848; }

/* 5. IMAGE PLACEHOLDERS  (仮写真エリア)
   ============================================================
   Real photos: just replace this div with <img> or
   set background-image on the element.
   ============================================================ */
.photo-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

/* Subtle grain texture overlay */
.img-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}

.img-ph__icon {
  font-size: 32px;
  line-height: 1;
  opacity: 0.45;
  position: relative;
  z-index: 1;
}

.img-ph__label {
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.45;
  position: relative;
  z-index: 1;
}

/* Category-specific gradients */
.img-ph--hero    { background: linear-gradient(160deg, #EEE0EA 0%, #E4D4DC 50%, #DCC8D4 100%); color: #9A7888; }
.img-ph--01      { background: linear-gradient(155deg, #F0E4EE 0%, #E8D4EC 100%); color: #9A7AA8; }
.img-ph--02      { background: linear-gradient(155deg, #E4EEE4 0%, #D4E8D4 100%); color: #607858; }
.img-ph--03      { background: linear-gradient(155deg, #F0E8DC 0%, #E8D8C4 100%); color: #9A7848; }
.img-ph--04      { background: linear-gradient(155deg, #DDE8DC 0%, #CCDCC8 100%); color: #507050; }
.img-ph--05      { background: linear-gradient(155deg, #F0EDD8 0%, #E8E0C0 100%); color: #907838; }
.img-ph--06      { background: linear-gradient(155deg, #F0EAF4 0%, #E8DFF0 100%); color: #7860A0; }
.img-ph--wreath  { background: linear-gradient(155deg, #D8E8D4 0%, #C8DCC4 100%); color: #507050; }
.img-ph--cake    { background: linear-gradient(155deg, #F0ECD4 0%, #E4E0C0 100%); color: #907038; }

/* 6. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-lt);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-header__logo-en {
  font-family: var(--ff-display);
  font-size: 18px;
  color: var(--c-ink);
  letter-spacing: 0.12em;
  font-style: italic;
}

.site-header__logo-ja {
  font-size: 11px;
  color: var(--c-text-md);
  letter-spacing: 0.15em;
}

.site-header__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -10px;
}

.site-header__toggle-line {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--c-ink);
  transition: all 0.3s ease;
  transform-origin: center;
}

.site-header__toggle.is-active .site-header__toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header__toggle.is-active .site-header__toggle-line:nth-child(2) { opacity: 0; }
.site-header__toggle.is-active .site-header__toggle-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border-lt);
  padding: var(--sp-6) 0 var(--sp-10);
  z-index: 199;
  box-shadow: var(--shadow-md);
}

.site-nav.is-open { display: block; }
.site-nav__list { display: flex; flex-direction: column; }

.site-nav__link {
  display: block;
  padding: 14px 24px;
  font-size: 20px;
  font-family: var(--ff-body);
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border-lt);
  transition: color 0.2s, background 0.2s;
}
.site-nav__link:last-child { border-bottom: none; }
.site-nav__link:hover,
.site-nav__link.is-current { color: var(--c-gold); background: var(--c-surface); }

@media (min-width: 1040px) {
  .site-header__toggle { display: none; }

  .site-nav {
    display: block !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .site-nav__list { flex-direction: row; gap: 0; }

  .site-nav__link {
    padding: 8px 14px;
    font-size: 14px;
    letter-spacing: 0.04em;
    border-bottom: none;
    border-radius: 0;
    position: relative;
  }

  .site-nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px; right: 14px;
    height: 1px;
    background: var(--c-gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }

  .site-nav__link:hover,
  .site-nav__link.is-current { color: var(--c-gold); background: transparent; }

  .site-nav__link:hover::after,
  .site-nav__link.is-current::after { transform: scaleX(1); }
}

/* 7. HERO — editorial split layout
   ============================================================ */
.hero {
  background-color: var(--c-bg);
  overflow: hidden;
  padding: var(--sp-16) 0 var(--sp-40);
}

@media (min-width: 900px) {
  .hero { padding: 0; min-height: 88vh; display: flex; align-items: stretch; }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 44fr 56fr;
    gap: 0;
    min-height: 88vh;
    align-items: stretch;
  }
}

.hero__content {
  padding: var(--sp-16) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero__content {
    padding: var(--sp-48) var(--sp-24) var(--sp-48) 0;
  }
}

.hero__eyebrow {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: var(--sp-8);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--c-gold);
}

.hero__title {
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  margin-bottom: var(--sp-8);
}

.hero__title em {
  font-style: italic;
  color: var(--c-gold);
}

.hero__subtitle {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--c-text-md);
  margin-bottom: var(--sp-12);
  font-style: italic;
  letter-spacing: 0.04em;
}

.hero__divider {
  width: 48px;
  height: 1px;
  background: var(--c-gold);
  margin-bottom: var(--sp-12);
}

.hero__text {
  font-size: 20px;
  color: var(--c-text-md);
  line-height: 2;
  margin-bottom: var(--sp-20);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

@media (min-width: 480px) {
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
}

/* Hero visual / photo area */
.hero__visual {
  position: relative;
  overflow: hidden;
}

@media (max-width: 899px) {
  .hero__visual {
    order: -1;
    aspect-ratio: 3/4;
    border-radius: var(--r-lg);
  }
}

@media (min-width: 900px) {
  .hero__visual {
    height: 88vh;
    min-height: 600px;
    margin-right: -24px; /* bleed to edge */
  }
}

.hero__visual .img-ph {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

@media (max-width: 899px) {
  .hero__visual .img-ph { border-radius: var(--r-lg); }
}

/* 8. COURSE MAP / FLOW
   ============================================================ */
.flow { display: flex; flex-direction: column; align-items: center; }
.flow__item { width: 100%; max-width: 720px; }

.flow__arrow {
  font-size: 24px;
  color: var(--c-gold-lt);
  padding: 6px 0;
  text-align: center;
  line-height: 1;
}

.flow__step {
  background: var(--c-white);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-lg);
  padding: var(--sp-16) var(--sp-16) var(--sp-16) var(--sp-20);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.flow__step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* Full-bleed photo at top of each step card */
.flow__step-img {
  margin: calc(-1 * var(--sp-16)) calc(-1 * var(--sp-16)) var(--sp-12) calc(-1 * var(--sp-20));
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.flow__step-img .img-ph { width: 100%; height: 100%; }

.flow__step::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}

.flow__step--01::before { background: #C4AECF; }
.flow__step--02::before { background: #8EA888; }
.flow__step--03::before { background: #C09050; }
.flow__step--04::before { background: #6A8A64; }
.flow__step--05::before { background: #B8904A; }
.flow__step--06::before { background: #9B70B5; }

.flow__step-header {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.flow__step-num {
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-text-lt);
}

.flow__step-tag {
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

.flow__step-tag--entry    { background: #F0E8F5; color: #9B70B5; }
.flow__step-tag--beginner { background: #E8F5E8; color: #508050; }
.flow__step-tag--advanced { background: #FFF3E8; color: #A86030; }
.flow__step-tag--work     { background: #E8F5EC; color: #407050; }
.flow__step-tag--cake     { background: #FFF8E0; color: #907030; }
.flow__step-tag--wedding  { background: #F5EEF8; color: #7850A0; }

.flow__step-title {
  font-size: clamp(22px, 4vw, 28px);
  color: var(--c-ink);
  margin-bottom: var(--sp-4);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.flow__step-courses { font-size: 18px; color: var(--c-text-md); margin-bottom: var(--sp-4); line-height: 1.7; }
.flow__step-desc    { font-size: 20px; color: var(--c-text-md); margin-bottom: var(--sp-8); line-height: 1.8; }

.flow__step-link {
  font-family: var(--ff-display);
  font-size: 16px;
  color: var(--c-gold);
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}
.flow__step-link:hover { opacity: 0.65; }

/* 9. START GUIDE
   ============================================================ */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 840px;
  margin: 0 auto;
}

@media (min-width: 580px) { .guide-grid { grid-template-columns: 1fr 1fr; } }

.guide-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-md);
  padding: var(--sp-10) var(--sp-12);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.guide-card:hover { border-color: var(--c-gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.guide-card__label { font-size: 20px; color: var(--c-text-md); line-height: 1.4; }
.guide-card__arrow { font-family: var(--ff-display); font-size: 18px; color: var(--c-gold-lt); }
.guide-card__dest  { font-family: var(--ff-display); font-size: 17px; color: var(--c-gold); text-align: right; line-height: 1.4; }

/* 10. CATEGORY CARDS — portrait editorial style
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 680px) { .category-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cat-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border-lt);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }

/* Portrait image area */
.cat-card__img { aspect-ratio: 3 / 4; overflow: hidden; }
.cat-card__img .img-ph { width: 100%; height: 100%; }

.cat-card__body {
  padding: var(--sp-12) var(--sp-12) var(--sp-16);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-card__step {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.cat-card__title {
  font-size: clamp(20px, 3vw, 24px);
  color: var(--c-ink);
  margin-bottom: var(--sp-8);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.cat-card__text {
  font-size: 20px;
  color: var(--c-text-md);
  line-height: 1.85;
  margin-bottom: var(--sp-8);
}

.cat-card__audience {
  margin-bottom: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-card__audience li {
  font-size: 20px;
  color: var(--c-text-md);
  padding-left: var(--sp-8);
  position: relative;
  line-height: 1.6;
}
.cat-card__audience li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-gold-lt);
  font-family: var(--ff-display);
}

.cat-card__courses {
  font-size: 18px;
  color: var(--c-text-lt);
  margin-bottom: var(--sp-10);
  padding: var(--sp-6) var(--sp-8);
  background: var(--c-surface);
  border-radius: var(--r-sm);
  line-height: 1.7;
  border-left: 2px solid var(--c-gold-lt);
}

.cat-card__link {
  margin-top: auto;
  font-family: var(--ff-display);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--c-ink);
  transition: color 0.2s;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border-lt);
  display: block;
}
.cat-card__link:hover { color: var(--c-gold); }

/* 11. AVAILABLE / NOTICE BOX
   ============================================================ */
.available-box {
  background: var(--c-white);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-xl);
  padding: var(--sp-24) var(--sp-24);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.available-box__icon { font-size: 38px; margin-bottom: var(--sp-8); }

.available-box__title { font-size: clamp(22px, 4vw, 30px); margin-bottom: var(--sp-8); }

.available-box__text { font-size: 20px; color: var(--c-text-md); margin-bottom: var(--sp-16); line-height: 1.95; }

/* 12. FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-12);
  font-family: var(--ff-body);
  font-size: 20px;
  color: var(--c-text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1.65;
}
.faq-item__question:hover { background: var(--c-surface); }

.faq-item__q-label { flex-shrink: 0; font-family: var(--ff-display); font-size: 22px; color: var(--c-gold); line-height: 1.5; }
.faq-item__q-text  { flex: 1; }

.faq-item__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--c-text-lt);
  transition: all 0.25s;
  margin-top: 2px;
}
.faq-item.is-open .faq-item__icon { background: var(--c-gold); border-color: var(--c-gold); color: white; transform: rotate(45deg); }

.faq-item__answer { display: none; padding: 0 var(--sp-12) var(--sp-12); border-top: 1px solid var(--c-border-lt); }
.faq-item.is-open .faq-item__answer { display: block; }

.faq-item__a-inner { display: flex; gap: var(--sp-8); padding-top: var(--sp-8); }
.faq-item__a-label { flex-shrink: 0; font-family: var(--ff-display); font-size: 22px; color: var(--c-lilac); line-height: 1.5; }
.faq-item__a-text  { font-size: 20px; color: var(--c-text-md); line-height: 1.9; }

/* 13. LESSON CARDS (募集中)
   ============================================================ */
.lesson-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-20);
}

@media (min-width: 640px)  { .lesson-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lesson-list { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.lesson-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.lesson-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.lesson-card--closed {
  opacity: 0.55;
}

.lesson-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-family: var(--ff-display);
  padding: 4px 12px;
  border-radius: 2px;
  align-self: flex-start;
}

.lesson-card__status--open   { background: #E8F5E8; color: #3A7A3A; }
.lesson-card__status--few    { background: #FFF3E0; color: #A06010; }
.lesson-card__status--closed { background: #F0F0EE; color: #888880; }
.lesson-card__status--soon   { background: var(--c-lilac-bg); color: var(--c-lilac-dk); }
.lesson-card__status--tbd    { background: #F0F0EE; color: #888880; }

.lesson-card__category {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--c-gold);
  font-family: var(--ff-display);
  text-transform: uppercase;
}

.lesson-card__title {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--c-ink);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.lesson-card__date {
  font-size: 18px;
  color: var(--c-text-md);
  line-height: 1.6;
}

.lesson-card__date-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-text-lt);
  font-family: var(--ff-display);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.lesson-card__spots {
  font-size: 18px;
  color: var(--c-text-lt);
  margin-top: auto;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border-lt);
}

.lesson-card__spots-num {
  color: var(--c-gold);
  font-family: var(--ff-display);
  font-size: 22px;
}

.lesson-card__note {
  font-size: 18px;
  color: var(--c-text-lt);
  line-height: 1.7;
}

/* loading / empty states */
.lesson-list__loading,
.lesson-list__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-24);
  color: var(--c-text-lt);
  font-size: 20px;
}

.available-cta {
  text-align: center;
  padding-top: var(--sp-12);
  border-top: 1px solid var(--c-border-lt);
}
.available-cta__text {
  font-size: 20px;
  color: var(--c-text-md);
  margin-bottom: var(--sp-10);
}

/* 13-B. LINE SECTION
   ============================================================ */
.line-section { background: linear-gradient(150deg, #243824 0%, #1A2C1A 100%); color: var(--c-white); text-align: center; }
.line-section__inner { max-width: 640px; margin: 0 auto; }
.line-section__icon  { font-size: 50px; margin-bottom: var(--sp-8); display: block; }
.line-section__title { font-size: clamp(26px, 4.5vw, 38px); color: var(--c-white); margin-bottom: var(--sp-8); }
.line-section__text  { font-size: 20px; color: rgba(255,255,255,0.80); margin-bottom: var(--sp-16); line-height: 1.9; }

/* 14. FOOTER
   ============================================================ */
.site-footer { background: #1A1816; color: rgba(255,255,255,0.6); padding: var(--sp-32) 0 var(--sp-12); }

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}

@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.site-footer__brand-name { font-family: var(--ff-display); font-size: 20px; color: white; margin-bottom: 6px; letter-spacing: 0.12em; font-style: italic; }
.site-footer__brand-desc { font-size: 18px; line-height: 1.8; }

.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px var(--sp-8); max-width: 480px; }
.site-footer__nav-link { font-size: 18px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.site-footer__nav-link:hover { color: var(--c-gold-lt); }

.site-footer__copy { text-align: center; font-size: 12px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--sp-10); margin-top: var(--sp-16); color: rgba(255,255,255,0.35); letter-spacing: 0.08em; }

/* 15. BREADCRUMB
   ============================================================ */
.breadcrumb { padding: var(--sp-6) 0; font-size: 18px; color: var(--c-text-lt); }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb__item { display: flex; align-items: center; gap: 6px; }
.breadcrumb__item::after { content: '›'; color: var(--c-text-lt); }
.breadcrumb__item:last-child::after { display: none; }
.breadcrumb__link { color: var(--c-text-lt); transition: color 0.2s; }
.breadcrumb__link:hover { color: var(--c-gold); }
.breadcrumb__current { color: var(--c-text-md); }

/* 16. CATEGORY PAGE HERO — editorial split
   ============================================================ */
.page-hero {
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-border-lt);
  overflow: hidden;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.page-hero__content {
  padding: var(--sp-16) 0 var(--sp-32);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 860px) {
  .page-hero__content { padding: var(--sp-48) var(--sp-24) var(--sp-48) 0; }
}

.page-hero__eyebrow {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-hero__eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--c-gold); }

.page-hero__title {
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  margin-bottom: var(--sp-8);
}

.page-hero__subtitle {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--c-text-md);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-12);
}

.page-hero__text {
  font-size: 20px;
  color: var(--c-text-md);
  max-width: 520px;
  line-height: 2;
}

/* Photo side */
.page-hero__visual {
  overflow: hidden;
}

@media (max-width: 859px) {
  .page-hero__visual {
    order: -1;
    aspect-ratio: 3/4;
    border-radius: var(--r-lg);
    margin-top: 0;
    margin-bottom: var(--sp-8);
  }
}

@media (min-width: 860px) {
  .page-hero__visual {
    min-height: 560px;
    margin-right: -24px;
    margin-top: 0;
  }
}

.page-hero__visual .img-ph { width: 100%; height: 100%; }
@media (max-width: 859px) {
  .page-hero__visual .img-ph { border-radius: var(--r-lg); }
}

/* 17-A. FEATURES STRIP (INDEX PAGE)
   ============================================================ */
.features-strip {
  background: var(--c-ink);
  padding: var(--sp-40) 0;
}

@media (min-width: 900px) {
  .features-strip { padding: var(--sp-48) 0; }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
  padding: var(--sp-16) var(--sp-12) var(--sp-20);
  border-top: 1px solid rgba(255,255,255,0.12);
  position: relative;
}

@media (min-width: 640px) {
  .feature-item {
    padding: var(--sp-12) var(--sp-20) var(--sp-12) 0;
    border-top: none;
    border-right: 1px solid rgba(255,255,255,0.12);
  }
  .feature-item:last-child { border-right: none; padding-right: 0; }
  .feature-item + .feature-item { padding-left: var(--sp-20); }
}

.feature-item__num {
  font-family: var(--ff-display);
  font-size: 42px;
  font-style: italic;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: var(--sp-8);
  display: block;
  opacity: 0.85;
}

.feature-item__title {
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--c-white);
  margin-bottom: var(--sp-6);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.feature-item__text {
  font-size: 20px;
  color: rgba(255,255,255,0.58);
  line-height: 1.9;
}

/* 17. CONTENT BLOCKS (CATEGORY PAGES)
   ============================================================ */
.content-block { padding: var(--sp-24) 0; border-bottom: 1px solid var(--c-border-lt); }
.content-block:last-child { border-bottom: none; }

.content-block__title {
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--c-border-lt);
  color: var(--c-ink);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.content-block__title::before {
  content: '';
  display: block;
  width: 3px;
  height: 1.15em;
  background: var(--c-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.content-block__text { font-size: 20px; color: var(--c-text-md); line-height: 2; max-width: 820px; }

/* Lists */
.learn-list, .audience-list { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }

.learn-list li, .audience-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  font-size: 20px;
  color: var(--c-text-md);
  line-height: 1.8;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border-lt);
}
.learn-list li:last-child, .audience-list li:last-child { border-bottom: none; }

.learn-list li::before { content: '✿'; color: var(--c-lilac); font-size: 16px; flex-shrink: 0; margin-top: 4px; }
.audience-list li::before { content: '→'; color: var(--c-gold); font-size: 20px; flex-shrink: 0; }

/* Course cards */
.course-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

@media (min-width: 600px) { .course-cards { grid-template-columns: 1fr 1fr; } }

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 600px) { .photo-gallery { grid-template-columns: repeat(3, 1fr); } }
.photo-gallery__item {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.course-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.course-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.course-card__img { aspect-ratio: 4/3; overflow: hidden; }
.course-card__img .img-ph { width: 100%; height: 100%; }

@media (max-width: 599px) {
  .course-card__img { aspect-ratio: 3/4; }
}

.course-card__body { padding: var(--sp-10); }
.course-card__name { font-size: 22px; margin-bottom: 8px; line-height: 1.35; color: var(--c-ink); }
.course-card__desc { font-size: 20px; color: var(--c-text-md); line-height: 1.8; margin-bottom: var(--sp-6); }
.course-card__meta { font-size: 18px; color: var(--c-text-lt); }

/* Difficulty dots */
.difficulty { display: flex; align-items: center; gap: var(--sp-6); margin-top: var(--sp-6); }
.difficulty__label { font-size: 18px; color: var(--c-text-lt); min-width: 50px; }
.difficulty__dots { display: flex; gap: 5px; }
.difficulty__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-border); }
.difficulty__dot.is-on { background: var(--c-gold); }

/* 18. NEXT STEP
   ============================================================ */
.next-step {
  background: linear-gradient(145deg, var(--c-lilac-bg) 0%, var(--c-surface) 100%);
  border-radius: var(--r-xl);
  padding: var(--sp-24) var(--sp-24);
  text-align: center;
  border: 1px solid var(--c-border-lt);
  max-width: 720px;
  margin: var(--sp-32) auto 0;
}

.next-step__label { font-family: var(--ff-display); font-size: 11px; letter-spacing: 0.3em; color: var(--c-text-lt); text-transform: uppercase; margin-bottom: var(--sp-6); }
.next-step__title { font-size: clamp(24px, 4.5vw, 34px); margin-bottom: var(--sp-8); color: var(--c-ink); }
.next-step__text  { font-size: 20px; color: var(--c-text-md); margin-bottom: var(--sp-16); line-height: 1.9; }

/* 19. RELATED STRIP
   ============================================================ */
.related-strip { background: var(--c-surface); border-top: 1px solid var(--c-border-lt); }
.related-strip__title { font-size: 24px; margin-bottom: var(--sp-12); color: var(--c-text-md); }

.related-links { display: flex; flex-wrap: wrap; gap: 10px; }

.related-link {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--c-border);
  border-radius: 2px;
  font-size: 20px;
  color: var(--c-text-md);
  transition: all 0.25s;
  background: var(--c-white);
  letter-spacing: 0.02em;
}
.related-link:hover { border-color: var(--c-gold); color: var(--c-gold); }

/* 20. POSITION BOX
   ============================================================ */
.position-box {
  background: var(--c-white);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-md);
  padding: var(--sp-16);
  border-left: 4px solid var(--c-gold);
}
.position-box p { font-size: 20px; color: var(--c-text-md); line-height: 2; }

/* 21. ANIMATIONS
   ============================================================ */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-in.is-visible { opacity: 1; transform: translateY(0); }
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }
.animate-in:nth-child(6) { transition-delay: 0.5s; }

/* 22. UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-gold   { color: var(--c-gold); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ============================================================
   MOBILE COMPACT LAYOUT (390px base)
   ============================================================ */
@media (max-width: 767px) {
  /* Flow Step (Course Map) */
  .flow__step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0 var(--sp-8);
    padding: var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-12);
  }
  .flow__step::before {
    width: 4px;
  }
  .flow__step-img {
    grid-column: 1;
    grid-row: 1 / 6;
    margin: 0;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-sm);
  }
  .flow__step-header,
  .flow__step-title,
  .flow__step-courses,
  .flow__step-desc,
  .flow__step-link {
    grid-column: 2;
  }
  .flow__step-title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .flow__step-courses {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
  }
  .flow__step-desc {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
  }
  .flow__step-link {
    font-size: 13px;
    padding-top: 4px;
  }

  /* Category Cards */
  .cat-card {
    flex-direction: row;
    align-items: stretch;
  }
  .cat-card__img {
    width: 120px;
    flex-shrink: 0;
    aspect-ratio: auto;
  }
  .cat-card__body {
    padding: var(--sp-8);
    flex: 1;
  }
  .cat-card__title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .cat-card__text {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
  }
  .cat-card__audience li {
    font-size: 13px;
    line-height: 1.4;
    padding-left: 12px;
  }
  .cat-card__courses {
    font-size: 12px;
    padding: 4px 6px;
    margin-bottom: 8px;
  }
  .cat-card__link {
    font-size: 13px;
    margin-top: auto;
  }
}
