@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500&display=swap');
/* ============================================================
   StilKracht Yoga — Shared Stylesheet
   Brand colours sampled directly from the logo:
     deep forest green  #20433D   (silhouette / lettering)
     warm cream paper   #F2ECDD   (background)
   Fonts: Fraunces (brand wordmark) + Cormorant Garamond (display) + Nunito Sans (body)
   ============================================================ */

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

/* ---- Design tokens ---- */
:root {
  --green:        #20433D;  /* primary brand green   */
  --green-dark:   #16322D;  /* hover / deep sections */
  --green-mid:    #3E6B5E;  /* secondary green       */
  --sage:         #7FA396;  /* soft sage accent      */
  --sage-pale:    #E4ECE7;  /* tinted panels         */
  --cream:        #F2ECDD;  /* page background       */
  --cream-light:  #FAF6EC;  /* cards / contrast      */
  --sand:         #D8C7A4;  /* warm gold accent      */
  --sand-soft:    #EBDFC6;
  --ink:          #28332E;  /* body text             */
  --muted:        #5E6B63;  /* secondary text        */
  --white:        #FFFFFF;

  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 6px 30px rgba(32, 67, 61, 0.10);
  --shadow-sm:    0 3px 14px rgba(32, 67, 61, 0.08);
  --maxw:         1140px;
  --ease:         cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--cream); overflow-x: hidden; }

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-mid); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--green);
  line-height: 1.18;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.55rem; }
p  { margin-bottom: 1rem; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tint  { background: var(--cream-light); }
.section--sage  { background: var(--sage-pale); }
.section--green { background: var(--green); color: var(--cream); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--cream-light); }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .9rem;
}
.section--green .eyebrow { color: var(--sand); }

.divider {
  width: 64px; height: 3px; border: none; border-radius: 3px;
  background: var(--sand); margin: 1.2rem 0;
}
.center .divider { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Nunito Sans', sans-serif; font-weight: 700;
  font-size: .98rem; letter-spacing: .02em;
  padding: .85rem 1.8rem; border-radius: 999px;
  cursor: pointer; border: 2px solid var(--green);
  background: var(--green); color: var(--cream-light);
  transition: all .25s var(--ease);
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--cream-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--cream-light); }
.btn--light { background: var(--sand); border-color: var(--sand); color: var(--green-dark); }
.btn--light:hover { background: var(--sand-soft); border-color: var(--sand-soft); color: var(--green-dark); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 236, 221, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(32, 67, 61, 0.10);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; }
.brand .brand-name { border-left: 1px solid rgba(0,0,0,.18); padding-left: .85rem; }
.brand-name {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 1.5rem; color: var(--green); line-height: 1; letter-spacing: .5px;
}
.brand-name small { display: block; font-size: .68rem; letter-spacing: .15em;
  text-transform: lowercase; color: var(--sage); font-family: 'Fraunces', serif; font-weight: 400; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; }
.nav-links a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  font-weight: 600; font-size: .96rem; color: var(--ink);
}
.nav-links a:hover { background: var(--sage-pale); color: var(--green); }
.nav-links a.active { color: var(--green); background: var(--sage-pale); }
.nav-links .nav-cta a, .nav-links a.nav-cta {
  background: var(--green); color: var(--cream-light);
}
.nav-links a.nav-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 9px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--green); border-radius: 2px; transition: all .3s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(127,163,150,.28), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-light) 100%);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-figure { display: grid; place-items: center; }
.hero-figure .logo-disc {
  width: min(360px, 80%); aspect-ratio: 1; border-radius: 50%;
  background: var(--cream-light); display: grid; place-items: center;
  box-shadow: var(--shadow); border: 1px solid rgba(32,67,61,.08);
  padding: 1.5rem;
}
.hero-figure img { border-radius: 50%; }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--cream-light); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(32,67,61,.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage-pale); color: var(--green);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 0; }

/* Yoga style cards */
.yoga-card { border-left: 4px solid var(--sand); max-width: 760px; margin-inline: auto; }
.yoga-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.yoga-card .tag {
  font-family: 'Nunito Sans', sans-serif; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-mid);
  background: var(--sage-pale); padding: .25rem .7rem; border-radius: 999px;
}

/* ---- Split / about ---- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait-frame {
  border-radius: var(--radius); background: var(--cream-light);
  border: 1px solid rgba(32,67,61,.08); box-shadow: var(--shadow);
  padding: 1.4rem; display: grid; place-items: center;
}

/* ---- Quote band ---- */
.quote {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.4;
  color: var(--cream-light); max-width: 30ch; margin-inline: auto;
}
.quote-author { font-family: 'Nunito Sans', sans-serif; font-style: normal;
  font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand); margin-top: 1.2rem; display: block; }

