/* =========================================
   SHARILE BALLET STUDIO — Demo Site CSS
   ========================================= */

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

:root {
  --white:      #FAFAF8;
  --cream:      #F4EEE8;
  --blush:      #EEE0E5;
  --rose:       #C07A94;
  --rose-dark:  #8B4F66;
  --rose-light: #E8B4C6;
  --gold:       #C8A96A;
  --charcoal:   #2A2320;
  --text:       #3C3430;
  --text-light: #7A6E6A;
  --border:     #E4DAD5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.section       { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-dark  { background: var(--charcoal); }


/* ===== TYPOGRAPHY ===== */
.label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--rose);
  margin-bottom: 12px;
}

.label-light { color: var(--rose-light); }

h2.ttl {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 50px);
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 18px;
}

h2.ttl-light { color: #fff; }

.desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
}

.sec-hd {
  text-align: center;
  margin-bottom: 64px;
}

.sec-hd .desc { max-width: 480px; margin: 0 auto; }

.body-p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 18px;
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-rose {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.btn-rose:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 79, 102, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-insta {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border: none;
  padding: 16px 36px;
  font-size: 15px;
}

.btn-insta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,39,67,0.35);
}

.btn-dark {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
  padding: 16px 36px;
  font-size: 15px;
}

.btn-dark:hover {
  background: #3d3532;
  transform: translateY(-2px);
}


/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}

#header.scrolled {
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(42,35,32,0.08);
}

.hd-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 21px;
  letter-spacing: 0.3em;
  color: #fff;
  transition: color 0.3s;
}

.logo-sub {
  font-size: 8px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
  text-transform: uppercase;
}

#header.scrolled .logo-main { color: var(--charcoal); }
#header.scrolled .logo-sub  { color: var(--text-light); }

/* Nav */
.hd-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 28px;
}

.hd-nav ul li a {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
  font-weight: 300;
}

#header.scrolled .hd-nav ul li a { color: var(--text); }

.hd-nav ul li a:hover { color: var(--rose-light); }
#header.scrolled .hd-nav ul li a:hover { color: var(--rose); }

.nav-cta {
  background: var(--rose) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12.5px !important;
}

.nav-cta:hover { background: var(--rose-dark) !important; }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s;
}

#header.scrolled .hamburger span { background: var(--charcoal); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }


/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
}

.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 22, 18, 0.52) 0%,
    rgba(30, 22, 18, 0.32) 45%,
    rgba(30, 22, 18, 0.68) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-h1 { margin-bottom: 22px; }

.hero-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(64px, 11vw, 120px);
  letter-spacing: 0.28em;
  line-height: 0.9;
  color: #fff;
}

.hero-jp {
  display: block;
  font-weight: 300;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.45em;
  color: rgba(255,255,255,0.65);
  margin-top: 14px;
}

.hero-copy {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 2.1;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-cue span {
  font-size: 9px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.4);
}

.scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%   { transform: scaleY(1);   opacity: 1; transform-origin: top; }
  100% { transform: scaleY(0.2); opacity: 0; transform-origin: bottom; }
}


/* ===== NEWS BAR ===== */
.news-bar {
  background: var(--rose-dark);
  color: #fff;
  padding: 12px 0;
}

.news-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.news-tag {
  background: rgba(255,255,255,0.22);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

.news-bar p {
  font-size: 13px;
  letter-spacing: 0.04em;
}


/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-quote {
  margin: 28px 0 32px;
  padding-left: 22px;
  border-left: 2px solid var(--rose);
}

.about-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.85;
  color: var(--rose-dark);
}

.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.08em;
}

/* About image */
.about-img-col { position: relative; }

.about-img-frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--rose);
  color: #fff;
  padding: 18px 22px;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(192, 122, 148, 0.4);
}


/* ===== CLASSES ===== */
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

.class-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 36px 26px 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.class-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rose);
  opacity: 0;
  transition: opacity 0.3s;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(42,35,32,0.1);
}

.class-card:hover::before { opacity: 1; }

.class-ico {
  font-size: 28px;
  margin-bottom: 18px;
}

.class-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.class-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.95;
  margin-bottom: 22px;
}

.class-price {
  font-size: 12.5px;
  color: var(--rose-dark);
  font-weight: 400;
  letter-spacing: 0.06em;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.class-cta {
  text-align: center;
}

.class-cta p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 22px;
}


