/* =============================================
   Ann Van Turnhout — Yoga & Mindfulness
   Wabi-Sabi / Japanese Aesthetic
   ============================================= */

:root {
  --bg:          #F5F0E8;
  --bg-light:    #FAF7F2;
  --bg-dark:     #EDE5D8;
  --accent:      #8B7355;
  --accent-h:    #6E5B41;
  --text:        #2C2C2C;
  --text-muted:  #7A7268;
  --detail:      #6B8C6B;
  --border:      #D4C9B8;
  --shadow:      rgba(44,44,44,0.06);

  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'Lato', 'Helvetica Neue', sans-serif;
  --font-ui:    'Baloo Bhai 2', sans-serif;
  --font-jp:    'Noto Serif JP', serif;

  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
  --easing:     cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }

p { color: var(--text-muted); max-width: 62ch; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 6%;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(3px);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.7rem 6%;
}

.nav-logo {
  font-family: var(--font-ui);
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color var(--transition);
}
.nav.scrolled .nav-logo { color: var(--text); }
.nav-logo em { font-style: normal; color: var(--accent); }
.nav.scrolled .nav-logo em { color: var(--accent); }

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  position: relative;
  transition: color var(--transition);
}
.nav.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.28rem 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.2rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: all 0.3s;
}
.nav.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav { overflow: visible; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(245,240,232,0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 0.5rem 6% 1rem;
    z-index: 300;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; }
  .nav-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .hamburger { display: flex; }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 8rem 6% 4rem;
}

.hero-kanji {
  position: absolute; right: 2%; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-jp);
  font-size: clamp(14rem, 28vw, 26rem);
  color: var(--bg-dark);
  line-height: 1;
  user-select: none; pointer-events: none;
  opacity: 0.7;
}

.hero-rule {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--border);
}
.hero-rule--top    { top: 18%; }
.hero-rule--bottom { bottom: 14%; }

.hero-content { position: relative; z-index: 2; max-width: 620px; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.8rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 48px; height: 1px; background: var(--accent); flex-shrink: 0;
}
.hero-eyebrow span {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 { margin-bottom: 1.2rem; color: var(--text); }

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: none;
}

.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 3rem; left: 6%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--accent); color: var(--bg-light);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: all var(--transition);
  cursor: pointer; font-family: var(--font-body);
}
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent; color: var(--text);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer; font-family: var(--font-body);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── Section Commons ── */
section { padding: 7rem 6%; }

.section-label {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--detail); flex-shrink: 0;
}
.section-label span {
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--detail);
}

.section-header { margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { margin-top: 0.5rem; }

/* ── Philosophy strip ── */
.philosophy {
  background: var(--text);
  padding: 5rem 6%;
  position: relative; overflow: hidden;
}
.phil-kanji {
  position: absolute; right: 4%; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-jp);
  font-size: clamp(10rem, 20vw, 18rem);
  color: rgba(255,255,255,0.04);
  line-height: 1; user-select: none; pointer-events: none;
}
.phil-quote { position: relative; z-index: 2; max-width: 760px; border: none; }
.phil-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--bg-light);
  max-width: none; line-height: 1.5; margin-bottom: 1.5rem;
}
.phil-quote cite {
  font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-style: normal;
}

/* ── About ── */
.about { background: var(--bg-light); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 6rem; align-items: center;
}

.about-image-wrap { position: relative; }

.about-frame {
  aspect-ratio: 3/4;
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.about-frame::after {
  content: '和';
  font-family: var(--font-jp);
  font-size: 9rem; color: var(--accent); opacity: 0.12;
  position: absolute; bottom: 8%; right: 8%; line-height: 1;
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }

.about-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.8rem;
  color: var(--text-muted);
}
.about-placeholder span {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.about-placeholder-icon { font-size: 3rem; opacity: 0.3; font-family: var(--font-jp); }

.about-accent-border {
  position: absolute; top: -1.2rem; right: -1.2rem;
  width: 55%; height: 28%;
  border: 1px solid var(--border); z-index: -1;
}

.about-content p { margin-bottom: 1.4rem; }

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem; color: var(--accent); line-height: 1; margin-bottom: 0.3rem;
}
.stat-lbl {
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ── Lessons ── */
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px; background: var(--border);
  border: 1.5px solid var(--border);
}

