/* Yoga Home Amsterdam — shared stylesheet
   Wix mapping notes are in README.md */

:root{
  --ink:#2E3B35;
  --green:#4E7A69;
  --green-dark:#3C6153;
  --sage:#E9EDE8;
  --cream:#F6F4EF;
  --card:#FFFFFF;
  --plum:#4E7A69;
  --line:#D8DFD8;
  --muted:#5F6E66;
  --maxw:1080px;
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  background:var(--card);
  color:var(--ink);
  font-family:"Karla",-apple-system,"Segoe UI",sans-serif;
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:"Marcellus",Georgia,serif;
  font-weight:400;
  line-height:1.2;
  margin:0 0 .6em;
  letter-spacing:.01em;
}

h1{font-size:2.9rem;}
h2{font-size:2.1rem;}
h3{font-size:1.35rem;}

p{margin:0 0 1.1em;max-width:68ch;}

a{color:var(--plum);}

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

/* ---------- layout ---------- */

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}

.band{padding:88px 0;}
.band-sage{background:var(--sage);}
.band-green{background:var(--green);color:#fff;}
.band-green h2,.band-green h3{color:#fff;}
.band-green a{color:#fff;}
.band-tight{padding:56px 0;}

/* ---------- header ---------- */

.site-header{
  border-bottom:1px solid var(--line);
  background:var(--card);
  position:sticky;
  top:0;
  z-index:20;
}

.header-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.logo{
  font-family:"Marcellus",Georgia,serif;
  font-size:1.2rem;
  color:var(--ink);
  text-decoration:none;
  line-height:1.25;
}
.logo span{display:block;font-family:"Karla",sans-serif;font-size:.72rem;color:var(--muted);letter-spacing:.14em;}

.nav{display:flex;gap:22px;flex-wrap:wrap;}
.nav a{
  color:var(--ink);
  text-decoration:none;
  font-size:.92rem;
  padding-bottom:3px;
  border-bottom:1px solid transparent;
}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:var(--plum);}

.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--line);
  border-radius:3px;
  padding:8px 12px;
  font-family:inherit;
  font-size:.9rem;
  cursor:pointer;
  color:var(--ink);
}

/* ---------- hero ---------- */

.hero{
  background:var(--sage);
  padding:96px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:center;
}
.hero h1{font-size:3.3rem;margin-bottom:.35em;}
.hero .lead{font-size:1.18rem;color:var(--muted);}
.hero-quote{
  border-left:2px solid var(--green);
  padding-left:20px;
  font-family:"Marcellus",Georgia,serif;
  font-size:1.1rem;
  line-height:1.6;
  color:var(--ink);
  margin:0 0 28px;
}
.hero-img img{border-radius:2px;}

/* ---------- routing cards (Not sure where to start) ---------- */

.routes{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:8px;}
.route{
  background:var(--card);
  border:1px solid var(--line);
  padding:28px;
  text-decoration:none;
  color:var(--ink);
  display:block;
}
.route:hover{border-color:var(--plum);}
.route h3{margin-bottom:.4em;}
.route p{font-size:.95rem;color:var(--muted);margin:0;}

/* ---------- directory (four ways in) ---------- */

.band-cream{background:var(--cream);}

.directory{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:36px;
}
.dir-item{text-decoration:none;color:var(--ink);display:block;}
.dir-item img{
  width:50%;
  aspect-ratio:3/4;
  object-fit:cover;
  margin-bottom:18px;
}
.dir-item h3{
  display:inline-block;
  border-bottom:2px solid var(--ink);
  padding-bottom:4px;
  margin-bottom:.7em;
  font-size:1.3rem;
  white-space:nowrap;
}
.dir-item .arrow{margin-left:8px;}
.dir-item p{
  font-size:.97rem;
  line-height:1.55;
  margin:0;
  color:var(--ink);
}
.dir-item:hover h3{border-bottom-color:var(--green);color:var(--green);}

/* ---------- generic cards ---------- */

.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;}
.cards-3{grid-template-columns:repeat(3,1fr);}
.card{
  background:var(--card);
  border:1px solid var(--line);
  padding:32px;
}
.card p:last-child{margin-bottom:0;}
.card .meta{
  font-size:.9rem;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:14px;
  margin-top:18px;
}

/* ---------- buttons ---------- */

