/* BAKIPA FITNESS – v9 design system (2026-07)
   Warm editorial community feel: off-white paper, deep teal, coral accent,
   generous spacing, real photography, no fitness-studio cliché. */

:root {
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --ink: #10221f;
  --ink-2: #34443f;
  --ink-3: #6b7570;
  --line: #e2d9c9;
  --teal: #0e3d3a;
  --teal-2: #185550;
  --teal-3: #24847c;
  --aqua: #2ca9b4;
  --sand: #e7c68c;
  --coral: #d9633f;
  --coral-2: #b94d2c;
  --moss: #6f8a56;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(16,34,31,.06);
  --shadow: 0 10px 30px -18px rgba(16,34,31,.35);
  --shadow-lg: 0 30px 60px -30px rgba(16,34,31,.45);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --wrap: 1180px;
  --gap: clamp(1rem, 2.2vw, 2rem);
  --step-0: clamp(.98rem, .95rem + .1vw, 1.05rem);
  --step-1: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --step-2: clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3vw, 3.8rem);
  --step-5: clamp(3rem, 2rem + 4vw, 4.8rem);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-2); text-decoration: none; }
a:hover { color: var(--coral-2); }
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}
.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: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: .75rem 1rem;
  border-radius: 0 0 12px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--wrap);
  padding-inline: clamp(1rem, 3vw, 2rem);
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
p.lead { font-size: var(--step-1); color: var(--ink-2); }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-3);
  font-weight: 600;
  margin: 0 0 .8rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: currentColor;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 243, 236, .96);
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--ink);
  font-family: var(--font-display);
}
.brand-mark {
  width: 42px; height: 42px;
  padding: 8px;
  color: var(--paper);
  background: var(--teal);
  border-radius: 12px;
  flex-shrink: 0;
}
.brand-mark path, .brand-mark circle { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.brand-type { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-type strong {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em;
}
.brand-type small {
  font-family: var(--font-sans); font-size: .68rem;
  letter-spacing: .32em; color: var(--ink-3); margin-top: 3px;
}
.main-nav {
  display: flex; align-items: center; justify-content: center;
  gap: .4rem;
}
.main-nav .nav-link {
  color: var(--ink-2);
  padding: .55rem .9rem;
  border-radius: var(--radius-pill);
  font-weight: 500; font-size: .96rem;
  transition: background .18s, color .18s;
}
.main-nav .nav-link:hover { background: var(--paper-2); color: var(--ink); }
.main-nav .nav-link.is-active {
  background: var(--ink);
  color: var(--paper);
}
.header-cta {
  display: inline-flex; align-items: center; gap: .8rem;
}
.header-phone {
  display: none;
  color: var(--ink-2); font-weight: 500; font-size: .92rem;
}
.header-phone svg { width: 16px; height: 16px; margin-right: .35rem; vertical-align: -3px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  align-items: center; justify-content: center;
  gap: 4px; flex-direction: column;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: var(--white);
  font-weight: 600; font-size: .96rem;
  border: 1px solid var(--coral);
  cursor: pointer;
  transition: transform .12s ease, background .18s, box-shadow .18s;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.button:hover { background: var(--coral-2); color: var(--white); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-secondary {
  background: transparent; color: var(--ink); border-color: var(--ink);
  box-shadow: none;
}
.button-secondary:hover { background: var(--ink); color: var(--paper); }
.button-ghost {
  background: transparent; color: var(--teal-2); border-color: color-mix(in oklab, var(--teal-2) 30%, transparent); box-shadow: none;
}
.button-ghost:hover { background: color-mix(in oklab, var(--teal-2) 10%, transparent); color: var(--teal); }
.button-small { padding: .65rem 1.05rem; font-size: .88rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--teal-2); font-weight: 600;
}
.text-link:hover { color: var(--coral-2); }
.text-link svg { width: 16px; height: 16px; transition: transform .18s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Section basics ---------- */
main { display: block; }
section { padding-block: clamp(3rem, 6vw, 6rem); }
.section-head {
  display: grid; gap: 1rem;
  max-width: 820px; margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--ink-2); margin: 0; }

/* ---------- HERO (home) ---------- */
.hero {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-copy h1 {
  font-size: var(--step-5);
  margin-bottom: 1rem;
}
.hero-copy h1 em {
  font-style: italic; color: var(--teal-2);
}
.hero-copy .lead { max-width: 520px; margin-bottom: 1.6rem; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-badges > div {
  display: flex; align-items: center; gap: .7rem;
}
.hero-badges strong {
  display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
}
.hero-badges span { font-size: .82rem; color: var(--ink-3); }
.hero-badges svg { width: 22px; height: 22px; color: var(--teal-3); flex-shrink: 0; }

.hero-photo {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,61,58,.35));
}
.hero-chip {
  position: absolute; z-index: 2;
  background: var(--white);
  border-radius: 18px;
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .7rem;
  font-size: .88rem;
  max-width: 240px;
}
.hero-chip strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.hero-chip small { color: var(--ink-3); font-size: .78rem; }
.hero-chip .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--coral) 25%, transparent);
  flex-shrink: 0;
}
.hero-chip.one { bottom: 24px; left: -18px; }
.hero-chip.two { top: 24px; right: -18px; }