/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 360px 260px;
  gap: 6px;
  margin-top: 8px;
}

.g-item {
  position: relative;
  overflow: hidden;
}

.g-item:first-child {
  grid-row: span 2;
}

.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.g-item:hover img { transform: scale(1.06); }

.g-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(30,22,18,0.7), transparent);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  transform: translateY(4px);
  opacity: 0;
  transition: all 0.3s;
}

.g-item:hover .g-caption {
  opacity: 1;
  transform: translateY(0);
}


/* ===== INSTRUCTOR ===== */
.instructor-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}

.inst-img-frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 5/6;
}

.inst-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.inst-img-frame::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--rose);
  opacity: 0.4;
  z-index: -1;
}

.inst-text .ttl { color: #fff; }

.inst-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}

.inst-divider {
  width: 44px;
  height: 1px;
  background: var(--rose);
  margin-bottom: 26px;
}

.inst-text .body-p { color: rgba(255,255,255,0.6); }

.inst-quals {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qual {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}

.qual-ico {
  width: 6px;
  height: 6px;
  background: var(--rose);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 9px;
}


/* ===== FEE ===== */
.fee-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
  border-radius: 3px;
  box-shadow: 0 4px 24px rgba(42,35,32,0.07);
}

table.fee {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 520px;
}

table.fee thead th {
  background: var(--charcoal);
  color: #fff;
  padding: 16px 28px;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-align: left;
}

table.fee tbody td {
  padding: 15px 28px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

table.fee tbody tr:last-child td { border-bottom: none; }

table.fee tbody tr:nth-child(even) td { background: var(--blush); }

.fee-note { margin-top: 16px; }

.fee-note p {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 2;
}


/* ===== ACCESS ===== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.access-items {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 32px;
}

.access-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.access-ico {
  font-size: 18px;
  width: 26px;
  flex-shrink: 0;
  margin-top: 3px;
}

.access-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.access-row p, .access-row a {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
}

.access-row a { color: var(--rose); }
.access-row a:hover { text-decoration: underline; }

.map-frame {
  margin-top: 56px;
  border-radius: 3px;
  overflow: hidden;
  height: 380px;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ===== CONTACT ===== */
.contact-sec {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
}

.contact-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.contact-veil {
  position: absolute;
  inset: 0;
  background: rgba(30, 22, 18, 0.78);
}

.contact-body {
  position: relative;
  z-index: 2;
}

.contact-body .ttl { color: #fff; }

.contact-lead {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  margin: 16px auto 44px;
  max-width: 480px;
}

.contact-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ===== FOOTER ===== */
footer {
  background: #18100E;
  color: rgba(255,255,255,0.4);
  padding: 52px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.footer-logo .logo-main {
  color: rgba(255,255,255,0.75);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.35em;
}

.footer-logo .logo-sub {
  font-size: 8px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.25);
}

.footer-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
}

.footer-info p {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--rose-light); }

.footer-copy {
  font-size: 10.5px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
}


/* ===== FADE-IN ANIMATIONS ===== */
.fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }
.fade-delay-5 { transition-delay: 0.5s; }


/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img-col { display: none; }

  .instructor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .inst-img-frame { max-width: 280px; }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .class-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .section { padding: 68px 0; }

  /* Mobile nav overlay */
  .hd-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30,22,18,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 250;
  }

  .hd-nav.open { display: flex; }

  .hd-nav ul {
    flex-direction: column;
    gap: 28px;
  }

  .hd-nav ul li a {
    font-size: 20px !important;
    color: rgba(255,255,255,0.85) !important;
    letter-spacing: 0.2em;
  }

  .hd-nav ul .nav-cta {
    background: var(--rose) !important;
    padding: 10px 28px !important;
  }

  .hamburger { display: flex; }

  .hero-en { font-size: clamp(52px, 16vw, 80px); }
  .hero-actions { flex-direction: column; align-items: center; }

  .class-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px 200px;
  }

  .g-item:first-child { grid-column: span 2; }
  .g-item:nth-child(5) { grid-column: span 2; }

  .about-stats { gap: 20px; }

  .contact-btns { flex-direction: column; align-items: center; }

  .footer-links { gap: 16px; }
}
