@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Playfair+Display:ital,wght@0,400;1,400&family=Source+Sans+3:wght@300;400&display=swap');

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

/* ── PALETTE ─────────────────────────────────────────────────
   Forest at night: deep ink darks, moss greens, pale mist.    */
:root {
  --ink:       #030b13;
  --bg:        #050d1a;
  --bg-mid:    #091626;
  --bg-card:   #0c1d30;
  --border:    #132c48;
  --moss:      #1a5a38;
  --fern:      #2a8050;
  --leaf:      #46b372;
  --mist:      #85c9a0;
  --text:      #56af78;
  --text-dim:  #286840;
  --white:     #daeee5;

  --display: 'Cormorant Garamond', Georgia, serif;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--ink);
}

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

/* ── GRAIN TEXTURE ───────────────────────────────────────────
   Very low opacity SVG noise — adds tactile warmth, removes
   the "digital" feel that makes dark sites feel cold.          */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 250px 250px;
}

/* ── SCROLL REVEAL ───────────────────────────────────────────  */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO ENTRANCE ANIMATIONS ────────────────────────────────  */
.hero-enter {
  animation: heroUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HEADER ──────────────────────────────────────────────────  */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(3, 11, 19, 0.96);
  border-bottom-color: rgba(42, 128, 80, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header.light-header {
  background: rgba(3, 11, 19, 0.96);
  border-bottom-color: rgba(42, 128, 80, 0.2);
}

/* Logo */
.site-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--mist);
  transition: color 0.2s;
}

.site-logo .logo-icon {
  display: block;
  width: auto;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.site-logo:hover .logo-icon {
  opacity: 1;
}

.site-logo .logo-text {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: inherit;
  letter-spacing: 0.06em;
  display: block;
  line-height: 1;
}

.site-logo:hover {
  color: var(--white);
}

/* Nav */
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

nav.main-nav a {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--leaf);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 1.75rem;
  padding-left: 1.75rem;
  border-left: 1px solid var(--border);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.lang-switch a {
  padding: 0.3rem 0.4rem;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--mist);
}

.lang-switch span {
  color: var(--border);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--fern);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── HERO ─────────────────────────────────────────────────────
   Full-viewport. Title fills the dark forest.                  */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

/* Vignette ring */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(3, 11, 19, 0.55) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(1) contrast(1.1) brightness(0.9);
}

.hero-bg.loaded {
  transform: scale(1);
}

/* Duotone: shadow → deep ink, highlight → forest green */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: #050d1a;
  mix-blend-mode: multiply;
  opacity: 0.88;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #2a8050;
  mix-blend-mode: screen;
  opacity: 0.38;
}

/* Bottom gradient — deep fade for text legibility */
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 25%,
    rgba(5, 13, 26, 0.4) 50%,
    rgba(3, 11, 19, 0.92) 80%,
    var(--ink) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 0 2.5rem 5rem;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fern);
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

/* THE MOMENT — massive display title */
.hero-title {
  font-family: var(--display);
  font-size: clamp(5.5rem, 16vw, 13rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 2.25rem;
}

/* Full-mark version of hero title — pure logo, no text */
.hero-mark {
  margin: 0 0 2.25rem -1.2vw;
  padding: 0;
}

.hero-mark img {
  display: block;
  width: clamp(280px, 52vw, 720px);
  height: auto;
  margin: 0;
}

/* Hero full-mark (replaces text H1 on landing) */
.hero-mark {
  margin: 0 0 2.25rem;
  line-height: 0;
}
.hero-mark img {
  display: block;
  width: clamp(280px, 56vw, 720px);
  height: auto;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  max-width: 400px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border: 1px solid var(--fern);
  color: var(--leaf);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.hero-cta:hover {
  background: rgba(42, 128, 80, 0.15);
  border-color: var(--leaf);
  color: var(--white);
  text-decoration: none;
}

/* ── PAGE HERO (inner pages) ──────────────────────────────────  */
.page-hero {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(3, 11, 19, 0.5) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(3, 11, 19, 0.85) 85%,
    var(--ink) 100%
  );
}

.page-hero .hero-bg {
  background-position: center 40%;
}

.page-hero .hero-content {
  z-index: 4;
  padding: 0 2.5rem 3.5rem;
}

.page-hero .hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  margin-bottom: 0;
}

