/* ============================================================
   NEKONOTE PIANO SCHOOL — styles.css
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --cream: #FAF8F3;
  --warm-beige: #F0EAE0;
  --deep-navy: #0D0D18;
  --navy: #1A1A2E;
  --gold: #C9A84C;
  --gold-dark: #B8932E;
  --border: #E0D8C8;
  --text-mid: #4E4B6A;
  --text-soft: #6B6575;
  --text-muted: #9A8F9C;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --section-padding: 6rem 0;
  --container-max: 1152px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--navy);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.section-6 { padding: var(--section-padding); }
.text-center { text-align: center; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.section-title-white { color: #ffffff; }

.gold-underline {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
}

.gold-underline-left {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 2.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
              transform 0.1s ease, box-shadow 0.1s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
  box-shadow: 3px 4px 0 #8a6a1a, 3px 5px 6px rgba(0,0,0,0.18);
}
.btn-gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 3px 5px 0 #8a6a1a, 3px 6px 8px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}
.btn-gold:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 1px 0 #8a6a1a, 3px 2px 3px rgba(0,0,0,0.15);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border: 1px solid rgba(13, 13, 24, 0.3);
  box-shadow: 3px 4px 0 rgba(13,13,24,0.15), 3px 5px 6px rgba(0,0,0,0.08);
}
.btn-outline:hover {
  background-color: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 3px 5px 0 rgba(13,13,24,0.3), 3px 6px 8px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 1px 0 rgba(13,13,24,0.15), 3px 2px 3px rgba(0,0,0,0.08);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 3px 4px 0 #8a6a1a, 3px 5px 6px rgba(0,0,0,0.1);
}
.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--navy);
  box-shadow: 3px 5px 0 #8a6a1a, 3px 6px 8px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.btn-outline-gold:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 1px 0 #8a6a1a, 3px 2px 3px rgba(0,0,0,0.1);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 3px 4px 0 rgba(0,0,0,0.25), 3px 5px 6px rgba(0,0,0,0.15);
}
.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  box-shadow: 3px 5px 0 rgba(0,0,0,0.3), 3px 6px 8px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}
.btn-outline-white:active {
  transform: translate(3px, 3px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 2px 3px rgba(0,0,0,0.12);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--cream);
  box-shadow: 0 1px 0 var(--border);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.header-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header-logo-jp {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.header-logo-en {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover { color: var(--gold); }

.nav-link.active {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

.header-cta { margin-left: 1.5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background-color: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.mobile-menu.open { display: flex; }

.mobile-nav-link {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover { color: var(--gold); }
.mobile-nav-link.active { color: var(--gold); }
.mobile-menu-cta { margin-top: 1.25rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background-color: var(--warm-beige);
  min-height: 100vh;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-gold-line {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.hero-gold-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4rem 0;
  transform: translateY(-20px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: rgba(13,13,24,0.55);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(13,13,24,0.12);
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.hero-stat {
  flex: 1;
  padding: 0 1.5rem;
  border-right: 1px solid var(--border);
}

.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  display: block;
  margin-bottom: 0.2rem;
  white-space: nowrap;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-soft);
  line-height: 1.4;
}

/* Hero right column */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cat-img {
  width: 60%;
  max-width: 240px;
  margin: 0 auto 1.5rem;
}

