/* ============================================================
   gut.yoga site layout (www build, 2026-11-09)
   Loads after /design/gutyoga.css (tokens, type, buttons, infographic).
   Colors: only the 6 tokens from gutyoga.css, via var(). No new colors.
   ============================================================ */

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-card);
}
.skip:focus { top: 8px; }

/* ---------- Header (D51, D53) ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--mist); }
.hdr {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand reserve" "nav nav";
  align-items: center;
  column-gap: 12px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.brand { grid-area: brand; display: inline-flex; align-items: center; text-decoration: none; min-width: 0; }
.brand .logo { --logo-size: 40px; }               /* padding = 14% clear space (gutyoga.css) */
.brand-name {
  font: 700 28px/1 var(--font-head);               /* D51: 28px header name; H1s stay 40–56px */
  letter-spacing: -.02em;
  color: var(--brand);
  white-space: nowrap;
}
.btn-header { grid-area: reserve; min-height: 44px; padding: 8px 20px; }   /* secondary style (D53) */
.site-nav { grid-area: nav; }
.site-nav ul { list-style: none; margin: 0; padding: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-nav a {
  display: inline-block; padding: 6px 0;
  font: 500 16px/1.4 var(--font-body); color: var(--ink); text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

@media (min-width: 760px) {
  .hdr { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav reserve"; column-gap: 32px; }
  .site-nav ul { padding: 0; justify-content: flex-end; gap: 4px 28px; }
}

/* ---------- Home hero (D61, updates D49) ----------
   Phones: text band, then the photo full width (4:3).
   Wide: text 40% | photo 60%, edge to edge; height = photo height (45vw), capped at 640px. */
.hero { display: grid; }
.hero-text { padding: 40px 16px; display: flex; align-items: center; justify-content: center; }
.hero-copy { width: fit-content; max-width: 100%; }   /* as wide as the H1, centered in the column */
.hero-copy .tagline { text-align: center; }           /* D62: centered under "Gut Yoga" */
.hero-copy h1 { color: var(--white); margin: 0 0 12px; }   /* white on Sky deep 4.6:1 */
.hero-copy p { margin: 0; max-width: 34ch; font-size: 19px; }
.hero .hero-photo { border-radius: 0; aspect-ratio: 4 / 3; }   /* full-bleed photo: square edges */

@media (min-width: 860px) {
  .hero { grid-template-columns: 2fr 3fr; height: min(45vw, 640px); }
  .hero-text { padding: 48px; }
  .hero .hero-photo { aspect-ratio: auto; height: 100%; display: block; }   /* block, so the img fills the box instead of overflowing */
  .hero .hero-photo img { object-position: 50% 80%; }   /* when capped, trim mostly sky, keep head and hands */
}

/* ---------- Photos (Michael's own only, D22/D24) ---------- */
.photo-slot {
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: var(--mist);
  display: grid;
  place-items: center;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot.portrait { aspect-ratio: 4 / 5; }
/* Shown only if the photo file is missing */
.photo-slot.is-empty::before {
  content: attr(data-label);
  font: 500 15px/1.4 var(--font-body);
  color: var(--ink);
  padding: 16px;
  text-align: center;
}

/* ---------- Inner pages ---------- */
.page-head { padding-top: 48px; padding-bottom: 8px; }   /* keep .wrap's side padding */
.page-head h1 { margin: 0 0 8px; }
.page-head .lead { font-size: 17px; max-width: 62ch; margin: 0; }   /* was 19px; 10% smaller (Michael, 2026-11-09) */
.more-note { font-size: 16px; margin: 80px 0 40px; }   /* + section's 56px padding below = ~96px above the footer */   /* Workshops: "Future workshops…" below the workshop (Michael, 2026-11-09) */
.prose { max-width: 68ch; }
/* On a .wrap, keep the page width (left edge lines up with the H1) and narrow the children instead */
.wrap.prose { max-width: var(--page-max); }
.wrap.prose > * { max-width: 68ch; }
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li + li { margin-top: 4px; }
.section-tight { padding-top: 32px; padding-bottom: 56px; }   /* keep .wrap's side padding when combined */

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--gap); padding: 0; list-style: none; }
.card.section-mist { background: var(--mist); }   /* gutyoga.css .card (white) would win otherwise */
.badges.outlined .badge { box-shadow: inset 0 0 0 1px var(--sky); }   /* white pill needs an edge on white */

/* Two columns of fact blocks (Workshops) */
.cols { display: grid; gap: 8px 48px; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } }
.cols > * { min-width: 0; }
.cols h3 { margin-top: 24px; }

.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: var(--gap); }

/* Two-column split (About, Workshops) */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 760px) { .split { grid-template-columns: 5fr 7fr; gap: 48px; } }
.split > * { min-width: 0; }

/* Fact list: schedule, price */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 1em; }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; }
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 10px; }
}

.note { font-size: 14px; line-height: 1.5; }
/* "Educational only" line: circled-i icon in Ink before the text (decorative; the text says it all) */
.note { display: flex; align-items: flex-start; gap: 6px; }
.note::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 11v6' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='7.5' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 11v6' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='7.5' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* FAQ */
.faq { max-width: 68ch; }
.wrap.faq { max-width: var(--page-max); }   /* keep the left edge in line with the H1 */
.wrap.faq > * { max-width: 68ch; }
.faq h2 { font-size: 22px; margin: 36px 0 8px; }
.faq h2:first-child { margin-top: 0; }

/* Placeholder notice (register, waiver until their builds) */
.notice { background: var(--mist); border-radius: var(--radius-card); padding: var(--gap); max-width: 68ch; }
.notice > :last-child { margin-bottom: 0; }

/* Register (registration build; block set by registration\set-register.ps1) */
.prose .badges { padding-left: 0; }   /* .prose ul indent would push the pills off the text edge */
.price-line { font: 500 19px/1.4 var(--font-body); margin: 0; }
.checkout-note { font-size: 14px; line-height: 1.5; margin: 12px 0 0; }
.prose .actions + h2, .checkout-note + h2, .notice + h2 { margin-top: 48px; }

/* ---------- Footer (www.md Navigation) ---------- */
.site-footer { padding: 32px 0; }
.site-footer ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--white); }
.site-footer .social { display: inline-flex; align-items: center; gap: 5px; }   /* Instagram, Facebook: icon + handle (D57) */
.site-footer .social svg { flex: none; }
.site-footer p { margin: 0; }
.site-footer .disclaimer { font-size: 10px; line-height: 1.4; }   /* D58: 30% below small print (14px), Michael's choice */