/* ── MAIN CONTENT ─────────────────────────────────────────────  */
.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 6rem 2.5rem 7rem;
}

.page-content.wide {
  max-width: 1080px;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────────  */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
  color: var(--mist);
}

h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--leaf);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--leaf);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--white);
  text-decoration: none;
}

/* ── SECTION DIVIDER ──────────────────────────────────────────  */
.divider {
  width: 32px;
  height: 1px;
  background: var(--fern);
  margin: 2.5rem 0;
  opacity: 0.6;
}

/* ── CLASSES / PRICING ────────────────────────────────────────  */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.class-card {
  padding: 2.5rem 0 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.class-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.class-card .duration {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.class-card p {
  font-size: 0.93rem;
}

/* ── PRICING ──────────────────────────────────────────────────  */
.pricing {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
  margin: 4rem 0;
}

.pricing h2 {
  margin-bottom: 2.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-label {
  font-size: 0.95rem;
  color: var(--text);
  flex: 1;
}

.price-amount {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--mist);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.price-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 1.25rem;
  font-style: italic;
}

/* ── SCHEDULE ─────────────────────────────────────────────────  */
.schedule-block {
  margin: 2.5rem 0;
}

.schedule-intro {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

.class-types {
  list-style: none;
  margin: 1.5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.class-types li {
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.class-types li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--fern);
  opacity: 0.7;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.schedule-table th {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.schedule-table td {
  padding: 0.95rem 1rem 0.95rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.schedule-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 1.75rem;
}

/* ── TIPS LIST ────────────────────────────────────────────────
   Numbers are the focal point — large and muted.               */
.tips-list {
  list-style: none;
  margin: 2.5rem 0;
  counter-reset: tips;
  border-top: 1px solid var(--border);
}

.tips-list li {
  counter-increment: tips;
  display: flex;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.tips-list li::before {
  content: counter(tips, decimal-leading-zero);
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--border);
  flex-shrink: 0;
  min-width: 3.5rem;
  letter-spacing: -0.02em;
}

.tips-list li p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
  padding-top: 0.5rem;
}

/* ── CONTACT ──────────────────────────────────────────────────  */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin: 2.5rem 0;
}

.contact-info h3 {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.contact-info .contact-block {
  margin-bottom: 2.5rem;
}

.contact-info a {
  color: var(--leaf);
  font-size: 1rem;
}

.contact-info a:hover {
  color: var(--white);
}

.contact-info p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0;
}

.teacher-bio h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.25rem;
}

.teacher-bio .teacher-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* ── QUOTE ────────────────────────────────────────────────────
   Single thin line, no card.                                    */
.quote {
  margin: 4rem 0;
  padding: 2rem 0 2rem 2.5rem;
  border-left: 1px solid var(--fern);
}

.quote p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--mist);
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.map-embed {
  margin-top: 3.5rem;
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(0.9) brightness(0.7);
  opacity: 0.75;
}

/* ── ABOUT ────────────────────────────────────────────────────  */
.about-content p {
  font-size: 1.02rem;
  line-height: 1.9;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fern);
  font-size: 0.88rem;
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

.social-link:hover {
  color: var(--leaf);
}

/* ── FOOTER ───────────────────────────────────────────────────  */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-address {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.7rem;
  opacity: 0.4;
  letter-spacing: 0.06em;
}

/* ── MOBILE ───────────────────────────────────────────────────  */
@media (max-width: 768px) {
  .site-header {
    padding: 1.1rem 1.5rem;
  }

  nav.main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 99;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
  }

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

  nav.main-nav a {
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    letter-spacing: 0.2em;
  }

  .lang-switch {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  .page-content {
    padding: 4rem 1.5rem 5rem;
  }

  .hero-content {
    padding: 0 1.5rem 3.5rem;
  }

  .page-hero .hero-content {
    padding: 0 1.5rem 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pricing {
    padding: 2rem 0;
  }

  h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .classes-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(4.5rem, 20vw, 7rem);
  }

  .tips-list li {
    gap: 1.5rem;
  }

  .tips-list li::before {
    font-size: 2.5rem;
    min-width: 2.5rem;
  }
}
