@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/worksans-variable.woff2') format('woff2');
}

:root {
  --cream: #FBF1E4;
  --paper: #FFFDF8;
  --ink: #3A2A1E;
  --muted: #6B5744;
  --clay: #C97B4A;
  --clay-dark: #A8613A;
  --clay-darker: #8A4F29;
  --clay-text: #97562D;
  --sage: #7C9473;
  --sage-dark: #4D5F45;
  --sage-btn-bg: #667B5E;
  --line: #EFE0C9;
  --band: #F3E4CC;
  --card: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--clay-text); text-decoration: none; }
a:hover { color: var(--ink); }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  white-space: nowrap;
}
.btn-primary { background: var(--clay-dark); color: #fff; }
.btn-primary:hover { background: var(--clay-darker); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sage { background: var(--sage-btn-bg); color: #fff; }
.btn-sage:hover { background: var(--sage-dark); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 241, 228, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo:hover { color: var(--ink); }
.logo-img { height: 42px; width: auto; display: block; }
.site-footer .logo-img { height: 36px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav a:not(.btn) {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a[aria-current="page"] { color: var(--clay-text); font-weight: 700; }

[id] { scroll-margin-top: 96px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* Hero */
.hero {
  padding: 40px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--sage-dark);
  background: #EAF0E4;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 { font-size: 46px; margin-bottom: 16px; }
.hero p.lede { font-size: 18px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photos {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 420px;
}
.hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(58,42,30,0.14);
}
.hero-photos .hero-photo-main { border-radius: 28px; }
.hero-photos picture { display: block; min-height: 0; }
.hero-photos picture:first-child { grid-row: 1 / 3; }
/* Rainbow banner: a wide strip under the hero on desktop, above the photo row on phones. */
.hero-grid--banner { grid-template-areas: "text photos" "banner banner"; row-gap: 40px; }
.hero-grid--banner > div:first-child { grid-area: text; }
.hero-grid--banner .hero-photos { grid-area: photos; }
.hero-banner { grid-area: banner; display: block; }
.hero-banner img { display: block; width: 100%; height: auto; aspect-ratio: 2.6 / 1; object-fit: cover; object-position: 50% 42%; border-radius: 28px; box-shadow: 0 14px 30px rgba(58,42,30,0.14); }
.training-picture { display: block; }
.next-class { margin: 18px 0 0; font-size: 15px; font-weight: 600; color: var(--clay-text); }
.next-class--light { color: #fff; }
.hero-help { margin: 14px 0 0; font-size: 14.5px; }
.hero-help a { font-weight: 600; }

.training-photo {
  width: 100%;
  max-width: 900px;
  height: 473px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(58,42,30,0.15);
  margin: 0 auto 8px;
  display: block;
}

/* Page hero (subpages) */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: 38px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 17px; }

/* Sections */
section { padding: 56px 0; }
.section-title { text-align: center; font-size: 30px; margin-bottom: 8px; }
.section-sub { text-align: center; max-width: 640px; margin: 0 auto 40px; font-size: 16px; }
.band { background: var(--band); }
.dark-band { background: var(--sage-btn-bg); color: #fff; }
.dark-band h2, .dark-band p { color: #fff; }

/* Grids & cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(58,42,30,0.06);
}
.card h2, .card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { font-size: 15px; }
.card .learn, .class-item .learn, .fit-card .learn { font-size: 14px; font-weight: 700; }
.fine-print { font-size: 13.5px; color: var(--muted); text-align: center; margin: 20px auto 0; max-width: 640px; }

.price-list { list-style: none; padding: 0; margin: 4px 0 18px; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--muted); }
.price-list li:last-child { border-bottom: none; }
.price-list strong { color: var(--ink); font-size: 16px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(58,42,30,0.06); font-size: 15px; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--sage-btn-bg); color: #fff; font-family: 'Work Sans', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.price-table tbody th { font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink); }
.price-table td { color: var(--muted); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: none; }
.price-save { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--sage-dark); }
.compare-table { min-width: 620px; }

.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.fit-card { background: var(--card); border-radius: 20px; padding: 26px 28px; box-shadow: 0 10px 30px rgba(58,42,30,0.06); border-left: 5px solid var(--sage); }
.fit-card h3 { font-size: 19px; margin-bottom: 10px; }
.fit-card p { font-size: 15px; }
.fit-card strong { color: var(--ink); }

.grad-strip { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.grad-strip picture { display: block; }
.grad-strip img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 24px rgba(58,42,30,0.08); }

.gift-promo { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--card); border-radius: 24px; padding: 32px 36px; box-shadow: 0 10px 30px rgba(58,42,30,0.06); border: 1px solid var(--line); }
.gift-promo h2 { font-size: 26px; }
.gift-promo p { margin: 0; }

.review-ask { max-width: 680px; text-align: center; background: var(--band); border-radius: 24px; padding: 36px 28px; }
.review-ask h2 { font-size: 26px; }

.jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.jump-links a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.jump-links a:hover { border-color: var(--clay); color: var(--clay-text); }

.guide-card { display: flex; flex-direction: column; }
.guide-card h3 { font-size: 18px; }
.guide-card .price { display: block; font-weight: 700; color: var(--sage-dark); margin: auto 0 10px; font-size: 16px; }

.price-notice {
  background: #FDEFE3;
  border: 1px solid var(--clay);
  border-radius: 20px;
  padding: 20px 28px;
  text-align: center;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 32px;
}
.price-notice strong { color: var(--clay-text); }

.feature { background: #fff; border-radius: 18px; padding: 22px; }
.feature svg { color: var(--clay); }
.feature h3 { font-size: 15px; margin: 14px 0 8px; }
.feature p { font-size: 13.5px; margin: 0; }

.quote-card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(58,42,30,0.06);
}
.quote-card p { font-style: italic; color: var(--ink); font-size: 15px; margin-bottom: 16px; }
.quote-card span { font-size: 14px; font-weight: 700; color: var(--clay-text); }
.quote-toggle { display: block; background: none; border: none; padding: 0; margin-top: -4px; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--clay-text); cursor: pointer; }
.quote-toggle:hover { color: var(--ink); }

/* Pricing / class list */
.class-item {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(58,42,30,0.06);
}
.class-item h2, .class-item h3 { font-size: 20px; margin-bottom: 4px; }
.class-price {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-dark);
  background: #EAF0E4;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.class-item ul { margin: 12px 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.class-dates { display: block; font-size: 13px; font-weight: 600; color: var(--clay-dark); margin: 4px 0 12px; }
.class-dates--soon { font-weight: 500; color: var(--muted); }

/* Share links on class and tip cards (added by main.js) */
.item-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.card > .item-actions { justify-content: flex-end; margin-top: -4px; }
.share-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 4px 0; font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.share-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.share-link:hover, .share-link:focus-visible { color: var(--clay-text); }
.share-link--done, .share-link--done:hover { color: var(--sage-dark); }

/* Trainer bios */
.trainer {
  background: var(--card);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(58,42,30,0.06);
}
.trainer-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.trainer-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 0%;
  flex-shrink: 0;
  border: 3px solid var(--band);
}
.trainer h2 { font-size: 22px; margin-bottom: 4px; }
.trainer .role { color: var(--clay-text); font-weight: 600; font-size: 14px; display: block; }
.trainer .meta { font-size: 13.5px; color: var(--sage-dark); margin-top: 16px; }
.trainer .meta strong { color: var(--ink); }

/* Testimonial photos */
.quote-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.quote-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 10%;
  flex-shrink: 0;
  border: 2px solid var(--band);
}
.quote-card p { margin-top: 0; }
.quote-head > picture, .trainer-head > picture { display: block; flex-shrink: 0; line-height: 0; }
.product > picture { display: block; }

/* Product cards */
.product {
  background: var(--card);
  border-radius: 20px;
  padding: 0 0 26px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(58,42,30,0.06);
}
.product-cover {
  display: block;
  width: auto;
  max-width: calc(100% - 48px);
  height: 240px;
  object-fit: contain;
  margin: 26px auto 4px;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(58,42,30,0.18);
}
.product-body { padding: 22px 26px 0; }
.product h2, .product h3 { font-size: 18px; margin-bottom: 10px; }
.product .price { display: block; font-weight: 700; color: var(--sage-dark); margin: 14px 0; font-size: 16px; }

/* Forms */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-field input, .form-field textarea, .form-field select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Work Sans', sans-serif;
  background: #fff;
  color: var(--ink);
}
.form-field textarea { resize: vertical; }
.form-field select { width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.form-field { min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Contact info card */
.info-card {
  background: var(--band);
  border-radius: 20px;
  padding: 28px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row svg { flex-shrink: 0; color: var(--clay); margin-top: 2px; }
.info-row p { margin: 0; font-size: 14.5px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.info-row strong { color: var(--ink); display: block; margin-bottom: 2px; font-size: 14.5px; }

.social-row-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 24px 0 10px;
}
.social-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.social-pill:hover { border-color: var(--clay); color: var(--clay-text); }
.social-pill svg { color: var(--clay); }

/* Footer */
.site-footer { background: #F3E4CC; padding: 56px 0 0; margin-top: 40px; }
.footer-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-wrap h2, .footer-wrap h3, .footer-wrap h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer-wrap a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.footer-wrap a:hover { color: var(--clay-text); }
.socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.socials a { margin-bottom: 0; }
.footer-bottom {
  border-top: 1px solid #E3D2B3;
  text-align: center;
  padding: 20px 24px 6px;
  font-size: 13px;
  color: var(--muted);
}
.site-credit { text-align: center; padding: 0 24px 18px; font-size: 11.5px; color: var(--muted); }
.site-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(107,87,68,0.35); }
.site-credit a:hover { color: var(--clay-text); }

.mobile-cta { display: none; }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.gallery-filter {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
}
.gallery-filter:hover { border-color: var(--clay); color: var(--clay-text); }
.gallery-filter.active { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.gallery-item {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(58,42,30,0.08);
  background: var(--card);
  border: none;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 4 / 5;
}
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:focus-visible { outline: 3px solid var(--clay-dark); outline-offset: 3px; }
.gallery-empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }
.gallery-load-more { text-align: center; margin-top: 32px; }
.gallery-group {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.gallery-group:first-child { margin-top: 0; }
.gallery-group h2 { font-size: 26px; margin: 0; }
.gallery-group h2 span { font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 10px; }
.gallery-group p { margin: 0; font-size: 14px; }
.gallery-group a { font-weight: 600; }

/* Single-photo share page (gallery/photo.php) */
.photo-page { padding: 34px 0 70px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { font-weight: 600; }
.photo-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.photo-main { margin: 0; text-align: center; }
.photo-main picture { display: inline-block; max-width: 100%; }
.photo-main img { display: block; width: auto; height: auto; max-width: 100%; max-height: 78vh; border-radius: 24px; box-shadow: 0 20px 40px rgba(58,42,30,0.15); }
.photo-info h1 { font-size: 48px; margin-bottom: 6px; }
.photo-sub { font-size: 19px; font-weight: 600; color: var(--clay-text); margin-bottom: 14px; }
.photo-caption { font-style: italic; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.photo-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 15px; }
.photo-links a { font-weight: 600; }
.photo-more-title { font-size: 26px; margin: 56px 0 18px; }
.photo-more { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.photo-more a { display: block; color: var(--ink); font-weight: 600; font-size: 14px; text-align: center; }
.photo-more picture { display: block; margin-bottom: 6px; }
.photo-more img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 20px rgba(58,42,30,0.08); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(58,42,30,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: min(90vw, 900px); }
.lightbox picture { display: block; }
.lightbox img { display: block; max-width: min(90vw, 900px); max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); transition: opacity 0.2s ease; }
.lightbox img.is-loading { opacity: 0.4; }
.lightbox-caption { margin-top: 14px; text-align: center; color: #fff; }
.lightbox-title { display: block; font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; line-height: 1.2; }
.lightbox-meta { display: block; margin-top: 2px; font-size: 14px; color: rgba(255,255,255,0.78); }
.lightbox-meta:empty { display: none; }
.lightbox-bar { position: absolute; top: 20px; left: 20px; display: flex; align-items: center; gap: 12px; }
.lightbox-count { color: rgba(255,255,255,0.85); font-size: 14px; font-variant-numeric: tabular-nums; }
.lightbox-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font: 600 14px 'Work Sans', sans-serif;
  cursor: pointer;
}
.lightbox-share:hover { background: rgba(255,255,255,0.24); }
.lightbox-share svg { width: 16px; height: 16px; }
.lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.24); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 1180px) {
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-4, .grid-2, .form-row { grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: 34px; }
  .hero-photos { height: auto; aspect-ratio: 4 / 3; gap: 10px; }
  .hero-grid--banner { grid-template-areas: "text" "banner" "photos"; row-gap: 12px; }
  .hero-grid--banner > div:first-child { margin-bottom: 24px; }
  .hero-banner img { aspect-ratio: 16 / 9; border-radius: 22px; }
  .hero-grid--banner .hero-photos { grid-template-columns: repeat(3, minmax(0,1fr)); grid-template-rows: auto; aspect-ratio: auto; }
  .hero-grid--banner .hero-photos picture:first-child { grid-row: auto; }
  .hero-grid--banner .hero-photos img { aspect-ratio: 1 / 1; height: auto; object-position: 50% 8%; border-radius: 18px; }
  .fit-grid { grid-template-columns: 1fr; }
  .grad-strip { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .gift-promo { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .price-table th, .price-table td { padding: 12px 12px; font-size: 14px; }
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 241, 228, 0.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid var(--ink);
    color: var(--ink);
  }
  .mobile-cta a.mobile-cta-book { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .training-photo { height: auto; aspect-ratio: 1800 / 945; }
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-wrap a { padding: 7px 0; margin-bottom: 0; }
  .socials { gap: 0 20px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .photo-page { padding-top: 22px; }
  .photo-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .photo-main img { max-height: 70vh; }
  .photo-info h1 { font-size: 36px; }
  .photo-more { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .photo-more-title { margin-top: 40px; }
  .gallery-group { margin-top: 22px; }
  .gallery-group h2 { font-size: 22px; }
  .gallery-group h2 span { display: block; margin: 2px 0 0; }
  .lightbox { padding: 16px 12px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-bar { top: 14px; left: 14px; }
}

@media (max-width: 460px) {
  .wrap { padding: 0 16px; }
  .card { padding: 24px 20px; }
  .logo-img { display: none; }
  .logo { font-size: 18px; }
}

@media (max-width: 400px) {
  .contact-card { padding: 22px 12px; margin: 0 -4px; }
}
