/* Sri Lakshmi Yoga — static rebuild of the 2017–2020 WordPress.com site */

@font-face { font-family: "Gentium Book Basic"; src: url("../fonts/GenBkBasR.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gentium Book Basic"; src: url("../fonts/GenBkBasI.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Gentium Book Basic"; src: url("../fonts/GenBkBasB.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gentium Book Basic"; src: url("../fonts/GenBkBasBI.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --pink-light: #ffb0ab;   /* top bar, footer, dropdowns */
  --pink: #f59495;         /* quote band */
  --accent: #d8164a;       /* titles, links */
  --accent-dark: #a90f38;
  --text: #333;
  --muted: #6d6d6d;
  --soft: rgba(0,0,0,.025); /* light grey boxes, as on the original site */
  --cream: #fff;           /* page background */
  --cream-deep: #fff0ef;   /* soft pink behind the icons */
  --gold: var(--pink-light); /* accent borders */
  --max: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Gentium Book Basic", Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 6px 10px; z-index: 10; }

/* Top bar */
.top-bar { background: var(--pink-light); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.top-bar a { color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.top-bar svg { width: 18px; height: 18px; fill: currentColor; }

/* Header */
.site-header { background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--accent); }
.brand:hover { text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand span { white-space: nowrap; font-size: 34px; font-weight: 700; text-transform: uppercase; line-height: 1.05; letter-spacing: .02em; }

/* Navigation */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; font-weight: 700; text-transform: uppercase; font-size: 14px; border: 2px solid var(--accent); color: var(--accent); padding: 6px 12px; border-radius: 3px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 2px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 8px 12px; color: var(--text); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav .current-parent > a { color: var(--accent); text-decoration: none; }
.main-nav .has-sub > a::after { content: " \25BE"; font-size: 11px; }
.main-nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--pink-light); z-index: 20; padding: 6px 0; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { display: block; }
.main-nav .sub a { text-transform: none; font-size: 15px; padding: 7px 16px; }

/* Hero + quote band */
.hero { display: block; width: 100%; height: clamp(140px, 18vw, 240px); object-fit: cover; object-position: 40% 72%; background: #cfd8d6; }
.quote-band { background: var(--pink); color: #fff; text-align: center; padding: 22px 20px; }
.quote-band p { margin: 0; font-size: 22px; font-weight: 700; }
.quote-band cite { display: block; font-style: italic; font-size: 16px; margin-top: 4px; opacity: .95; }
.page-banner { display: block; width: 100%; height: 220px; object-fit: cover; }

/* Content */
main { padding: 40px 0 60px; }
.content { max-width: 760px; margin: 0 auto; }
h1, h2, h3 { color: var(--accent); font-weight: 400; line-height: 1.2; }
h1 { font-size: 40px; margin: 0 0 24px; }
h2 { font-size: 28px; margin: 40px 0 16px; }
h3 { font-size: 23px; margin: 28px 0 12px; }
hr { border: 0; border-top: 1px solid #eee; margin: 32px 0; }
.lead p { font-size: 20px; }
.meta { color: var(--muted); font-size: 15px; text-transform: lowercase; margin-top: -14px; margin-bottom: 24px; }
.post-img { display: block; margin: 0 0 24px; }
.credit { color: var(--muted); }
.class-list { list-style: none; padding: 0; margin: 0 0 24px; }
.class-list li { padding: 10px 0; border-bottom: 1px solid #f1f1f1; }
.class-list a { font-weight: 700; }
.class-list small { color: var(--muted); }
.price-list p { margin: 0 0 14px; }
.button, button[type=submit] {
  display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 3px;
  padding: 11px 22px; font: 700 15px/1.2 "Gentium Book Basic", Georgia, serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.button:hover, button[type=submit]:hover { background: var(--accent-dark); text-decoration: none; }
.teacher { display: flex; gap: 28px; align-items: flex-start; }
.teacher img { flex: 0 0 200px; border-radius: 3px; }

/* Testimonials and post cards */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 40px 0; }
.testimonial { background: var(--soft); padding: 26px 28px; margin: 0; border-left: 3px solid var(--gold); }
.testimonial p { margin: 0 0 12px; font-style: italic; }
.testimonial footer { font-weight: 700; color: var(--accent); }
.posts { display: grid; gap: 24px; }
.post-card { background: var(--soft); padding: 26px 28px; }
.post-card h3 { margin: 0 0 4px; text-transform: uppercase; font-size: 20px; font-weight: 700; }
.post-card .meta { margin: 0 0 10px; }
.post-card p { margin: 0 0 10px; }
.section-title { font-size: 15px; text-transform: uppercase; font-weight: 700; letter-spacing: .05em; color: var(--text); margin: 50px 0 16px; }

/* FAQ */
.faq dt { font-weight: 700; margin-top: 22px; }
.faq dd { margin: 6px 0 0; }

/* Forms */
form.sly-form { display: grid; gap: 18px; margin-top: 24px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field .opt { display: flex; gap: 8px; align-items: baseline; font-weight: 400; margin: 2px 0; }
.req { color: var(--accent); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 17px; border: 1px solid #d6d6d6; border-radius: 3px; background: #fff; color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pink); border-color: var(--pink); }
.form-note { font-size: 15px; color: var(--muted); }
.form-status { padding: 14px 18px; background: #fff3f2; border-left: 3px solid var(--accent); display: none; }
.form-status.show { display: block; }

/* Footer */
.site-footer { background: var(--pink-light); padding: 36px 0 26px; font-size: 16px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.site-footer h4 { margin: 0 0 10px; text-transform: uppercase; font-size: 14px; letter-spacing: .05em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 3px 0; }
.site-footer a { color: var(--text); }
.site-footer .copy { margin-top: 26px; font-size: 14px; color: #555; }

/* Header booking button */
.brand { order: 1; }
.main-nav { order: 2; margin-left: auto; }
.book-btn { order: 3; white-space: nowrap; padding: 9px 16px; font-size: 13px; }
.nav-toggle-label { order: 4; }
.button-outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); margin-left: 6px; }
.button-outline:hover { background: var(--accent); color: #fff; }

/* Home: welcome note */
.welcome { max-width: 820px; margin: 0 auto 50px; background: var(--soft); border-top: 4px solid var(--gold); padding: 28px 34px; text-align: center; }
.welcome-kicker { color: var(--accent); font-size: 26px; margin: 0 0 6px; }
.welcome p { margin: 0 0 14px; }
.welcome p:last-child { margin: 0; }

/* Home: Connect, Embrace, Empower */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 10px 0 30px; }
.pillar { text-align: center; padding: 10px 8px; }
.pillar-icon { width: 64px; height: 64px; margin: 0 auto 10px; background: var(--cream-deep); border-radius: 50%; display: grid; place-items: center; }
.pillar-icon svg { width: 38px; height: 38px; color: var(--accent); }
.pillar h3 { margin: 0 0 10px; font-size: 26px; }
.pillar h3 span { color: var(--text); font-size: 20px; }
.pillar p { margin: 0; font-size: 17px; }

/* Home: class cards */
.section-title.center, .center { text-align: center; }
.class-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 18px; }
.class-card { display: flex; flex-direction: column; background: var(--soft); padding: 22px 24px; color: var(--text); border-bottom: 3px solid var(--pink-light); transition: transform .15s, box-shadow .15s; }
.class-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.06); border-bottom-color: var(--accent); }
.class-card h3 { margin: 0 0 8px; font-size: 22px; }
.class-card p { margin: 0 0 14px; font-size: 16px; flex: 1; }
.class-card .price { font-weight: 700; color: var(--accent); }

/* Home: rotating testimonials */
.t-strip { max-width: 760px; margin: 0 auto 20px; }
.t-strip .t-track { display: grid; gap: 20px; }
.t-strip.js .t-track { gap: 0; }
.t-strip.js .testimonial { display: none; }
.t-strip.js .testimonial.active { display: block; animation: tfade .5s ease; }
@keyframes tfade { from { opacity: 0; } to { opacity: 1; } }
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.t-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: var(--pink-light); cursor: pointer; }
.t-dots button.active { background: var(--accent); }

/* Mobile */
@media (max-width: 1000px) and (min-width: 861px) {
  .class-cards { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { padding: 8px 8px; }
  .brand span { font-size: 28px; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-header .wrap { flex-wrap: wrap; }
  .brand span { font-size: 26px; }
  .brand img { width: 48px; }
  .nav-toggle-label { display: inline-block; }
  .main-nav { flex-basis: 100%; display: none; order: 5; margin-left: 0; }
  .book-btn { margin-left: auto; }
  .pillars, .class-cards { grid-template-columns: 1fr; }
  .welcome { padding: 22px 20px; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; border-top: 1px solid #eee; }
  .main-nav li { border-bottom: 1px solid #f3f3f3; }
  .main-nav .sub { display: block; position: static; box-shadow: none; background: transparent; padding: 0 0 6px 14px; min-width: 0; }
  .main-nav .has-sub > a::after { content: ""; }
  h1 { font-size: 32px; }
  .quote-band p { font-size: 19px; }
  .teacher { flex-direction: column; }
  .teacher img { flex-basis: auto; }
  .top-bar .tagline { font-size: 11px; }
}

/* Small phones: keep logo, Book and Menu on one row */
@media (max-width: 520px) {
  .site-header .wrap { gap: 10px; padding: 14px 14px; }
  .brand { gap: 8px; }
  .brand img { width: 36px !important; }
  .brand span { font-size: 19px !important; }
  .book-btn { padding: 8px 10px; font-size: 12px; }
  .nav-toggle-label { padding: 5px 9px; font-size: 12px; }
}

@media (max-width: 380px) { .xs-hide { display: none; } }

/* Notice: in-person classes paused */
.notice { background: var(--soft); border-left: 4px solid var(--gold); padding: 14px 20px; margin: 0 0 26px; }
.notice p { margin: 0; }
.class-card h3 a { color: inherit; }
.class-card .more { white-space: nowrap; }
.class-card .card-foot { min-height: 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.button-sm { padding: 6px 18px; font-size: 15px; margin: 0; }
.price-list .button-sm, .content p .button-sm { margin-left: 4px; vertical-align: middle; }