.lesson-card {
  background: var(--bg);
  padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.lesson-card::before {
  content: attr(data-kanji);
  font-family: var(--font-jp);
  font-size: 5.5rem; line-height: 1;
  position: absolute; top: 1.2rem; right: 1.5rem;
  color: var(--bg-dark); opacity: 0.9;
  transition: opacity var(--transition);
  user-select: none; pointer-events: none;
}
.lesson-card:hover { background: var(--bg-light); }
.lesson-card:hover::before { opacity: 0.6; }

.lesson-bar { width: 36px; height: 1px; background: var(--accent); margin-bottom: 2rem; }
.lesson-card h3 { margin-bottom: 0.7rem; color: var(--text); }
.lesson-card > p { font-size: 0.9rem; margin-bottom: 1.8rem; }

.lesson-details { list-style: none; margin-bottom: 2rem; }
.lesson-details li {
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-muted);
  padding: 0.45rem 0; border-bottom: 1px solid var(--border);
}
.lesson-details li:last-child { border-bottom: none; }
.lesson-details li strong { color: var(--text); font-weight: 400; }

/* ── Schedule ── */
.agenda { background: var(--bg-light); }

.schedule-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.78rem; margin-bottom: 2rem;
}
.schedule-table th, .schedule-table td {
  border: 1px solid var(--border); padding: 0; text-align: left;
}
.schedule-table th {
  background: var(--bg-dark);
  padding: 0.8rem 1rem;
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
}
.schedule-table .time-col {
  background: var(--bg-dark);
  padding: 0.8rem 1rem;
  font-size: 0.72rem; color: var(--text-muted);
  white-space: nowrap; width: 80px;
}
.schedule-table td { vertical-align: top; padding: 0.3rem; min-height: 60px; }