.hero-piano-keys {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.hero-piano-gold-line {
  width: 100%;
  max-width: 340px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto;
  opacity: 0.7;
}

.hero-badge {
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(250,248,243,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem 1rem;
  border-radius: 2px;
  text-align: center;
}

.hero-badge-main {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.hero-badge-sub {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 2px;
  color: var(--gold);
}

.hero-piano-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
  display: block;
}

.music-note-deco {
  position: absolute;
  pointer-events: none;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  background-color: var(--cream);
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
}

.feature-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  transition: background-color 0.2s ease;
}

.feature-card:hover { background-color: #F5EDD5; }

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.8;
}

/* ============================================================
   TEACHER INTRO SECTION
   ============================================================ */
.teacher-intro-section {
  background-color: var(--deep-navy);
  padding: var(--section-padding);
}

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

.teacher-intro-photo {
  min-height: 360px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.teacher-intro-content {
  background-color: var(--cream);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teacher-intro-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.teacher-intro-name-en {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  display: block;
}

.teacher-intro-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.teacher-intro-desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.teacher-intro-link {
  font-size: 0.85rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.teacher-intro-link:hover { color: var(--gold-dark); }

/* ============================================================
   LESSON PHOTOS SECTION
   ============================================================ */
.lesson-photos-section {
  background-color: var(--cream);
  padding: var(--section-padding);
}

.lesson-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.lesson-photo-card {
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 2px;
}

.lesson-photo-img-wrap {
  height: 240px;
  overflow: hidden;
}

.lesson-photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.lesson-photo-card:hover .lesson-photo-img-wrap img {
  transform: scale(1.04);
}

.lesson-photo-body { padding: 1.5rem; }

.lesson-photo-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.lesson-photo-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.lesson-photos-link { text-align: center; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  background-color: var(--deep-navy);
  padding: var(--section-padding);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2rem;
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.testimonial-card:hover { border-color: rgba(201,168,76,0.5); }

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.testimonial-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--gold);
  font-style: normal;
}

/* ============================================================
   CTA BANNER SECTION
   ============================================================ */
.cta-banner-section {
  background-color: var(--cream);
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-cat {
  width: 200px;
  margin: 0 auto 1.75rem;

}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 0.875rem;
}

.cta-banner-text {
  font-size: 0.925rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.cta-banner-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  letter-spacing: 0.03em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--deep-navy);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--cream);
  object-fit: cover;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-links a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-links a:hover { color: var(--gold); }

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-info-list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--gold);
  padding: 0.875rem 1.25rem;
  z-index: 900;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}

.mobile-sticky-cta a {
  display: block;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 0.5rem;
}

/* ============================================================
   PAGE HERO (About, Lessons, Contact)
   ============================================================ */