/* ---------- Ribbon ---------- */
.ribbon {
  background: var(--ink);
  color: var(--paper);
  padding-block: 1.4rem;
}
.ribbon-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.ribbon-inner > div { padding-inline: 1rem; border-right: 1px solid rgba(247,243,236,.15); }
.ribbon-inner > div:last-child { border-right: 0; }
.ribbon-inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--paper);
  margin-bottom: .15rem;
}
.ribbon-inner span { font-size: .82rem; color: color-mix(in oklab, var(--paper) 70%, transparent); }

/* ---------- Chooser ---------- */
.chooser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.chooser-card {
  display: flex; flex-direction: column; gap: .8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  color: var(--ink);
}
.chooser-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-3);
}
.chooser-card .badge {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--teal-3) 15%, var(--white));
  color: var(--teal);
  display: grid; place-items: center;
}
.chooser-card .badge svg { width: 22px; height: 22px; }
.chooser-card h3 { font-size: 1.15rem; margin: 0; }
.chooser-card p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.chooser-card small { font-size: .82rem; color: var(--teal-3); font-weight: 600; margin-top: auto; }

/* ---------- Course cards ---------- */
.course-list {
  display: grid; gap: 1.4rem;
}
.course-item {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s;
}
.course-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.course-item .cover {
  position: relative; min-height: 240px;
  background: var(--paper-2);
}
.course-item .cover img { width: 100%; height: 100%; object-fit: cover; }
.course-item .venue-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--white); color: var(--ink);
  padding: .35rem .7rem; font-size: .78rem; font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: .35rem;
}
.course-item .accent {
  position: absolute; bottom: 14px; left: 14px;
  padding: .35rem .7rem;
  border-radius: var(--radius-pill);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--white);
}
.accent-aqua { background: var(--aqua); }
.accent-blue { background: var(--teal-2); }
.accent-green { background: var(--moss); }
.accent-coral { background: var(--coral); }
.course-item .body { padding: 1.6rem 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.course-item h3 { margin: 0; font-size: 1.5rem; }
.course-item p.summary { color: var(--ink-2); margin: 0; }
.course-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem 1.4rem; margin: .8rem 0 1rem;
  font-size: .88rem;
}
.course-meta div { display: flex; flex-direction: column; }
.course-meta dt {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-3); margin-bottom: .1rem;
}
.course-meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.course-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: auto; }

/* ---------- Care / feature band ---------- */
.care-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 60%, #0a2e2c 100%);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.care-band h2 { color: var(--paper); font-size: var(--step-3); }
.care-band .quote {
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1.35;
  border-left: 3px solid var(--sand); padding-left: 1.2rem; margin: 1.4rem 0;
}
.care-band .points { display: grid; gap: 1.1rem; }
.care-band .point {
  display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start;
  background: color-mix(in oklab, var(--paper) 6%, transparent);
  padding: 1rem; border-radius: 14px;
}
.care-band .point .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sand); color: var(--teal);
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem;
}
.care-band .point strong { display: block; margin-bottom: .2rem; color: var(--paper); font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.care-band .point span { color: color-mix(in oklab, var(--paper) 75%, transparent); font-size: .92rem; }

/* ---------- Schedule ---------- */
.schedule-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.day-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.day-card .day-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.day-card .day-head strong {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--ink);
}
.day-card .day-head small { color: var(--ink-3); font-size: .82rem; }
.slot {
  display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: start;
  padding: .8rem; border-radius: 14px;
  background: var(--paper);
}
.slot .time {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--teal);
  font-weight: 600; line-height: 1.15;
}
.slot .time small { display: block; font-size: .74rem; color: var(--ink-3); font-family: var(--font-sans); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-top: .2rem; }
.slot .slot-body a.name { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); display: block; margin-bottom: .1rem; }
.slot .slot-body a.name:hover { color: var(--coral-2); }
.slot .slot-body .venue { font-size: .82rem; color: var(--ink-3); }
.slot .slot-body .ask { display: inline-block; margin-top: .5rem; font-size: .85rem; font-weight: 600; color: var(--coral-2); }

/* ---------- Beginners / seniors band ---------- */
.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.split-band .split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}
.split-band .split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-band h2 { margin-top: 0; }
.split-band ul {
  list-style: none; padding: 0; margin: 1.2rem 0;
  display: grid; gap: .6rem;
}
.split-band ul li {
  display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start;
  color: var(--ink-2);
}
.split-band ul li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3d3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l4 4L19 6'/></svg>");
  background-size: 14px 14px; background-repeat: no-repeat; background-position: center;
}