/* ---- Calendar ---- */
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 1.6rem; }
.cal-legend span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--muted); font-size: .95rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot--yin { background: var(--sage); }
.dot--yang { background: var(--sand); }
.dot--hatha { background: var(--green-mid); }
.dot--morning { background: #C4956A; }

.schedule { width: 100%; border-collapse: collapse; background: var(--cream-light);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule th, .schedule td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid rgba(32,67,61,.08); }
.schedule thead th { background: var(--green); color: var(--cream-light);
  font-family: 'Nunito Sans', sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.schedule tbody tr:last-child td { border-bottom: none; }
.schedule tbody tr:hover { background: var(--sage-pale); }
.schedule .time { font-weight: 700; color: var(--green); white-space: nowrap; }
.pill { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.pill--yin { background: var(--sage); color: #fff; }
.pill--yang { background: var(--sand); color: var(--green-dark); }
.pill--hatha { background: var(--green-mid); color: #fff; }
.pill--morning { background: #C4956A; color: #fff; }

.cal-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(32,67,61,.08); }
.cal-embed iframe { width: 100%; height: 620px; border: 0; display: block; background: var(--cream-light); }

/* ---- Forms ---- */
.form-card {
  background: var(--cream-light); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow);
  border: 1px solid rgba(32,67,61,.07);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--green); }
.field .req { color: #b4543c; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  width: 100%; min-width: 0; max-width: 100%;
  padding: .8rem .9rem; border: 1.5px solid rgba(32,67,61,.18);
  border-radius: var(--radius-sm); background: var(--cream);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(127,163,150,.28);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: .4rem; }
.form-success {
  display: none; margin-top: 1.4rem; padding: 1rem 1.2rem;
  background: var(--sage-pale); border: 1px solid var(--sage);
  border-radius: var(--radius-sm); color: var(--green-dark); font-weight: 600;
}
.form-success.show { display: block; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.contact-list { list-style: none; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ic {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sage-pale); color: var(--green);
  display: grid; place-items: center; font-size: 1.2rem;
}
.contact-list strong { display: block; color: var(--green); font-size: 1.02rem; }
.contact-list span { color: var(--muted); }

/* ---- Steps / process ---- */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--cream-light);
  display: grid; place-items: center; font-weight: 700; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
}
.step h4 { color: var(--green); margin-bottom: .2rem; font-family: 'Nunito Sans', sans-serif; font-size: 1.05rem; }
.step p { color: var(--muted); margin-bottom: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--green-dark); color: var(--sage-pale); padding-block: 3rem 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; }
.site-footer h4 { color: var(--cream-light); font-family: 'Nunito Sans', sans-serif; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: var(--sage-pale); }
.site-footer a:hover { color: var(--sand); }
.footer-links { list-style: none; display: grid; gap: .55rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; }
.footer-brand .brand-name { color: var(--cream-light); border-left: 1px solid rgba(255,255,255,.3); padding-left: .85rem; }
.footer-brand .brand-name small { color: var(--sage); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; font-size: .85rem; color: rgba(228,236,231,.7); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); overflow: hidden;
  color: var(--sage-pale); transition: background .2s ease, color .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--sand); color: var(--green-dark); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; min-width: 20px; fill: currentColor; flex-shrink: 0; }

/* ---- Page hero (interior) ---- */
.page-hero { background:
    radial-gradient(900px 360px at 80% -20%, rgba(127,163,150,.25), transparent 60%),
    var(--cream-light); padding-block: clamp(3.2rem, 7vw, 5rem); border-bottom: 1px solid rgba(32,67,61,.07); text-align: center; }
.page-hero .lead { margin-inline: auto; max-width: 70ch; line-height: 1.7; }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  /* The sticky header uses backdrop-filter, which makes it the containing
     block for any position:fixed descendant. Left as-is, the fixed mobile
     menu would be clipped to the header's ~66px box (panel paints as a thin
     transparent strip). Drop the blur at mobile widths so the menu resolves
     against the viewport, and keep the bar opaque with a solid background. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }

  /* Keep the toggle above the open panel so the X stays visible/tappable. */
  .nav-toggle { display: block; position: relative; z-index: 1002; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
    height: 100vh; height: 100dvh; z-index: 1001; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--cream-light); padding: 5.5rem 1.4rem 2rem;
    box-shadow: -8px 0 40px rgba(32,67,61,.18);
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .9rem 1rem; border-radius: 10px; font-size: 1.05rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .grid-3, .grid-4, .grid-2, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.3rem; }
  .schedule { font-size: .92rem; }
  .schedule th, .schedule td { padding: .7rem .65rem; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Over mij: offset portrait so its top aligns with the divider line ---- */
/* 107 px = eyebrow (22.4px line-height + 14.4px margin-bottom)
 *         + h2 (43.2px × 1.18 line-height = 51px)
 *         + hr margin-top (1.2rem = 19.2px)
 * With .split { align-items: start } both columns anchor at y=0, so this
 * brings the portrait frame top flush with the decorative <hr class="divider">. */
.portrait-offset {
  margin-top: 107px;
}
@media (max-width: 880px) {
  .portrait-offset { margin-top: 0; }
}