.page-hero {
  background-color: var(--deep-navy);
  padding: 7rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-gold-line {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.page-hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.875rem;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.page-hero-subtitle {
  font-size: 0.925rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.teacher-profile-section { padding: var(--section-padding); }

.teacher-profile-box {
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.teacher-profile-photo {
  min-height: 340px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teacher-profile-content {
  padding: 3rem 2.5rem;
  background: var(--cream);
}

.teacher-profile-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.teacher-profile-name-en {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.2rem;
  display: block;
}

.teacher-profile-cred {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.teacher-profile-bio p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 0.875rem;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.teacher-tag {
  font-size: 0.72rem;
  color: var(--text-soft);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

/* Message Section */
.message-section {
  background-color: var(--warm-beige);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.message-cat { width: 130px; margin: 1.25rem auto 1rem; }

.message-quote-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.5rem;
}

.message-quote-mark {
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.message-quote-mark.open { text-align: left; margin-bottom: -1rem; }
.message-quote-mark.close { text-align: right; margin-top: -1rem; }

.message-quote-text {
  font-family: var(--font-serif);
  font-size: 0.975rem;
  color: var(--text-mid);
  line-height: 2.2;
  margin-bottom: 1.25rem;
}

.message-author {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--gold);
  text-align: center;
  margin-top: 1.25rem;
}

/* Philosophy Section */
.philosophy-section {
  background-color: var(--cream);
  padding: var(--section-padding);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
}

.philosophy-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  transition: background-color 0.2s ease;
}

.philosophy-card:hover { background-color: #F5EDD5; }

.philosophy-icon { font-size: 1.6rem; margin-bottom: 0.875rem; display: block; }

.philosophy-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.philosophy-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.8;
}

/* Timeline Section */
.timeline-section {
  background-color: var(--warm-beige);
  padding: var(--section-padding);
}

.timeline-wrapper {
  max-width: 768px;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--warm-beige));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 48px;
  text-align: right;
  padding-top: 0.6rem;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  flex-shrink: 0;
  margin-top: 0.65rem;
  position: relative;
  z-index: 1;
}

.timeline-event {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--cream);
  border-radius: 2px;
}

.timeline-event p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Studio Photo */
.studio-photo-section {
  background-color: var(--cream);
  padding: 4rem 0;
}

.studio-photo-wrap {
  max-width: 896px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}

.studio-photo-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.studio-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
}

/* About CTA */
.about-cta-section {
  background-color: var(--warm-beige);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.about-cta-gold-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.about-cta-cat { width: 72px; margin: 0 auto 1.25rem; }

.about-cta-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.about-cta-text {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1.75rem;
}

.about-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   LESSONS PAGE
   ============================================================ */
.courses-section { padding: var(--section-padding); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.course-card {
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  position: relative;
  border-radius: 2px;
  transition: box-shadow 0.2s ease;
}

.course-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.course-card.popular { border-color: var(--gold); }

.popular-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background-color: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 2px 2px;
}

.course-age {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.course-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.course-duration {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.course-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.course-points {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-point {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.course-point-icon {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Pricing Section */
.pricing-section {
  background-color: var(--warm-beige);
  padding: var(--section-padding);
}

.pricing-subtitle {
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.pricing-table thead tr { background-color: var(--navy); }

.pricing-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  padding: 1rem 1.5rem;
  text-align: left;
  text-transform: uppercase;
}

.pricing-table thead th:not(:first-child) { text-align: center; }

.pricing-table tbody td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-soft);
}

.pricing-table tbody td:not(:first-child) { text-align: center; }

.pricing-table tbody tr.popular-row { background-color: rgba(201,168,76,0.08); }

.price-amount {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

.pricing-table-popular-badge {
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  margin-left: 0.4rem;
  vertical-align: middle;
  letter-spacing: 0.1em;
}

.pricing-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  margin-bottom: 1rem;
}

.pricing-extra-item {
  background: var(--cream);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-extra-label { font-size: 0.85rem; color: var(--text-soft); }

.pricing-extra-value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

.pricing-note { font-size: 0.78rem; color: var(--text-muted); }

/* Schedule Section */
.schedule-section {
  background-color: var(--cream);
  padding: var(--section-padding);
}

.schedule-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
  margin-bottom: 2rem;
}

.schedule-info-card {
  background: var(--cream);
  padding: 2rem 1.75rem;
}

.schedule-info-icon { font-size: 1.4rem; margin-bottom: 0.625rem; display: block; }

.schedule-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.schedule-info-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 0.15rem;
}

.schedule-info-sub { font-size: 0.8rem; color: var(--text-muted); }

.lesson-flow-box {
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
}

.lesson-flow-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.lesson-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.lesson-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.flow-time-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}

.flow-step-text {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Lesson Photos */
.lessons-photos-section {
  background-color: var(--warm-beige);
  padding: 3rem 0;
}

.lessons-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.lessons-photo-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* FAQ Section */
.faq-section {
  background-color: var(--cream);
  padding: var(--section-padding);
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-q-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-q-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--text-muted);
  margin-top: 2px;
}

.faq-chevron svg { width: 14px; height: 14px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 0 1.25rem 2.375rem;
}

.faq-item.open .faq-answer { display: block; }

.faq-a-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 0.625rem;
}

.faq-a-text {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.8;
}

/* Lessons CTA */
.lessons-cta-section {
  background-color: var(--warm-beige);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.lessons-cta-gold-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.lessons-cta-cat { width: 64px; margin: 0 auto 1.25rem; }

.lessons-cta-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.lessons-cta-text {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1.75rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-main { padding: 4rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.form-box {
  border: 1px solid var(--border);
  padding: 2.5rem;
  background: var(--cream);
  border-radius: 2px;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-label .req { color: #C0392B; margin-left: 0.2rem; }
.form-label .opt { color: #888; font-size: 0.85em; margin-left: 0.3rem; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--cream);
  padding: 12px 14px;
  border-radius: 0;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  color: var(--navy);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #C0392B;
  background: #FDF5F5;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A8F9C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2rem;
}

.form-error {
  display: none;
  color: #C0392B;
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

.form-error.visible { display: block; }

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.form-group-privacy-check {
  margin-bottom: 1.25rem;
}
.privacy-check-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}
.privacy-check-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
}

.form-submit-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.625rem;
}

.submit-error-banner {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-box {
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: 2px;
  background: var(--cream);
}

.sidebar-box.gold-border { border-color: var(--gold); }

.sidebar-box-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.sidebar-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.check-icon { color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-info-icon {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  border-radius: 2px;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
}

.contact-info-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.contact-info-value { font-size: 0.83rem; color: var(--text-soft); line-height: 1.5; }

.map-placeholder {
  border: 1px solid var(--border);
  height: 150px;
  background: var(--warm-beige);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.map-placeholder:hover { background-color: #E8E0D0; }
.map-placeholder-icon { font-size: 1.4rem; }
.map-placeholder-text { font-size: 0.78rem; color: var(--text-soft); }

.sidebar-cat-box { text-align: center; padding: 1.25rem 0; }
.sidebar-cat-img { width: 120px; margin: 0 auto 0.625rem; }
.sidebar-cat-text { font-size: 0.78rem; color: var(--gold); font-weight: 600; }

/* Thank You State */
.thank-you-section {
  padding: 4rem 0 6rem;
  display: none;
}

.thank-you-section.visible { display: block; }

.thank-you-box {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--border);
  padding: 3.5rem 3rem;
  text-align: center;
  border-radius: 2px;
  background: var(--cream);
}

.thank-you-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.thank-you-check svg { width: 28px; height: 28px; }
.thank-you-mascot { margin: 0 auto 1.25rem; display: flex; justify-content: center; }
.thank-you-mascot img { width: 50%; height: auto; }

.thank-you-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.thank-you-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.thank-you-desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.thank-you-summary {
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
  text-align: left;
  margin-bottom: 1.75rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.summary-item:last-child { border-bottom: none; }
.summary-label { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.summary-value { font-size: 0.85rem; color: var(--navy); font-weight: 600; text-align: right; }

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .header-nav { display: none; }

  .hero-piano-bg { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { order: -1; }
  .hero-badge { position: static; margin: 0 auto 1rem; width: fit-content; }
  .hero-h1 { font-size: 1.85rem; }
  .hero-stats { flex-direction: column; gap: 1rem; border-top: none; padding-top: 0; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 1rem; }
  .hero-stat:last-child { border-bottom: none; }

  .features-grid { grid-template-columns: 1fr; }
  .teacher-intro-grid { grid-template-columns: 1fr; }
  .teacher-intro-content { padding: 2rem 1.5rem; }
  .lesson-photos-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 68px; }

  /* About */
  .teacher-profile-box { grid-template-columns: 1fr; }
  .teacher-profile-photo { min-height: 260px; }
  .teacher-profile-content { padding: 2rem 1.5rem; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .timeline-line { left: 40px; }
  .timeline-year { min-width: 32px; font-size: 0.72rem; }

  /* Lessons */
  .courses-grid { grid-template-columns: 1fr; gap: 1rem; }
  .schedule-info-grid { grid-template-columns: 1fr; }
  .lessons-photos-grid { grid-template-columns: 1fr; }
  .pricing-extra-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .form-box { padding: 1.75rem 1.25rem; }
}

/* ============================================================
   RESPONSIVE — 640px
   ============================================================ */
@media (max-width: 640px) {
  .page-hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .hero-h1 { font-size: 1.6rem; }
  .cta-banner-title { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; gap: 0.75rem; }
  .about-cta-buttons { flex-direction: column; gap: 0.75rem; align-items: center; }
  .pricing-table { font-size: 0.8rem; }
  .pricing-table thead th,
  .pricing-table tbody td { padding: 0.75rem 0.875rem; }
}
