/* Shiva Yoga Studio — the site's only stylesheet.
   Every text colour below was checked for at least 4.5:1 contrast against its background. */

/* ---------- Fonts (self-hosted, SIL Open Font License — see fonts/OFL-*.txt) ---------- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Palette and shared values ---------- */

:root {
  --teal: #17514E;
  --teal-deep: #123F3C;
  --teal-line: #2C7A75;
  --gold: #C79A54;        /* buttons, rules and other non-text accents */
  --gold-text: #826229;   /* gold text on light backgrounds */
  --gold-light: #D6B582;  /* gold text on teal backgrounds */
  --cream: #F5F0E4;
  --sand: #EFE9DA;
  --paper: #FBF8F1;
  --mist: #EAF0EE;
  --line: #E6DDC9;
  --text: #5B6A67;
  --text-strong: #4C5B58;
  --muted: #616A67;
  --on-teal: #D3E0DD;
  --on-teal-soft: #BCD0CC;
  --on-teal-muted: #AABDB9;
  --overlay: 18, 63, 60;  /* teal-deep as RGB, for image overlays */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --gutter: 48px;
  --focus: var(--teal);
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; } /* keeps focused items clear of the sticky header */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--cream);
}

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

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.72; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--teal); }
h2 { font-size: clamp(2.125rem, 1.4vw + 1.6rem, 2.75rem); line-height: 1.1; }
h2 em { font-style: italic; color: var(--gold-text); }
p { margin: 0; }
address { font-style: normal; }
dl, dd { margin: 0; }
:where(ul[class], ol[class], nav ul) { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--teal-deep);
  padding: 12px 20px; font-weight: 500;
}
.skip-link:focus { top: 16px; outline-color: var(--cream); }

/* Teal sections: lighter gold for text and focus rings so both stay readable. */
.is-dark { --focus: var(--gold-light); }
.is-dark .eyebrow { color: var(--gold-light); }