/* ---------- About preview ---------- */
.about-band {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.about-band .about-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-band .about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-band .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.4rem; }
.about-band .facts div {
  background: var(--white); border-radius: 14px; padding: 1rem;
  border: 1px solid var(--line);
}
.about-band .facts strong { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .1rem; }
.about-band .facts span { font-size: .82rem; color: var(--ink-3); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  position: relative;
  display: flex; flex-direction: column; gap: .5rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display); font-size: 2.4rem; color: var(--sand);
  line-height: 1;
}
.step h3 { font-size: 1.15rem; margin: 0; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .7rem; max-width: 780px; margin-inline: auto; }
details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}
details.faq[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-3); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-family: var(--font-sans); font-weight: 400; font-size: 1.5rem;
  color: var(--teal-3);
  transition: transform .2s;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.contact-card .badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in oklab, var(--teal-3) 15%, var(--white));
  color: var(--teal); display: grid; place-items: center;
  margin-bottom: .3rem;
}
.contact-card .badge svg { width: 22px; height: 22px; }
.contact-card strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.contact-card a { color: var(--teal-2); font-weight: 500; word-break: break-word; }
.contact-card small { color: var(--ink-3); font-size: .84rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--coral) 0%, #a2411f 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.final-cta h2 { color: var(--white); font-size: var(--step-3); }
.final-cta p { color: color-mix(in oklab, var(--white) 90%, transparent); max-width: 620px; }
.final-cta .button { background: var(--white); color: var(--coral-2); border-color: var(--white); }
.final-cta .button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.final-cta .button-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.final-cta .button-secondary:hover { background: var(--white); color: var(--coral-2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  padding-block: clamp(2.5rem, 4vw, 4rem) 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.site-footer h3 {
  font-family: var(--font-sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand); margin: 0 0 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
.footer-grid .brand { color: var(--paper); }
.footer-grid .brand-mark { background: var(--sand); color: var(--teal); }
.footer-grid a { display: block; color: color-mix(in oklab, var(--paper) 80%, transparent); padding: .25rem 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--paper); }
.footer-grid p { color: color-mix(in oklab, var(--paper) 60%, transparent); font-size: .9rem; }
.footer-grid .contact-line { display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.footer-grid .contact-line svg { width: 16px; height: 16px; color: var(--sand); flex-shrink: 0; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(247,243,236,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .82rem; color: color-mix(in oklab, var(--paper) 55%, transparent);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom nav a { color: color-mix(in oklab, var(--paper) 70%, transparent); padding: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding-block: 1.2rem;
  font-size: .85rem; color: var(--ink-3);
}
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "›"; padding-right: .4rem; color: var(--ink-3); }
.breadcrumbs a { color: var(--teal-2); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding-top: 1.5rem; padding-bottom: 0;
}
.page-hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
}
.page-hero.wide .page-hero-inner { grid-template-columns: 1fr; text-align: center; }
.page-hero h1 { font-size: var(--step-4); margin-bottom: .8rem; }
.page-hero .lead { max-width: 560px; margin-bottom: 1.4rem; }
.page-hero.wide .lead { margin-inline: auto; }
.page-hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Course-detail specific */
.detail-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem; align-items: flex-start;
}
.detail-copy h2 { margin-top: 2rem; }
.detail-copy h2:first-child { margin-top: 0; }
.info-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  position: sticky; top: 100px;
}
.info-panel h3 { margin: 0 0 1rem; font-size: 1.2rem; }
.info-panel dl { margin: 0; display: grid; gap: .8rem; }
.info-panel dl > div { display: flex; flex-direction: column; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.info-panel dl > div:last-of-type { border-bottom: 0; padding-bottom: 0; }
.info-panel dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: .2rem; }
.info-panel dd { margin: 0; color: var(--ink); font-weight: 500; }
.info-panel .button { width: 100%; margin-top: 1.2rem; }

.callout {
  background: color-mix(in oklab, var(--sand) 25%, var(--white));
  border-left: 4px solid var(--sand);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
}
.callout strong { display: block; margin-bottom: .3rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.related-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
  display: flex; flex-direction: column; gap: .4rem;
  color: var(--ink);
}
.related-card:hover { border-color: var(--teal-3); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.related-card h3 { margin: 0; font-size: 1.1rem; }
.related-card small { color: var(--ink-3); font-size: .82rem; }
.related-card .go { margin-top: auto; color: var(--coral-2); font-weight: 600; font-size: .88rem; }

/* Price list */
.price-list { display: grid; gap: .6rem; max-width: 720px; margin-inline: auto; }
.price-row {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.3rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  font-size: 1rem;
}
.price-row strong { font-family: var(--font-display); font-size: 1.08rem; }
.price-row span { color: var(--ink-3); font-style: italic; }

/* Form */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; gap: 1rem;
}
.form-card label { display: grid; gap: .35rem; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.form-card input, .form-card select, .form-card textarea {
  font: inherit; padding: .75rem .95rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper);
  color: var(--ink);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: 2px solid var(--teal-3); outline-offset: 1px; background: var(--white);
}
.form-card textarea { min-height: 140px; resize: vertical; }
.form-status {
  display: none; padding: .8rem 1rem; border-radius: 12px; font-size: .88rem;
}
.form-status.is-visible { display: block; }
.form-status.success { background: color-mix(in oklab, var(--moss) 20%, var(--white)); color: var(--ink); }

.form-status.pending { background: var(--paper-2); color: var(--ink-2); }
.form-status.error { background: color-mix(in oklab, var(--coral) 14%, var(--white)); color: var(--ink); }
.form-grid-two { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-privacy-note { margin: 0; font-size: .82rem; color: var(--ink-3); }
.form-privacy-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.form-card button[disabled] { opacity: .65; cursor: wait; transform: none; }


/* Legal & content pages */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }

/* Utility */
.stack-lg { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); }
.bg-paper2 { background: var(--paper-2); }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .header-phone { display: inline-flex; align-items: center; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-chip.one { bottom: 14px; left: 14px; }
  .hero-chip.two { top: 14px; right: 14px; }
  .care-band, .about-band, .split-band, .page-hero-inner, .detail-grid { grid-template-columns: 1fr; }
  .info-panel { position: static; }
  .ribbon-inner { grid-template-columns: repeat(2, 1fr); }
  .ribbon-inner > div:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .course-item { grid-template-columns: 1fr; }
  .course-item .cover { aspect-ratio: 16 / 10; min-height: 0; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .button:not(.button-header) { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 0;
    background: var(--paper);
    padding: 1.4rem;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: .3rem;
    transform: translateY(-6px); opacity: 0; pointer-events: none;
    transition: opacity .18s, transform .18s;
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav .nav-link {
    padding: .95rem 1.1rem; font-size: 1.05rem;
    border-radius: 14px;
  }
  .main-nav .button {
    margin-top: .6rem;
    justify-content: center;
    padding: 1rem 1.2rem;
  }
  .hero-copy h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .ribbon-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  section { padding-block: clamp(2.4rem, 8vw, 3.6rem); }
  .care-band, .about-band, .final-cta { padding: 1.8rem 1.4rem; }
  .course-meta { grid-template-columns: 1fr; }
}

/* ======================================================================
   BAKIPA FITNESS – home page refinement v3
   Photography-led, compact, editorial and fully responsive.
   ====================================================================== */

:root {
  --paper: #f7f4ee;
  --paper-2: #eee8de;
  --ink: #102824;
  --ink-2: #3b4f4a;
  --ink-3: #6a7773;
  --line: #ddd7cd;
  --teal: #123f3b;
  --teal-2: #1d5d56;
  --teal-3: #2b847a;
  --aqua: #55aeba;
  --sand: #e2c38d;
  --coral: #c95d3d;
  --coral-2: #a94428;
  --moss: #6f8b63;
  --shadow-sm: 0 1px 2px rgba(16,40,36,.06);
  --shadow: 0 18px 45px -30px rgba(16,40,36,.42);
  --shadow-lg: 0 38px 90px -48px rgba(16,40,36,.52);
  --radius: 24px;
  --radius-sm: 15px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

body { background: var(--paper); }
section { padding-block: clamp(2.8rem, 5.4vw, 5.4rem); }
h1, h2, h3, h4 { letter-spacing: -.025em; }
.site-header { background: color-mix(in srgb, var(--paper) 94%, transparent); }
.home-page .site-footer { margin-top: 0; }
.home-page .site-header { box-shadow: 0 4px 20px rgba(16,40,36,.03); }
.home-page .button { box-shadow: none; }
.home-page .button:hover { box-shadow: 0 12px 24px -18px rgba(16,40,36,.65); }
.button-light { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.65); box-shadow: none; }
.button-light:hover { background: white; color: var(--teal); border-color: white; }

/* Home hero */
.home-hero { padding-top: clamp(1.4rem, 3vw, 2.6rem); padding-bottom: clamp(3.2rem, 6vw, 5.8rem); overflow: hidden; }
.home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr);
  align-items: center;
  gap: clamp(2.4rem, 5vw, 5rem);
  min-height: min(690px, calc(100vh - 110px));
}
.home-hero-copy { max-width: 620px; padding-block: 1rem; }
.home-hero-copy h1 { font-size: clamp(3rem, 5.4vw, 5.25rem); line-height: .98; margin-bottom: 1.25rem; text-wrap: balance; }
.home-hero-copy h1 span { color: var(--teal-2); font-style: italic; }
.home-hero-copy .lead { font-size: clamp(1.06rem, 1vw + .78rem, 1.28rem); max-width: 590px; margin-bottom: 1.8rem; }
.home-hero-media {
  position: relative;
  min-height: 590px;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);
}
.home-hero-media picture, .home-hero-media img { width: 100%; height: 100%; }
.home-hero-media img { object-fit: cover; object-position: 55% center; }
.home-hero-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 58%, rgba(11,43,39,.28)); pointer-events:none; }
.home-hero-note {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 40px -24px rgba(16,40,36,.65);
  backdrop-filter: blur(10px);
}
.home-hero-note-icon { width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--teal-3) 16%, white); color: var(--teal); display:grid; place-items:center; font-weight:800; }
.home-hero-note strong, .home-hero-note small { display:block; }
.home-hero-note strong { font-family: var(--font-display); font-size: 1rem; }
.home-hero-note small { color: var(--ink-3); font-size: .78rem; }
.home-facts { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:0; margin:2.2rem 0 0; padding-top:1.3rem; border-top:1px solid var(--line); }
.home-facts div { padding:0 1rem; border-right:1px solid var(--line); }
.home-facts div:first-child { padding-left:0; }
.home-facts div:last-child { border-right:0; }
.home-facts dt { font-family:var(--font-display); font-size:1.25rem; color:var(--teal); font-weight:600; line-height:1.15; }
.home-facts dd { margin:.25rem 0 0; font-size:.79rem; color:var(--ink-3); }