.btn{
  display:inline-block;
  background:var(--plum);
  color:#fff;
  text-decoration:none;
  padding:13px 26px;
  font-size:.95rem;
  border:1px solid var(--plum);
}
.btn:hover{background:var(--green-dark);border-color:var(--green-dark);}
.btn-light{background:transparent;color:var(--ink);border-color:var(--ink);}
.btn-light:hover{background:var(--ink);color:#fff;}
.band-green .btn{background:#fff;color:var(--green);border-color:#fff;}
.band-green .btn:hover{background:var(--sage);color:var(--green);}

/* ---------- "this is for you if" ---------- */

.foryou{
  background:var(--card);
  border:1px solid var(--green);
  padding:28px 32px;
  margin:0 0 40px;
}
.foryou h3{font-size:1.1rem;margin-bottom:.5em;}
.foryou ul{margin:0;padding-left:20px;}
.foryou li{margin-bottom:6px;}

/* ---------- lists ---------- */

.conditions{
  columns:2;
  column-gap:48px;
  padding-left:20px;
  margin:0;
}
.conditions li{margin-bottom:8px;break-inside:avoid;}

.schedule-list{list-style:none;margin:0;padding:0;}
.schedule-list li{
  display:flex;
  gap:24px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
  align-items:baseline;
  flex-wrap:wrap;
}
.schedule-list .when{min-width:200px;font-family:"Marcellus",Georgia,serif;font-size:1.05rem;}
.schedule-list .what{flex:1;min-width:200px;}
.schedule-list .where{color:var(--muted);font-size:.93rem;}

.training-group{margin-bottom:36px;}
.training-group h3{margin-bottom:.3em;}
.training-group p{color:var(--muted);font-size:.97rem;max-width:74ch;}

/* ---------- quotes ---------- */

.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.quotes.quotes-2{grid-template-columns:repeat(2,1fr);}
.quote{background:var(--card);border-top:2px solid var(--green);padding:26px;}
.quote p{font-size:.95rem;line-height:1.65;}
.quote cite{font-family:"Marcellus",Georgia,serif;font-style:normal;font-size:1.05rem;}

/* ---------- gallery ---------- */

.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.gallery img{width:100%;height:280px;object-fit:cover;border-radius:2px;}

/* ---------- contact ---------- */

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.contact-list{list-style:none;margin:0 0 28px;padding:0;font-size:1.05rem;}
.contact-list li{padding:10px 0;border-bottom:1px solid var(--line);}

/* ---------- footer ---------- */

.site-footer{
  background:var(--ink);
  color:#CBD5CC;
  padding:56px 0 40px;
  font-size:.93rem;
}
.site-footer a{color:#fff;text-decoration:none;}
.site-footer a:hover{text-decoration:underline;}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;}
.footer-grid h3{color:#fff;font-size:1rem;margin-bottom:.7em;}
.footer-grid ul{list-style:none;margin:0;padding:0;}
.footer-grid li{margin-bottom:8px;}
.footer-bottom{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid #3A4A42;
  font-size:.85rem;
  color:#93A29A;
}

/* ---------- utilities ---------- */

.section-intro{max-width:60ch;}
.center{text-align:center;}
.center p{margin-left:auto;margin-right:auto;}
.price{font-family:"Marcellus",Georgia,serif;font-size:1.3rem;}

/* ---------- responsive ---------- */

@media (max-width:1000px){
  .directory{grid-template-columns:repeat(2,1fr);gap:32px;}
}

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

@media (max-width:880px){
  h1{font-size:2.2rem;}
  .hero h1{font-size:2.4rem;}
  h2{font-size:1.7rem;}
  .band{padding:60px 0;}
  .hero{padding:60px 0;}
  .hero-grid,.contact-grid{grid-template-columns:1fr;gap:32px;}
  .routes,.cards,.cards-3,.quotes,.quotes.quotes-2,.gallery,.footer-grid{grid-template-columns:1fr;}
  .conditions{columns:1;}
  .nav-toggle{display:block;}
  .nav{
    display:none;
    width:100%;
    flex-direction:column;
    gap:0;
    padding-top:12px;
  }
  .nav.open{display:flex;}
  .nav a{padding:12px 0;border-bottom:1px solid var(--line);}
  .header-inner{flex-wrap:wrap;}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none !important;animation:none !important;}
  html{scroll-behavior:auto;}
}

/* ---------- full width page image ---------- */

.page-img{
  width:100%;
  height:460px;
  object-fit:cover;
  border-radius:2px;
}

/* ---------- card extras ---------- */

.card-sub{
  font-size:.9rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin:-.4em 0 1.1em;
}
.card-quote{
  margin:0 0 1.1em;
  padding-left:18px;
  border-left:2px solid var(--green);
  font-family:"Marcellus",Georgia,serif;
  font-size:1.02rem;
  line-height:1.55;
}
.card-quote cite{
  display:block;
  margin-top:8px;
  font-family:"Karla",sans-serif;
  font-style:normal;
  font-size:.85rem;
  color:var(--muted);
}

.sub-head{margin-top:2em;}

@media (max-width:880px){
  .page-img{height:260px;}
}


/* ---------- section eyebrow ---------- */

.eyebrow{
  font-size:.82rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 .8em;
}

/* ---------- pull quote in a hero ---------- */

.lead-quote{
  font-family:"Marcellus",Georgia,serif;
  font-size:1.25rem;
  line-height:1.5;
  max-width:44ch;
  border-left:2px solid var(--green);
  padding-left:20px;
  margin-top:28px;
}

@media (max-width:880px){
  .lead-quote{font-size:1.1rem;}
}


/* ---------- form ---------- */

.form{max-width:760px;margin-top:36px;}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 28px;}
.field{margin:0;}
.field-wide{grid-column:1 / -1;}
.field label{
  display:block;
  font-size:.92rem;
  margin-bottom:7px;
  color:var(--ink);
}
.field .optional{color:var(--muted);font-size:.82rem;}
.field .req{color:var(--green);}
.field input,.field textarea{
  width:100%;
  font-family:inherit;
  font-size:1rem;
  color:var(--ink);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:2px;
  padding:12px 14px;
}
.field textarea{resize:vertical;}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:#A5533F;}
.field input:focus,.field textarea:focus{
  outline:2px solid var(--green);
  outline-offset:1px;
  border-color:var(--green);
}

.consent{margin:26px 0 22px;max-width:70ch;}
.consent label{display:flex;gap:12px;align-items:flex-start;font-size:.94rem;line-height:1.55;cursor:pointer;}
.consent input{margin-top:4px;width:17px;height:17px;flex:none;accent-color:var(--green);}

.form-note{font-size:.92rem;color:var(--green-dark);min-height:1.2em;margin-top:-6px;}

.fineprint{
  font-size:.86rem;
  line-height:1.6;
  color:var(--muted);
  max-width:72ch;
  border-top:1px solid var(--line);
  padding-top:16px;
  margin-top:8px;
}

/* ---------- long form text ---------- */

.prose h2{font-size:1.5rem;margin-top:1.6em;}
.prose h2:first-child{margin-top:0;}
.prose .conditions{columns:1;}
.prose .conditions li{margin-bottom:14px;max-width:72ch;}
.placeholder{color:var(--green-dark);background:var(--sage);padding:1px 6px;border-radius:2px;}

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


/* ---------- logo image ---------- */

.logo{display:flex;flex-direction:column;align-items:flex-start;gap:2px;}
.logo img{height:65px;width:auto;display:block;}
.logo span{font-size:.66rem;letter-spacing:.15em;}

@media (max-width:880px){
  .logo img{height:48px;}
}

/* ---------- footer signature ---------- */

.footer-signature{
  text-align:center;
  max-width:none;
  margin:44px 0 0;
  font-family:"Marcellus",Georgia,serif;
  font-size:1.35rem;
  letter-spacing:.02em;
}
.footer-signature a{color:#fff;}


/* ---------- photo inside a card ---------- */

.card-img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:2px;
  margin:4px 0 22px;
}
@media (max-width:880px){
  .card-img{height:240px;}
}


/* ---------- compact day programme ---------- */

.schedule-compact{margin-bottom:28px;}
.schedule-compact li{
  padding:9px 0;
  gap:18px;
  flex-wrap:nowrap;
  align-items:baseline;
}
.schedule-compact .when{
  min-width:0;
  flex:0 0 170px;
  font-size:.98rem;
}
.schedule-compact .what{min-width:0;font-size:.97rem;line-height:1.55;}
@media (max-width:560px){
  .schedule-compact li{gap:12px;}
  .schedule-compact .when{flex-basis:108px;font-size:.9rem;}
  .schedule-compact .what{font-size:.92rem;}
}

/* ---------- retreat poster ---------- */

.poster-img{
  width:100%;
  max-width:460px;
  height:auto;
  border-radius:2px;
  box-shadow:0 1px 3px rgba(46,59,53,.12);
}


/* ---------- home: workshop promo ---------- */

.promo-grid{align-items:start;}
.promo-grid .schedule-compact{margin:22px 0 28px;}
.promo-grid .schedule-compact .when{flex-basis:150px;}
.promo-img{
  width:100%;
  max-height:560px;
  object-fit:cover;
  object-position:center 72%;
  border-radius:2px;
}
@media (max-width:880px){
  .promo-img{max-height:420px;}
}


/* ---------- dated event box inside a card ---------- */

.event-box{
  background:var(--sage);
  border-left:3px solid var(--green);
  padding:20px 22px 6px;
  margin:22px 0 4px;
}
.event-box p{font-size:.95rem;line-height:1.6;margin-bottom:.9em;}
.event-box .event-title{
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:.3em;
}
.event-box .btn{padding:11px 20px;font-size:.9rem;}