.class-pill {
  display: block; padding: 0.5rem 0.7rem;
  border-left: 2px solid; background: var(--bg); margin: 0.1rem;
}
.class-pill.individual { border-color: var(--accent); }
.class-pill.group      { border-color: var(--detail); }
.class-pill.meditation { border-color: #A09070; }

.class-pill strong { display: block; color: var(--text); font-weight: 400; font-size: 0.78rem; }
.class-pill small  { color: var(--text-muted); font-size: 0.7rem; }

/* Mobile agenda */
.agenda-mobile { display: none; }

.day-block { margin-bottom: 1.8rem; }
.day-block-title {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.8rem;
  padding-left: 1rem; border-left: 1px solid var(--border);
}
.day-class-item {
  display: flex; gap: 1rem;
  padding: 0.8rem 1rem; background: var(--bg);
  border-left: 2px solid; margin-bottom: 0.5rem; font-size: 0.82rem;
}
.day-class-item.individual { border-color: var(--accent); }
.day-class-item.group      { border-color: var(--detail); }
.day-class-item.meditation { border-color: #A09070; }
.day-class-item strong { color: var(--text); font-weight: 400; }
.day-class-item small  { color: var(--text-muted); font-size: 0.75rem; }

.schedule-legend { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; }
.legend-dot  { width: 16px; height: 2px; }
.legend-dot.individual { background: var(--accent); }
.legend-dot.group      { background: var(--detail); }
.legend-dot.meditation { background: #A09070; }
.legend-item span { font-size: 0.72rem; color: var(--text-muted); }

/* ── Booking ── */
.booking-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 6rem; align-items: start;
}

.contact-info .section-header { margin-bottom: 1.5rem; }
.contact-info > p { margin-bottom: 2rem; }

.contact-list { margin-top: 0; }
.contact-item {
  padding: 1rem 0; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.contact-item:last-child { border-bottom: none; }
.contact-item-label {
  font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}
.contact-item-value { color: var(--text); }
.contact-item-value a { transition: color var(--transition); }
.contact-item-value a:hover { color: var(--accent); }

.booking-form { display: grid; gap: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-light); border: 1px solid var(--border);
  padding: 0.9rem 1.1rem; font-family: var(--font-body); font-size: 0.9rem;
  color: var(--text); transition: border-color var(--transition);
  outline: none; width: 100%; appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group 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='%237A7268' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}

.form-note { font-size: 0.72rem; color: var(--text-muted); margin-top: -0.5rem; font-style: italic; }

.form-success {
  display: none; padding: 2.5rem; text-align: center;
  background: var(--bg-light); border: 1px solid var(--detail); color: var(--detail);
}
.form-success p { color: var(--detail); margin: 0 auto; }

/* ── Footer ── */
footer { background: var(--text); color: var(--bg); padding: 2.5rem 6% 1.5rem; }
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 1.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(245,240,232,0.1);
}
.footer-brand h3 { font-family: var(--font-head); color: var(--bg); font-size: 1.1rem; margin-bottom: 0.3rem; }
.footer-brand p  { color: rgba(245,240,232,0.4); font-size: 0.78rem; max-width: none; margin: 0; }
.footer-kanji {
  font-family: var(--font-jp); font-size: 4rem;
  color: rgba(245,240,232,0.08); line-height: 1; margin-top: 1.5rem; user-select: none;
}
.footer-col h4 {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,240,232,0.35); margin-bottom: 0.7rem; font-family: var(--font-body);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a, .footer-col span { color: rgba(245,240,232,0.5); font-size: 0.78rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; color: rgba(245,240,232,0.25); flex-wrap: wrap; gap: 0.5rem;
}

/* ── Animations ── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

.stagger-children > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s var(--easing), transform 0.65s var(--easing);
}
.stagger-children.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.in > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.in > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-children.in > *:nth-child(4) { transition-delay: 0.35s; }
.stagger-children.in > * { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .footer-top  { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .about-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 380px; }
  .booking-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .schedule-table { display: none; }
  .agenda-mobile  { display: block; }
}
@media (max-width: 680px) {
  section { padding: 5rem 5%; }
  .hero { padding: 7rem 5% 3rem; }
  .hero-kanji { opacity: 0.35; font-size: clamp(10rem, 50vw, 18rem); right: -5%; }
  .hero-scroll { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }
  footer { padding: 2rem 6% 1.2rem; }
  .footer-top {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: 0; margin-bottom: 0; padding-bottom: 0; border-bottom: none;
  }
  .footer-top nav { display: none; }
  .footer-brand { margin-bottom: 1rem; }
  .footer-brand h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
  .footer-brand p  { font-size: 0.75rem; opacity: 0.5; }
  .footer-social-col { margin-bottom: 1rem; }
  .footer-social-col h4 { display: none; }
  .footer-social-links { flex-direction: row !important; justify-content: center; gap: 1.5rem !important; }
  .footer-social-links .social-icon span { display: none; }
  .footer-social-links .social-icon {
    width: 38px; height: 38px;
    border: 1px solid rgba(245,240,232,0.2) !important;
    border-radius: 50% !important;
    display: flex !important; align-items: center; justify-content: center;
  }
  .footer-social-links .social-icon:hover { transform: none !important; border-color: var(--accent) !important; }
  .footer-col:not(.footer-social-col) { width: 100%; text-align: center; }
  .footer-col:not(.footer-social-col) h4 { display: none; }
  .footer-col:not(.footer-social-col) ul { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
  .footer-bottom { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(245,240,232,0.1); }
  .footer-kanji-bottom { display: none; }
  .hero-kanji { font-size: 11rem; opacity: 0.1; right: -1%; }
}
@media (max-width: 420px) {
  h1 { font-size: 2.4rem; }
  /* 4 lesson cards side by side: 2×2 grid on mobile */
  .lessons-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .lesson-card { padding: 1.2rem 0.9rem; }
  .lesson-card > div:first-of-type { height: 90px !important; margin: -1rem -0.9rem 0.8rem !important; }
  .lesson-card h3 { font-size: 0.8rem; margin-bottom: 0.4rem; }
  .lesson-card > p { font-size: 0.72rem; margin-bottom: 1rem; }
  .lesson-details { font-size: 0.68rem; margin-bottom: 1rem; }
  .lesson-card::before { font-size: 3rem; top: 0.5rem; right: 0.6rem; }
  .lesson-bar { margin-bottom: 1rem; }
  .btn-secondary { font-size: 0.7rem; padding: 0.45rem 0.7rem; }
}

.footer-social-links {
  display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.3rem;
}
.footer-social-links .social-icon {
  display: flex; align-items: center; gap: 0.6rem;
  width: auto; height: auto; border: none; border-radius: 0;
  color: rgba(245,240,232,0.6); font-size: 0.82rem; letter-spacing: 0.06em;
  transition: color var(--transition);
}
.footer-social-links .social-icon:hover {
  color: var(--accent); transform: translateX(3px); border: none;
}
.footer-kanji-bottom {
  opacity: 0.4; font-family: var(--font-jp); font-size: 0.85rem; letter-spacing: 0.1em;
}