/* Editorial headings */
.editorial-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.7fr); align-items:end; gap:clamp(2rem,5vw,5rem); margin-bottom:clamp(1.8rem,3.5vw,3rem); }
.editorial-head h2 { margin:0; font-size:clamp(2rem,3.4vw,3.2rem); }
.editorial-head > p { margin:0; color:var(--ink-2); max-width:520px; justify-self:end; }

/* Photography-led course selection */
.home-course-section { padding-top:0; }
.home-course-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1rem,2vw,1.5rem); }
.home-course-card {
  position:relative;
  min-height:390px;
  border-radius:28px;
  overflow:hidden;
  color:white;
  background:var(--teal);
  box-shadow:var(--shadow);
  isolation:isolate;
  transition:transform .22s ease, box-shadow .22s ease;
}
.home-course-card:hover { transform:translateY(-4px); color:white; box-shadow:0 30px 70px -44px rgba(16,40,36,.75); }
.home-course-card picture, .home-course-card img { position:absolute; inset:0; width:100%; height:100%; }
.home-course-card img { object-fit:cover; transition:transform .5s ease; }
.home-course-card:hover img { transform:scale(1.025); }
.home-course-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,34,31,.02) 28%,rgba(8,34,31,.88) 100%); z-index:1; }
.home-course-type { position:absolute; z-index:2; top:18px; left:18px; padding:.42rem .72rem; border-radius:999px; background:rgba(255,255,255,.92); color:var(--teal); font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.home-course-content { position:absolute; z-index:2; inset:auto 22px 22px; display:grid; gap:.38rem; max-width:86%; }
.home-course-content small { color:rgba(255,255,255,.76); font-size:.8rem; }
.home-course-content strong { color:white; font-family:var(--font-display); font-size:clamp(1.65rem,2.3vw,2.25rem); line-height:1.05; }
.home-course-content span { color:rgba(255,255,255,.86); font-size:.92rem; }
.home-course-content b { color:white; font-size:.82rem; margin-top:.45rem; }

/* Schedule – no decorative pseudo-graphic */
.home-schedule-section { background:var(--teal); color:white; }
.home-schedule-shell { display:grid; grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr); gap:clamp(2rem,5vw,5rem); align-items:start; }
.home-schedule-intro { position:sticky; top:110px; }
.home-schedule-intro h2 { color:white; font-size:clamp(2rem,3.4vw,3.2rem); }
.home-schedule-intro p { color:rgba(255,255,255,.74); max-width:430px; }
.home-schedule-intro .eyebrow { color:var(--sand); }
.home-schedule-intro .button-secondary { border-color:rgba(255,255,255,.7); color:white; }
.home-schedule-intro .button-secondary:hover { background:white; color:var(--teal); }
.home-schedule { grid-template-columns:1fr; gap:.85rem; }
.home-schedule .day-card { padding:0; border:0; border-radius:18px; background:rgba(255,255,255,.075); overflow:hidden; gap:0; }
.home-schedule .day-head { padding:1rem 1.15rem; border:0; background:rgba(255,255,255,.06); }
.home-schedule .day-head strong { color:white; font-family:var(--font-sans); font-size:.78rem; text-transform:uppercase; letter-spacing:.15em; }
.home-schedule .day-head small { color:rgba(255,255,255,.52); }
.home-schedule .slot { grid-template-columns:110px minmax(0,1fr); gap:1.1rem; padding:1.05rem 1.15rem; border-radius:0; background:transparent; border-top:1px solid rgba(255,255,255,.09); }
.home-schedule .slot .time { color:var(--sand); font-size:1.08rem; }
.home-schedule .slot .time small { color:rgba(255,255,255,.46); }
.home-schedule .slot .slot-body a.name { color:white; font-size:1.08rem; }
.home-schedule .slot .slot-body a.name:hover { color:var(--sand); }
.home-schedule .slot .slot-body .venue { color:rgba(255,255,255,.54); }
.home-schedule .slot .slot-body .ask { color:var(--sand); }