.container { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--wide { max-width: 1220px; }
.container--narrow { max-width: 900px; }

.section { padding: 100px 0; }
.section--tight { padding: 80px 0; }
.bg-cream { background: var(--cream); }
.bg-mist { background: var(--mist); }
.bg-teal { background: var(--teal); }
.center { text-align: center; }

.eyebrow {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.title-lg { font-size: clamp(2.25rem, 1.8vw + 1.6rem, 3rem); line-height: 1.08; }

.text-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 34px;
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}
.btn:hover { opacity: 1; }
.btn--compact { padding: 14px 28px; letter-spacing: 0.12em; }
.btn--small { padding: 11px 24px; border-radius: 2px; font-size: 12px; letter-spacing: 0.12em; white-space: nowrap; }

.btn--gold { background: var(--gold); color: var(--teal-deep); font-weight: 500; }
.btn--gold:hover { background: #D6AC69; }
.btn--ghost { border-color: var(--gold); color: var(--cream); }
.btn--ghost:hover { background: rgba(199, 154, 84, 0.16); }
.btn--teal { background: var(--teal); color: var(--cream); }
.btn--teal:hover { background: var(--teal-deep); }
.btn--outline { border-color: var(--teal); color: var(--teal); }
.btn--outline:hover { background: rgba(23, 81, 78, 0.07); }

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal-deep);
  box-shadow: 0 2px 24px rgba(var(--overlay), 0.25);
}
.site-header__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand svg { flex: none; }
.brand__name {
  font-size: 18px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cream);
}
.brand__name strong { font-weight: 600; color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav li a {
  position: relative;
  display: block;
  padding: 4px 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #CFE0DC;
}
.site-nav li a:hover { opacity: 1; color: var(--gold); }
.site-nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: none;
  color: var(--cream);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Home: hero ---------- */

.hero {
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 64px 0;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(var(--overlay), 0.95) 0%, rgba(var(--overlay), 0.8) 38%, rgba(var(--overlay), 0.75) 50%, rgba(var(--overlay), 0.2) 75%, rgba(var(--overlay), 0) 100%),
    url(../img/hero-meditation.webp) center right / cover no-repeat;
}
.hero .container { width: 100%; }
.hero__content { max-width: 560px; }
.hero .eyebrow { margin-bottom: 24px; letter-spacing: 0.42em; }
.hero h1 {
  font-size: clamp(2.5rem, 3.6vw + 1.4rem, 4.375rem);
  line-height: 1.03;
  color: var(--cream);
}
.hero h1 em { color: var(--gold-light); }
.hero__lead { max-width: 470px; margin-top: 28px; font-size: 17px; line-height: 1.75; color: var(--on-teal); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero .actions { margin-top: 36px; }

/* ---------- Home: feature strip ---------- */

.features { background: var(--sand); border-bottom: 1px solid var(--line); }
.features ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.features li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1.5px solid var(--teal-line);
  border-radius: 50%;
}
.features__title, .features__text { display: block; }
.features__title { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.features__text { margin-top: 3px; font-size: 13px; color: var(--muted); }

/* ---------- Image + text split ---------- */

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split--text-first { grid-template-columns: 1.05fr 1fr; }
.split__img { width: 100%; height: 440px; object-fit: cover; border-radius: 3px; }
.split__img--tall { height: 460px; }
.split h2 { margin-bottom: 24px; }
.prose p:not(.eyebrow) { font-size: 16px; line-height: 1.85; }
.prose p:not(.eyebrow) + p { margin-top: 18px; }
.prose .text-link { margin-top: 26px; }

/* ---------- Cards ---------- */

.section-lead { max-width: 560px; margin: 14px auto 46px; font-size: 16px; line-height: 1.7; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.duo__item { padding: 44px 40px; background: #fff; border-top: 3px solid var(--gold); }
.duo__item--teal { border-top-color: var(--teal-line); }
.duo__item h3, .card h3 { font-size: 30px; font-weight: 400; }
.duo__item h3 { margin-bottom: 10px; }
.duo__item p { font-size: 15px; line-height: 1.7; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 44px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2.125rem, 1.6vw + 1.6rem, 2.875rem); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 38px 32px; background: var(--paper); border: 1px solid var(--line); }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.65; }

/* ---------- Home: photo strip, quote, call to action ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 20px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }

.quote-band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  margin: 0;
  padding: 80px var(--gutter);
  text-align: center;
  background:
    linear-gradient(rgba(var(--overlay), 0.76), rgba(var(--overlay), 0.76)),
    url(../img/studio-empty.webp) center / cover no-repeat;
}
.quote-band blockquote {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.75rem, 1.6vw + 1.25rem, 2.375rem);
  line-height: 1.4;
  color: var(--cream);
}

.cta .container { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.cta .eyebrow { margin-bottom: 22px; letter-spacing: 0.42em; }
.cta h2 { margin-bottom: 30px; font-size: clamp(2.25rem, 2.6vw + 1.4rem, 3.25rem); color: var(--cream); }
.cta .btn { padding: 16px 40px; }

/* ---------- Inner pages: hero banner ---------- */

.page-hero {
  --fade: linear-gradient(90deg, rgba(var(--overlay), 0.94) 0%, rgba(var(--overlay), 0.9) 35%, rgba(var(--overlay), 0.75) 55%, rgba(var(--overlay), 0.2) 100%);
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 56px 0;
  color: var(--cream);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero .container { width: 100%; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.5rem, 2.4vw + 1.6rem, 3.5rem); line-height: 1.05; color: var(--cream); }
.page-hero--mats { background-image: var(--fade), url(../img/studio-mats.webp); }
.page-hero--alt { background-image: var(--fade), url(../img/hero-alt.webp); }
.page-hero--alt-right { background-image: var(--fade), url(../img/hero-alt.webp); background-position: center right; }
.page-hero--empty { background-image: var(--fade), url(../img/studio-empty.webp); }

.intro { max-width: 640px; margin: 0 auto; font-size: 19px; line-height: 1.7; text-align: center; color: var(--text-strong); }
.intro strong { font-weight: 500; color: var(--teal); }
.not-found__actions { justify-content: center; margin-top: 32px; }
.small-note { margin-top: 8px; font-size: 14px; font-style: italic; text-align: center; color: var(--muted); }

/* ---------- Classes: timetable ---------- */

.timetable-wrap { margin-top: 48px; overflow-x: auto; }
.timetable { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.timetable thead th:first-child { width: 90px; }
.timetable th, .timetable td { padding: 14px 10px; text-align: center; border: 1px solid #EEE6D5; }
.timetable thead th {
  background: var(--teal);
  border-color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}
.timetable thead th:first-child { letter-spacing: 0.1em; color: var(--gold-light); }
.timetable tbody th { background: var(--sand); border-color: var(--line); font-weight: 600; color: var(--teal); }
.timetable thead th:first-child, .timetable tbody th { position: sticky; left: 0; z-index: 1; }
.timetable td { color: #CABFA4; }
.timetable td.slot { position: relative; background: var(--paper); border-color: var(--line); }
.timetable td.slot:hover { background: #fff; }
.slot__who { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.1; color: var(--teal); }
a.slot__who { text-decoration: underline 1px var(--gold); text-underline-offset: 4px; }
a.slot__who:hover { opacity: 1; color: var(--gold-text); }
a.slot__who::after { content: ""; position: absolute; inset: 0; }  /* the whole cell opens the teacher's page */
.slot__len { display: block; margin-top: 3px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.scroll-hint { display: none; }

.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  padding: 44px;
  background: var(--mist);
}
.welcome h2 { margin-bottom: 12px; font-size: 30px; }
.welcome p { font-size: 15px; line-height: 1.75; }
.welcome .actions { justify-content: flex-end; gap: 14px; }

/* ---------- Fees ---------- */

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.price { padding: 38px 32px; background: var(--paper); border: 1px solid var(--line); text-align: center; }
.price--wide { grid-column: span 2; }
.price h2 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.price__amount { font-family: var(--serif); font-size: 44px; font-variant-numeric: lining-nums; line-height: 1; color: var(--teal); }
.price__amount small { font-size: 18px; color: var(--muted); }
.price__note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.price__options { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 20px; }
.price__options .price__amount small { font-family: var(--sans); font-size: 16px; }
.price__or { font-size: 14px; font-style: italic; color: var(--muted); }

.price--featured { position: relative; background: var(--teal); border-color: var(--teal); }
.price--featured h2 { color: var(--gold-light); }
.price--featured .price__amount { color: var(--cream); }
.price--featured .price__amount small { color: var(--on-teal-muted); }
.price--featured .price__note { margin-top: 6px; font-size: 13px; color: var(--on-teal-soft); }
.price__second { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(199, 154, 84, 0.35); }
.price__second .price__amount { font-size: 30px; }
.price__second .price__amount small { font-size: 15px; }
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.footnotes { margin-top: 26px; font-size: 13px; line-height: 1.9; color: var(--muted); }

.welcome-note { margin-top: 40px; padding: 44px 48px; background: var(--mist); text-align: center; }
.welcome-note .eyebrow { margin-bottom: 14px; letter-spacing: 0.24em; }
.welcome-note__text {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.55;
  color: var(--teal);
}
.welcome-note__small { max-width: 620px; margin: 18px auto 0; font-size: 14px; }

.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.pay__card { padding: 40px; background: var(--paper); border: 1px solid var(--line); }
.pay__card h2, .bank h2 { margin-bottom: 16px; font-size: 28px; }
.pay__card p { font-size: 15px; line-height: 1.75; }
.pay__card p + p { margin-top: 14px; }
.pay__card strong { font-weight: 500; color: var(--teal); }
.pay__card a { color: var(--gold-text); border-bottom: 1px solid var(--gold); overflow-wrap: anywhere; }

.bank { padding: 40px; background: var(--teal); color: var(--on-teal); }
.bank h2 { margin-bottom: 20px; color: var(--cream); }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 15px; }
.bank dt { color: var(--on-teal-muted); }
.bank dd { color: var(--cream); }

/* ---------- Etiquette ---------- */

.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: tip; }
.tips li { padding: 34px 30px; background: var(--paper); border: 1px solid var(--line); counter-increment: tip; }
.tips li::before {
  content: counter(tip, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-text);
}
.tips h2 { margin-bottom: 10px; font-size: 24px; }
.tips p { font-size: 15px; line-height: 1.7; }

.closing { margin-top: 36px; padding: 56px 48px; background: var(--teal); text-align: center; }
.closing .eyebrow { margin-bottom: 12px; letter-spacing: 0.3em; }
.closing__text { font-family: var(--serif); font-size: clamp(1.75rem, 1.6vw + 1.3rem, 2.5rem); line-height: 1.2; color: var(--cream); }

/* ---------- About: follow band ---------- */

.follow .container { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.follow .eyebrow { margin-bottom: 20px; letter-spacing: 0.3em; }
.follow .actions { justify-content: center; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact h2 { margin-bottom: 28px; font-size: 34px; }
.contact-list { display: grid; gap: 26px; }
.label {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.contact-list dd a { font-size: 19px; color: var(--teal); overflow-wrap: anywhere; }
.hours { font-size: 15px; line-height: 1.9; }
.hours-note { margin-top: 8px; font-size: 13px; font-style: italic; color: var(--muted); }
.contact .actions { gap: 14px; margin-top: 30px; }
.contact .actions .btn { padding: 12px 26px; font-size: 12px; letter-spacing: 0.12em; }

.visit { padding: 44px; background: var(--teal); color: var(--on-teal); }
.visit h2 { margin-bottom: 22px; color: var(--cream); }
.visit address { font-size: 16px; line-height: 1.9; color: var(--cream); }
.visit__area { margin-top: 14px; font-size: 15px; line-height: 1.9; }
.visit__area span { color: var(--on-teal-muted); }
.visit__rule { height: 1px; margin: 26px 0; background: rgba(199, 154, 84, 0.3); }
.visit .label { margin-bottom: 10px; color: var(--gold-light); }
.visit__directions { font-size: 14px; line-height: 1.8; color: var(--on-teal-soft); }
.visit .btn { margin-top: 26px; }

/* ---------- Teachers: overview list ---------- */

.teacher-list { display: grid; gap: 20px; margin-top: 56px; }
.teacher {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr) auto;
  gap: 14px 48px;
  align-items: center;
  padding: 36px 40px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.teacher:hover { border-color: var(--gold); }
.teacher__style { margin-bottom: 8px; font-size: 12px; line-height: 1.6; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.teacher__name { font-size: 34px; line-height: 1.1; }
.teacher__name a::after { content: ""; position: absolute; inset: 0; }  /* the whole card opens the profile */
.teacher__name a:hover { opacity: 1; }
.teacher__len { margin-top: 6px; font-size: 14px; color: var(--muted); }
.teacher__intro { font-size: 15px; line-height: 1.75; }
.teacher__more { white-space: nowrap; }
@supports selector(:has(a)) {
  .teacher__name a:focus-visible { outline: none; }
  .teacher:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
}

/* ---------- Teachers: profile pages ---------- */

.profile { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.profile__body h2 { margin: 52px 0 18px; font-size: 32px; }
.profile__body > :first-child, .profile__body .eyebrow + h2 { margin-top: 0; }
.profile__body .eyebrow { margin-bottom: 12px; }
.profile__body a { color: var(--teal); border-bottom: 1px solid var(--gold); }
.points { display: grid; gap: 14px; }
.prose p + .points, .prose .points + p { margin-top: 18px; }
.points li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.8; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 14px; height: 1px; background: var(--gold); }
.points strong { font-weight: 500; color: var(--teal); }
.prose .closing-line { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--teal); }

.class-facts { position: sticky; top: 108px; padding: 40px 36px; background: var(--teal); color: var(--on-teal); }  /* stays in view beside long text; the header is 76px */
.class-facts h2 { margin-bottom: 14px; font-size: 28px; color: var(--cream); }
.class-facts__times li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(199, 154, 84, 0.3);
  font-size: 15px;
  color: var(--cream);
}
.class-facts__times span { font-variant-numeric: lining-nums; letter-spacing: 0.04em; color: var(--gold-light); }
.class-facts__len { margin-top: 14px; font-size: 14px; color: var(--on-teal-soft); }
.class-facts .actions { flex-direction: column; gap: 12px; margin-top: 28px; }

.teacher-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px 40px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.teacher-nav ul { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.teacher-nav ul a { font-family: var(--serif); font-size: 21px; color: var(--teal); }

/* ---------- Footer ---------- */

.site-footer { background: var(--teal-deep); color: #A9C1BC; }
.site-footer__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px var(--gutter) 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}
.site-footer .brand { gap: 12px; margin-bottom: 18px; }
.site-footer .brand__name { font-size: 16px; letter-spacing: 0.24em; }
.site-footer__about { max-width: 300px; font-size: 15px; line-height: 1.7; }
.footer-heading {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer address, .site-footer nav li { font-size: 14px; line-height: 1.95; }
.site-footer address a, .site-footer nav a { overflow-wrap: anywhere; }
.site-footer .footer-phone { color: var(--cream); }
.site-footer__base { border-top: 1px solid rgba(199, 154, 84, 0.2); }
.site-footer__base p { max-width: 1220px; margin: 0 auto; padding: 22px var(--gutter); font-size: 13px; color: #93A8A4; }

/* ---------- Responsive ---------- */

@media (max-width: 1119px) {
  .site-header__inner { flex-wrap: wrap; row-gap: 0; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding: 10px 0 14px; }
  .site-nav ul { flex-direction: column; align-self: stretch; gap: 0; }
  .site-nav li a { padding: 12px 0; font-size: 16px; border-top: 1px solid rgba(207, 224, 220, 0.14); }
  .site-nav a[aria-current] { color: var(--gold); }
  .site-nav a[aria-current]::after { right: auto; bottom: 6px; width: 28px; }
}

@media (max-width: 1119px) and (scripting: none) {
  .site-header { position: static; }
}

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

@media (max-width: 900px) {
  .split, .split--text-first { grid-template-columns: 1fr; gap: 40px; }
  .split__img, .split__img--tall { height: 320px; }
  .cards, .welcome, .pay, .contact, .profile { grid-template-columns: 1fr; }
  .profile { gap: 48px; }
  .class-facts { position: static; }
  .teacher { grid-template-columns: 1fr; padding: 32px 28px; }
  .teacher__more { justify-self: start; }
  .welcome .actions { justify-content: flex-start; }
  .contact { gap: 48px; }
  .tips { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 56px 0; }

  .site-header__inner { padding-top: 14px; padding-bottom: 14px; column-gap: 12px; }
  .site-header .brand { gap: 10px; }
  .site-header .brand svg { width: 34px; height: 34px; }
  .site-header .brand__name { font-size: 14px; letter-spacing: 0.16em; }
  .nav-toggle { gap: 8px; padding: 8px 12px; font-size: 12px; letter-spacing: 0.12em; }

  .hero {
    min-height: 0;
    padding: 80px 0 88px;
    background:
      linear-gradient(rgba(var(--overlay), 0.84), rgba(var(--overlay), 0.84)),
      url(../img/hero-meditation.webp) 72% center / cover no-repeat;
  }
  .page-hero {
    --fade: linear-gradient(90deg, rgba(var(--overlay), 0.93) 0%, rgba(var(--overlay), 0.88) 100%);
    min-height: 220px;
    padding: 48px 0;
  }

  .features ul { grid-template-columns: 1fr 1fr; row-gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .duo { grid-template-columns: 1fr; }
  .duo__item { padding: 32px 28px; }
  .card { padding: 32px 28px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .quote-band { min-height: 320px; padding: 64px var(--gutter); }
  .cta .container { padding-top: 72px; padding-bottom: 72px; }

  .timetable { min-width: 700px; }
  .timetable thead th:first-child { width: 60px; }
  .timetable th, .timetable td { padding: 12px 6px; }
  .slot__who { font-size: 16px; }
  .scroll-hint { display: block; margin-top: 24px; font-size: 13px; text-align: center; color: var(--muted); }
  .scroll-hint + .timetable-wrap { margin-top: 12px; }
  .welcome, .welcome-note, .pay__card, .bank, .visit, .closing, .class-facts { padding: 32px 24px; }
  .teacher { padding: 28px 24px; }
  .teacher__name { font-size: 30px; }
  .profile__body h2 { margin-top: 44px; font-size: 28px; }
  .welcome-note__text { font-size: 20px; }

  .price--wide { grid-column: auto; }
  .prices { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .tips li { padding: 28px 24px; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 40px; }
}