/* Personal care */
.home-care-section { background:#f4efe6; }
.home-care-shell { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(2.2rem,5vw,5.2rem); align-items:center; }
.home-care-media { position:relative; min-height:600px; }
.home-care-photo { position:absolute; overflow:hidden; box-shadow:var(--shadow-lg); background:var(--paper-2); }
.home-care-photo img { width:100%; height:100%; object-fit:cover; }
.home-care-photo-main { inset:0 9% 7% 0; border-radius:30px; }
.home-care-photo-main img { object-position:52% center; }
.home-care-photo-small { width:44%; aspect-ratio:4/3; right:0; bottom:0; border-radius:22px; border:8px solid #f4efe6; }
.home-care-copy h2 { font-size:clamp(2rem,3.4vw,3.25rem); }
.home-care-copy .lead { max-width:620px; }
.home-benefits { display:grid; gap:.2rem; margin:1.6rem 0 1.8rem; border-top:1px solid var(--line); }
.home-benefits > div { display:grid; grid-template-columns:42px minmax(0,1fr); gap:1rem; padding:1.05rem 0; border-bottom:1px solid var(--line); }
.home-benefits > div > span { font-family:var(--font-display); color:var(--teal-3); font-size:1.05rem; }
.home-benefits strong { display:block; font-size:1rem; margin-bottom:.15rem; }
.home-benefits p { color:var(--ink-2); font-size:.9rem; margin:0; }

/* Entry section */
.home-entry-shell { display:grid; grid-template-columns:minmax(0,1fr) minmax(380px,.9fr); gap:clamp(2.2rem,5vw,5rem); align-items:center; }
.home-entry-copy h2 { font-size:clamp(2rem,3.3vw,3.15rem); max-width:700px; }
.home-entry-copy > p:not(.eyebrow) { color:var(--ink-2); max-width:650px; }
.home-checklist { list-style:none; padding:0; margin:1.5rem 0 1.8rem; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem 1.3rem; }
.home-checklist li { position:relative; padding-left:1.8rem; color:var(--ink-2); font-size:.92rem; }
.home-checklist li::before { content:"✓"; position:absolute; left:0; top:-.05rem; width:1.25rem; height:1.25rem; border-radius:50%; display:grid; place-items:center; background:color-mix(in srgb,var(--teal-3) 14%,white); color:var(--teal); font-size:.72rem; font-weight:800; }
.home-entry-photo { display:block; min-height:490px; border-radius:30px; overflow:hidden; box-shadow:var(--shadow-lg); }
.home-entry-photo img { width:100%; height:100%; object-fit:cover; object-position:58% center; }

/* About facts */
.home-about-section { padding-top:0; }
.home-about-shell { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(2rem,5vw,5rem); align-items:center; background:var(--paper-2); border:1px solid var(--line); border-radius:30px; padding:clamp(2rem,4vw,4rem); }
.home-about-copy h2 { font-size:clamp(2rem,3.2vw,3.1rem); }
.home-about-copy p { color:var(--ink-2); }
.home-about-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:22px; overflow:hidden; }
.home-about-facts div { background:rgba(255,255,255,.72); padding:1.45rem; min-height:145px; display:flex; flex-direction:column; justify-content:flex-end; }
.home-about-facts dt { font-family:var(--font-display); font-size:2.2rem; color:var(--teal); line-height:1; }
.home-about-facts dd { margin:.45rem 0 0; color:var(--ink-2); font-size:.85rem; max-width:180px; }

/* Process */
.home-process-section { background:#fbfaf7; }
.home-process { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.home-process li { padding:1.6rem 1.3rem 1.6rem 0; display:grid; grid-template-columns:44px minmax(0,1fr); gap:.9rem; border-right:1px solid var(--line); }
.home-process li:not(:first-child) { padding-left:1.3rem; }
.home-process li:last-child { border-right:0; }
.home-process li > span { color:var(--teal-3); font-family:var(--font-display); font-size:1.1rem; }
.home-process strong { display:block; font-size:1rem; margin-bottom:.25rem; }
.home-process p { color:var(--ink-2); font-size:.88rem; margin:0; }

/* FAQ + contact */
.home-help-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:clamp(1.4rem,3vw,2.4rem); align-items:stretch; }
.home-faq-panel { padding:clamp(1.5rem,3vw,2.4rem); border:1px solid var(--line); border-radius:26px; background:white; }
.home-faq-panel h2 { font-size:clamp(1.8rem,2.8vw,2.6rem); }
.home-faq-panel .faq-list { margin:1.4rem 0 1.1rem; max-width:none; }
.home-contact-panel { background:var(--teal); color:white; border-radius:26px; padding:clamp(1.8rem,3.4vw,2.8rem); }
.home-contact-panel .eyebrow { color:var(--sand); }
.home-contact-panel h2 { color:white; font-size:clamp(1.8rem,2.8vw,2.6rem); }
.home-contact-panel > p:not(.eyebrow) { color:rgba(255,255,255,.72); }
.home-contact-list { display:grid; gap:0; margin:1.4rem 0 1.8rem; border-top:1px solid rgba(255,255,255,.14); }
.home-contact-list > * { display:flex; justify-content:space-between; gap:1rem; align-items:baseline; padding:.85rem 0; border-bottom:1px solid rgba(255,255,255,.14); color:white; }
.home-contact-list > *:hover { color:var(--sand); }
.home-contact-list span { color:rgba(255,255,255,.52); font-size:.76rem; text-transform:uppercase; letter-spacing:.1em; }
.home-contact-list strong { text-align:right; font-size:.9rem; }
.home-contact-panel .button { background:var(--sand); border-color:var(--sand); color:var(--teal); }
.home-contact-panel .button:hover { background:white; border-color:white; color:var(--teal); }

/* Photo CTA */
.home-final-section { padding-top:0; padding-bottom:0; }
.home-final-cta { position:relative; min-height:430px; border-radius:30px 30px 0 0; overflow:hidden; display:flex; align-items:center; box-shadow:var(--shadow-lg); }
.home-final-cta picture, .home-final-cta picture img { position:absolute; inset:0; width:100%; height:100%; }
.home-final-cta img { object-fit:cover; object-position:center 43%; }
.home-final-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(9,39,35,.92) 0%,rgba(9,39,35,.78) 44%,rgba(9,39,35,.18) 78%); }
.home-final-content { position:relative; z-index:2; color:white; max-width:650px; padding:clamp(2rem,5vw,4.5rem); }
.home-final-content .eyebrow { color:var(--sand); }
.home-final-content h2 { color:white; font-size:clamp(2.15rem,4vw,3.7rem); }
.home-final-content p { color:rgba(255,255,255,.78); max-width:540px; }
.home-final-content .button { background:var(--sand); color:var(--teal); border-color:var(--sand); }
.home-final-content .button:hover { background:white; border-color:white; color:var(--teal); }

/* Compact footer */
.footer-grid-compact { grid-template-columns:1.35fr repeat(3,1fr); }
.home-page .site-footer { padding-top:3.2rem; }
.home-page .footer-grid p { max-width:300px; }

/* Responsive */
@media (max-width: 1040px) {
  .home-hero-shell { grid-template-columns:1fr 1fr; gap:2.5rem; }
  .home-hero-media { min-height:520px; }
  .home-care-media { min-height:520px; }
  .home-process { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-process li:nth-child(2) { border-right:0; }
  .home-process li:nth-child(-n+2) { border-bottom:1px solid var(--line); }
}

@media (max-width: 860px) {
  .home-hero-shell, .home-care-shell, .home-entry-shell, .home-about-shell, .home-help-grid, .home-schedule-shell { grid-template-columns:1fr; }
  .home-hero-shell { min-height:0; }
  .home-hero-copy { max-width:720px; }
  .home-hero-media { min-height:500px; }
  .editorial-head { grid-template-columns:1fr; gap:1rem; }
  .editorial-head > p { justify-self:start; }
  .home-schedule-intro { position:static; }
  .home-care-media { min-height:500px; order:2; }
  .home-care-copy { order:1; }
  .home-entry-shell { grid-template-columns:1fr; }
  .home-entry-photo { min-height:450px; }
  .home-about-shell { gap:2rem; }
  .footer-grid-compact { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 680px) {
  .home-hero { padding-top:1.2rem; }
  .home-hero-copy h1 { font-size:clamp(2.65rem,12vw,3.9rem); }
  .home-hero-media { min-height:430px; border-radius:26px; }
  .home-hero-note { left:14px; right:14px; bottom:14px; }
  .home-facts { grid-template-columns:1fr; gap:.7rem; }
  .home-facts div, .home-facts div:first-child { border:0; padding:0; display:grid; grid-template-columns:120px 1fr; align-items:baseline; }
  .home-course-grid { grid-template-columns:1fr; }
  .home-course-card { min-height:340px; border-radius:22px; }
  .home-course-content { inset:auto 18px 18px; max-width:92%; }
  .home-schedule .slot { grid-template-columns:1fr; gap:.35rem; }
  .home-care-media { min-height:420px; }
  .home-care-photo-main { inset:0 0 12% 0; }
  .home-care-photo-small { width:46%; right:10px; }
  .home-checklist { grid-template-columns:1fr; }
  .home-entry-photo { min-height:380px; border-radius:22px; }
  .home-about-shell { padding:1.5rem; border-radius:22px; }
  .home-about-facts { grid-template-columns:1fr 1fr; }
  .home-about-facts div { min-height:125px; padding:1.1rem; }
  .home-process { grid-template-columns:1fr; }
  .home-process li, .home-process li:not(:first-child) { padding:1.15rem 0; border-right:0; border-bottom:1px solid var(--line); }
  .home-process li:last-child { border-bottom:0; }
  .home-contact-list > * { flex-direction:column; gap:.15rem; align-items:flex-start; }
  .home-contact-list strong { text-align:left; }
  .home-final-cta { min-height:470px; border-radius:24px 24px 0 0; }
  .home-final-overlay { background:linear-gradient(180deg,rgba(9,39,35,.24) 0%,rgba(9,39,35,.92) 66%); }
  .home-final-content { align-self:flex-end; }
  .footer-grid-compact { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home-course-card, .home-course-card img { transition:none; }
}

/* Header CTA de-duplication and mobile width fix */
.main-nav > .button { display: none; }
@media (max-width: 720px) {
  .main-nav > .button { display: inline-flex; }
  .header-cta .button-header { display: none; }
}

/* ---------- Compatibility: Pflege-Assistent & legacy content blocks ---------- */
.narrow {
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
}
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in oklab, var(--teal) 18%, transparent);
  border-left: 4px solid var(--teal-2);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--aqua-light) 68%, var(--white));
  color: var(--ink-2);
}
.notice > span:first-child {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
}
.notice > div { display: grid; gap: .2rem; }
.notice strong { color: var(--ink); }
.site-footer .footer-title {
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 1rem;
}
.site-footer .brand-footer { color: var(--paper); }
.site-footer .footer-grid > div > a,
.site-footer .footer-grid > div > span {
  margin-bottom: .25rem;
}
@media (max-width: 680px) {
  .notice { grid-template-columns: 1fr; }
}

/* ======================================================================
   Desktop image information fix v4
   Keep information cards fully inside the photograph on wide screens.
   The existing compact mobile positioning remains unchanged.
   ====================================================================== */
@media (min-width: 961px) {
  .hero-photo {
    overflow: hidden;
  }

  .hero-chip {
    max-width: min(220px, calc(50% - 36px));
    padding: .82rem 1rem;
    border: 1px solid rgba(255, 255, 255, .68);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero-chip.one {
    left: 22px;
    bottom: 22px;
  }

  .hero-chip.two {
    top: auto;
    right: 22px;
    bottom: 22px;
  }
}

/* ======================================================================
   Mobile navigation compatibility fix v5
   Avoids fixed-position clipping inside sticky/backdrop-filter headers in
   Android Chromium WebViews (including DuckDuckGo Browser).
   ====================================================================== */
@media (max-width: 720px) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
    overflow: visible;
  }

  .header-inner {
    position: static;
  }

  .main-nav {
    position: absolute;
    inset: auto 0 auto 0;
    top: 100%;
    z-index: 70;
    width: 100%;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    padding: 1rem max(1rem, env(safe-area-inset-right)) calc(1.5rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(12, 47, 43, .14);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: .85rem 1rem;
    color: var(--ink-2);
    background: transparent;
    border: 1px solid transparent;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link:focus-visible {
    color: var(--ink);
    background: var(--paper-2);
  }

  .main-nav .nav-link.is-active {
    color: var(--paper);
    background: var(--ink);
  }

  .main-nav > .button {
    width: 100%;
    min-height: 52px;
    margin-top: .75rem;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}


/* ======================================================================
   Final mobile navigation, compact mobile cards and confirmed prices v6
   ====================================================================== */

/* Confirmed price cards */
.price-list {
  max-width: 1120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.price-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .65rem;
  min-height: 280px;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.price-card.is-featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow);
}
.price-card.is-featured::before {
  content: "Beliebte Kombination";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: .35rem .75rem;
  border-radius: var(--radius-pill);
  background: var(--teal);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}
.price-card h2 {
  margin: 0;
  color: var(--teal-2);
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
}
.price-monthly {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
}
.price-per-course {
  color: var(--ink-3);
  font-size: 1.05rem;
}
.price-card p {
  max-width: 36ch;
  margin: .35rem 0 0;
  color: var(--ink-3);
}
.price-billing-note {
  max-width: 920px;
  margin: 2rem auto 0;
}

@media (max-width: 720px) {
  /* Do not cover the page while scrolling on mobile. */
  .site-header {
    position: relative;
    top: auto;
    z-index: 100;
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
  }

  .header-inner {
    position: static;
    min-height: 76px;
  }

  /* Deliberately use display toggling rather than transforms/fixed layers.
     This works in Chrome, DuckDuckGo and Android WebViews. */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .35rem;
    overflow-y: auto;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(12, 47, 43, .16);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-link {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    padding: .82rem 1rem;
  }
  .main-nav > .button {
    width: 100%;
    min-height: 52px;
    margin-top: .65rem;
  }
  body.nav-open { overflow: hidden; }

  /* Denser orientation cards without unnecessary empty height. */
  .chooser-grid { gap: .8rem; }
  .chooser-card {
    gap: .6rem;
    padding: 1.15rem;
    min-height: 0;
  }
  .chooser-card .badge { width: 40px; height: 40px; }
  .chooser-card h3 { font-size: 1.08rem; }
  .chooser-card p { font-size: .9rem; }

  .price-list { grid-template-columns: 1fr; gap: 1rem; }
  .price-card { min-height: 0; padding: 1.6rem 1.2rem; }
  .price-card.is-featured { margin-top: .45rem; }
}


/* ======================================================================
   Audit patch v8 — 2026-07-28
   - Self-hosted / system fonts (Google Fonts entfernt)
   - Verhindert, dass fixierter Header Anker-Ziele verdeckt
   - Sanftere Fokusränder auf Formularen
   ====================================================================== */
:root { --header-h: 76px; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
h1, h2, h3, [id] { scroll-margin-top: calc(var(--header-h) + 12px); }

@media (max-width: 720px) {
  /* Ensure open mobile nav sits above every hero/section */
  .site-header { z-index: 200; }
  .main-nav { z-index: 210; }
  /* Larger touch targets on nav toggle */
  .nav-toggle { min-width: 46px; min-height: 46px; }
}

/* Print-friendly */
@media print {
  .site-header, .site-footer, .nav-toggle, .button-row, .final-cta { display: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
  main { padding: 0; }
}


/* Legal pages: readable contact blocks without external font dependencies. */
.prose address { font-style: normal; margin: 0 0 1.25rem; }
.prose .legal-contact { padding: 1rem 1.15rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }


/* ======================================================================
   V10 layout polish — contact priority + mobile legal heading
   ====================================================================== */
.prose h1 {
  hyphens: manual;
  overflow-wrap: normal;
  text-wrap: balance;
}

@media (max-width: 480px) {
  .prose h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -.02em;
  }
}
