/* =============================================================
   GAGLIARDI PHOTO COLLECTION — Design System
   Palatino (system font) · IBM Plex Mono
   ============================================================= */

/* Palatino ships free as a system font on macOS, iOS, and Windows — no
   download, no licensing, no cost. Only IBM Plex Mono (tiny accent labels)
   is fetched from Google Fonts (also free). */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ─── Tokens ─────────────────────────────────────────────────────── */
:root {
  --paper:      #F7F6F4;
  --white:      #FFFFFF;
  --charcoal:   #18171A;
  --mid:        #6F6C69;
  --rule:       #E0DCD7;
  --cobalt:     #99603E;
  --cobalt-h:   #B4724A;
  --dark:       #6B4226;
  --dark-warm:  #5C3820;

  /* Palatino system stack: Palatino Linotype/Book Antiqua (Windows),
     Palatino (macOS/iOS), free clones (Linux), Georgia/serif fallback. */
  --ff-pal:   'Palatino Linotype', Palatino, 'Book Antiqua', 'URW Palladio L', 'TeX Gyre Pagella', P052, Georgia, serif;
  --ff-disp:  var(--ff-pal);
  --ff-body:  var(--ff-pal);
  --ff-label: 'IBM Plex Mono', Consolas, monospace;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--charcoal);
  font-size: 1.1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-disp);
  font-weight: 400;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.4rem, 2.1vw, 2rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.6rem); }
h4 { font-size: 1.05rem; font-family: var(--ff-disp); font-weight: 400; }
p  { max-width: 60ch; }

/* Long-form prose: stacked bare paragraphs that need their own rhythm. */
.prose p       { color: var(--mid); line-height: 1.85; }
.prose p + p   { margin-top: 1.25rem; }
.prose a       { color: var(--cobalt); border-bottom: 1px solid var(--rule); }
.prose a:hover { color: var(--cobalt-h); border-bottom-color: var(--cobalt-h); }

.label {
  font-family: var(--ff-label);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-bottom: 0.9rem;
}
.label--faint { color: rgba(255,255,255,0.55); }

/* ─── Layout ─────────────────────────────────────────────────────── */
.wrap         { max-width: 1320px; margin: 0 auto; padding: 0 3rem; }
.wrap--mid    { max-width: 1020px; margin: 0 auto; padding: 0 3rem; }
.wrap--narrow { max-width: 740px;  margin: 0 auto; padding: 0 3rem; }

.section       { padding: 4rem 0; }
.section--sm   { padding: 2rem 0; }
.section--lg   { padding: 5.5rem 0; }
.section--dark { background: var(--dark);      color: var(--white); --mid: rgba(255,255,255,0.55); --rule: rgba(255,255,255,0.15); --cobalt: rgba(255,255,255,0.85); padding: 4rem 0; }
.section--warm { background: var(--dark-warm); color: var(--white); --mid: rgba(255,255,255,0.55); --rule: rgba(255,255,255,0.15); --cobalt: rgba(255,255,255,0.85); padding: 4rem 0; }

/* ─── Section Header (sh) ────────────────────────────────────────── */
.sh {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 2rem;
}
.sh__idx {
  display: none;
}
.sh__title { flex: 1; line-height: 1.05; }
.sh__rule  { flex: 1; height: 1px; background: var(--rule); }
.sh__link  { flex-shrink: 0; white-space: nowrap; }

.sh--light .sh__idx   { color: rgba(255,255,255,0.5); }
.sh--light .sh__title { color: var(--white); }
.sh--light .sh__rule  { background: rgba(255,255,255,0.12); }

/* ─── Navigation ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.6rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-bottom 0.3s;
}
.nav.scrolled {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.nav__brand {
  font-family: var(--ff-disp);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.95);
  transition: color 0.3s;
}
.nav.scrolled .nav__brand { color: var(--charcoal); }

.nav__links { display: flex; gap: 2.4rem; }
.nav__links a {
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav__links a:hover            { color: var(--white); }
.nav.scrolled .nav__links a   { color: var(--mid); }
.nav.scrolled .nav__links a:hover { color: var(--charcoal); }

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.nav.scrolled .nav__toggle span          { background: var(--charcoal); }
/* Open menu overlays a white panel — the X must be dark to show on it */
.nav__toggle.open span                   { background: var(--charcoal); }
.nav__toggle.open span:nth-child(1)      { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2)      { opacity: 0; }
.nav__toggle.open span:nth-child(3)      { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 490;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a { font-family: var(--ff-disp); font-size: 2rem; color: var(--charcoal); }
.nav__mobile a:hover { color: var(--cobalt); }

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1.5px solid currentColor;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn--outline { color: var(--charcoal); background: transparent; }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }

.btn--outline-light { color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--charcoal); }

.btn--solid { background: #111; color: var(--white); border-color: #111; }
.btn--solid:hover { background: #2a2a2a; border-color: #2a2a2a; }

.btn--lg { font-size: 0.85rem; letter-spacing: 0.12em; padding: 1.05rem 2.2rem; }

/* ─── Homepage Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 58% 42%;
}
.hero__photo { position: relative; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__text {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 4rem 4rem;
  color: var(--white);
}
.hero__text h1 {
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  line-height: 0.95;
  font-style: italic;
  margin-bottom: 2rem;
}
.hero__text p { color: rgba(255,255,255,0.6); max-width: 340px; margin-bottom: 2.5rem; }
.hero__ctas { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; }

/* ─── Stats Strip ─────────────────────────────────────────────────── */
.stats {
  background: var(--white);
  color: var(--charcoal);
  padding: 3.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats__num {
  font-family: var(--ff-disp);
  font-size: clamp(2.4rem, 5vw, 4rem);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--cobalt);
}
.stats__desc {
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─── Work Grid ───────────────────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.work-item__photo {
  overflow: hidden;
  aspect-ratio: 3/4;
}
.work-item__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.work-item:hover .work-item__photo img { transform: scale(1.04); }
.work-item__caption {
  padding: 1.2rem 2rem 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}
.work-item__caption strong {
  font-family: var(--ff-disp);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.3rem;
}
.work-item__caption span {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─── Corporate Strip ─────────────────────────────────────────────── */
.corp-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}
.corp-intro__body {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 52ch;
}
.corp-quote {
  font-family: var(--ff-disp);
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.corp-quote-attr {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.client-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.client-list__item {
  padding: 0.9rem 1.5rem 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--ff-label);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.5);
}

/* ─── Full-Bleed ──────────────────────────────────────────────────── */
.full-bleed { width: 100%; height: 55vh; object-fit: cover; display: block; }

/* ─── Pending image slots (awaiting photos from Victor) ───────────────
   Empty src="" renders as a clean neutral frame instead of a broken-image
   box with stray alt text. Full-bleed banners collapse instead — a 55vh
   empty band reads worse than no band. Once JS/HTML sets a real src the
   selector no longer matches and the image shows normally.
   visibility:hidden keeps the layout box (so the photo drops into exactly
   the right space later) while rendering nothing — no broken-image glyph,
   no stray alt text — on light or dark sections alike. */
img[src=""]         { visibility: hidden; }
.full-bleed[src=""]    { display: none; }
.instructor__img[src=""] { display: none; }

/* ─── Books Grid (homepage teaser) ───────────────────────────────── */
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.book-card__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; margin-bottom: 1.4rem; }
.book-card__series {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-bottom: 0.4rem;
}
.book-card__title { font-family: var(--ff-disp); font-size: 1.35rem; }
.books-note { margin-top: 2rem; color: var(--mid); font-size: 1rem; max-width: 58ch; }

/* ─── Dance Teaser ─────────────────────────────────────────────────── */
.dance-teaser {
  background: var(--dark-warm);
  color: var(--white);
  padding: 5.5rem 0;
}
.dance-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.dance-teaser h2 { font-style: italic; margin-bottom: 1.5rem; }
.dance-teaser__body { color: rgba(255,255,255,0.6); margin-bottom: 2rem; max-width: 44ch; }
.dance-teaser__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.dance-teaser__photo { width: 100%; object-fit: cover; max-height: 520px; }

/* ─── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 3rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {
  font-family: var(--ff-disp);
  font-size: 1.5rem;
  font-style: italic;
  display: block;
  margin-bottom: 1rem;
}
.footer__desc { color: rgba(255,255,255,0.4); font-size: 1rem; line-height: 1.7; max-width: 26ch; }
.footer__col-title {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 1.2rem;
}
.footer__col li + li { margin-top: 0.5rem; }
.footer__col a { color: rgba(255,255,255,0.55); font-size: 1rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--white); }
.footer__col address { font-style: normal; color: rgba(255,255,255,0.55); font-size: 1rem; line-height: 2; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.42);
}

/* ─── Page Hero ───────────────────────────────────────────────────── */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 6.5rem 0 3rem;
}
.page-hero--dark  { background: var(--dark); }
.page-hero--warm  { background: var(--dark-warm); }
.page-hero .label { color: rgba(255,255,255,0.55); }
.page-hero h1     { font-style: italic; font-size: clamp(1.5rem, 3vw, 2.75rem); }
.page-hero p      { color: rgba(255,255,255,0.55); max-width: 52ch; margin-top: 1.5rem; font-size: 1.15rem; }

/* ─── Gallery Filter ──────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.filter-btn {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

/* ─── Gallery Masonry ─────────────────────────────────────────────── */
/* Flexbox columns instead of CSS `columns:` — items append to the bottom of
   one column and never reflow existing items, so the page doesn't jump when
   "See More" loads a new batch. */
.gallery-masonry {
  display: flex;
  gap: 1.2rem;
  padding: 3rem 0 2rem;
}
.mason-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.g-item {
  cursor: zoom-in;
  overflow: hidden;
}
.g-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.g-item:hover img { transform: scale(1.04); }

/* ─── See More button ─────────────────────────────────────────────── */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem 0 6rem;
}
.load-more-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: 1px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.load-more-btn:hover { background: #1a1a1a; color: #fff; }
.load-more-btn:disabled { opacity: 0.35; cursor: default; }
.load-more-count {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: #777;
  text-align: center;
  margin-top: 0.8rem;
  letter-spacing: 0.1em;
}

/* ─── Lightbox ────────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 6, 0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox__img { max-height: 90vh; max-width: 90vw; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.lightbox__close:hover { color: var(--white); }

/* ─── Books Page — Feature Layout ────────────────────────────────── */

/* ─── Product Groups ───────────────────────────────────────────────
   The books page is three areas (Books / Journals / Gift Card Boxes).
   Each area holds `.product-group`s — one per product. A group that comes
   in more than one binding puts them side by side in `.editions`, so the
   page reads "same item, different material" rather than "two products".
*/
.product-group { padding: 3rem 0; border-top: 1px solid var(--rule); }
.product-group:first-of-type { border-top: none; padding-top: 0.5rem; }
.product-group__head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.product-group__head h3 { flex-shrink: 0; }
.product-group__rule { flex: 1; height: 1px; background: var(--rule); }
.product-group__meta {
  font-family: var(--ff-label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  flex-shrink: 0;
}
.product-group__intro { color: var(--mid); line-height: 1.85; margin-bottom: 2.5rem; }
.product-group__spec  { color: var(--mid); margin-bottom: 1.5rem; }
.product-group .product-row { padding: 2.5rem 0 0; }

/* Bindings of one item, shown together. One child = one column, so a group
   still reads correctly while its second binding is waiting on a photo. */
.editions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
/* Four bindings across — two cover photographs, each in leather and cloth.
   Collapses to 2 at 1100px and 1 at 768px with the base `.editions` rules. */
.editions--4 { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.editions--4 .edition__figure { height: 340px; }
.editions--4 .edition p { max-width: none; font-size: 0.92rem; }
/* The figure reserves its height whether or not the photo has loaded, so
   nothing shifts and both bindings sit on a common baseline — a portrait
   journal and a landscape book cover still read at the same scale. */
.edition__figure {
  height: 400px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 1.2rem;
}
.edition__img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}
.edition__label {
  font-family: var(--ff-label);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  display: block;
  margin-bottom: 0.7rem;
}
.edition p { color: var(--mid); line-height: 1.85; max-width: 46ch; }

/* Journals & gifts — one product per row, sliding gallery + lightbox */
.product-row { padding: 2.5rem 0; }
.product-row:last-child { padding-bottom: 0; }
.product-row__head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.4rem; }
.product-row__head h3 { flex-shrink: 0; }
.product-row__rule { flex: 1; height: 1px; background: var(--rule); }
.slider-btn {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.slider-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.product-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding-bottom: 0.5rem;
}
.product-slider img {
  height: 380px;
  width: auto;
  flex: 0 0 auto;
  scroll-snap-align: start;
  cursor: zoom-in;
}
.product-row__body { margin-top: 1.4rem; }
.product-row__body p { color: var(--mid); margin-bottom: 1.5rem; max-width: 60ch; }

.hours-table + .sh { margin-top: 2.5rem; }
.hours-table + p { margin-top: 1.5rem; }

/* ─── Corporate Page ──────────────────────────────────────────────── */
.case-study {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 5rem;
  align-items: start;
  padding: 3rem 0 6rem;
}
.case-study__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.case-study__kicker {
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  display: block;
  margin-bottom: 1rem;
}
.case-study h3 { margin-bottom: 1.2rem; }
.case-study p  { color: var(--mid); line-height: 1.85; margin-bottom: 1.5rem; max-width: 52ch; }
.case-study__stat {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.case-study__stat-num {
  font-family: var(--ff-disp);
  font-size: 2.6rem;
  display: block;
  line-height: 1;
  color: var(--cobalt);
}
.case-study__stat-label {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-top: 0.3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.service-item {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.service-item:nth-child(even) { padding-left: 2.5rem; border-right: none; }
.service-item h4 { font-family: var(--ff-disp); margin-bottom: 0.8rem; }
.service-item p  { color: var(--mid); font-size: 1rem; max-width: 42ch; }

/* ─── Corporate Services List (replaces bordered grid) ──────────── */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 4rem;
  margin-top: 1rem;
}
.service-list li {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.service-list li strong {
  font-family: var(--ff-disp);
  font-weight: 400;
  color: var(--white);
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

/* Full client list (dark bg) */
.clients-full {
  columns: 3;
  column-gap: 0;
}
.clients-full__item {
  padding: 0.45rem 2rem 0.45rem 0;
  break-inside: avoid;
  font-family: var(--ff-label);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.5);
}

/* ─── Dance Page ──────────────────────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
}
.schedule-card {
  background: rgba(255,255,255,0.025);
  padding: 3rem;
}
.schedule-card__day {
  font-family: var(--ff-disp);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.schedule-card__time {
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1.5rem;
}
.schedule-card__time a { color: inherit; border-bottom: 1px solid rgba(255,255,255,0.2); }
.schedule-card__time a:hover { color: var(--white); }
.schedule-card__items li {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.schedule-card__items li:last-child { border-bottom: none; }
.schedule-card__note {
  font-family: var(--ff-label);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  line-height: 1.9;
  margin-top: 1.1rem;
}
.btn-signup {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.btn-signup:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ─── Women's Workout — Viktoria's Thursday & Sunday class ────────── */
.workout {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 4rem;
  align-items: start;
}
.workout__img { width: 100%; height: auto; display: block; }
.workout__body p { color: var(--mid); line-height: 1.85; margin-bottom: 1.4rem; }
.workout__lead {
  font-family: var(--ff-disp);
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--charcoal) !important;
  margin-bottom: 1.6rem !important;
  max-width: 20ch;
}
.workout__facts { margin: 0 0 1.8rem; }
.workout__facts li {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--charcoal);
}
.workout__facts li:first-child { border-top: 1px solid var(--rule); }
.workout__key {
  font-family: var(--ff-label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  flex: 0 0 5.5rem;
}
.workout__body a:not(.btn) { color: var(--cobalt); }
.workout__body a:not(.btn):hover { color: var(--cobalt-h); }

.instructors {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 4rem;
  align-items: start;
}
.instructors__people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.instructor__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.instructor__name {
  font-family: var(--ff-disp);
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.instructor__tel {
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--mid);
  white-space: nowrap;
}
.instructor__tel:hover { color: var(--cobalt); }
.instructor__role {
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
  display: block;
}
.instructor p { color: var(--mid); font-size: 1.05rem; max-width: 42ch; }

/* Video embeds — Victor & Viktoria's clips on the dance page */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--charcoal);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-item__title {
  font-family: var(--ff-label);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 0.7rem;
  line-height: 1.5;
}

/* ─── About Page ──────────────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 6rem;
  align-items: start;
}
.about-intro__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-intro h2   { margin-bottom: 1.5rem; }
.about-intro p    { color: var(--mid); line-height: 1.85; margin-bottom: 1.2rem; max-width: 52ch; }

.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-top: 5rem;
}
.credential {
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.credential__num {
  font-family: var(--ff-disp);
  font-size: 2.6rem;
  color: var(--cobalt);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.credential__label {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}

.philosophy {
  background: var(--dark);
  color: var(--white);
  padding: 5.5rem 0;
  text-align: center;
}
.philosophy blockquote {
  font-family: var(--ff-disp);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.35;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  max-width: 26ch;
  margin: 0 auto 2rem;
}
.philosophy cite {
  font-style: normal;
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ─── Map embed ───────────────────────────────────────────────────── */
.map-embed { display: block; width: 100%; border: 0; }

/* ─── Contact Page ────────────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}
.contact-block + .contact-block { margin-top: 3rem; }
.contact-block__label {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-bottom: 0.5rem;
}
.contact-block__val {
  font-family: var(--ff-disp);
  font-size: 1.4rem;
  line-height: 1.4;
}
.contact-block__val a:hover { color: var(--cobalt); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.05rem;
}
.hours-table td:last-child { color: var(--mid); text-align: right; }

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { height: 65vw; min-height: 320px; }
  .hero__text { padding: 5rem 3rem 4rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery-masonry { /* flex handles column count; JS reduces .mason-col count on narrow widths */ }
  .corp-intro { grid-template-columns: 1fr; gap: 2rem; }
  .client-list { grid-template-columns: repeat(2, 1fr); }
  .dance-teaser__grid { grid-template-columns: 1fr; gap: 3rem; }
  .case-study { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item { border-right: none; }
  .service-item:nth-child(even) { padding-left: 0; }
  .clients-full { columns: 2; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .editions { gap: 2rem; }
  .editions--4 { grid-template-columns: repeat(2, 1fr); }
  .workout { grid-template-columns: 1fr; gap: 2.5rem; }
  .workout__img { max-width: 460px; }
  .instructors { grid-template-columns: 1fr; }
  .instructors__people { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 3rem; }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; gap: 3rem; }
  .product-slider img { height: 300px; }
}

@media (max-width: 768px) {
  .wrap, .wrap--mid, .wrap--narrow { padding: 0 1.5rem; }
  .section { padding: 2.5rem 0; }
  .section--lg { padding: 4rem 0; }
  .section--dark, .section--warm { padding: 2.5rem 0; }
  .dance-teaser { padding: 4rem 0; }
  .philosophy   { padding: 4rem 0; }

  .nav { padding: 1.2rem 1.5rem; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero__photo { height: 70vw; }
  .hero__text { padding: 4rem 1.5rem 3rem; }
  .hero__text h1 { font-size: 2.6rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .work-grid { grid-template-columns: 1fr; }
  /* .gallery-masonry column count handled by JS */
  .books-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .client-list { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; gap: 1rem; }
  .credentials { grid-template-columns: 1fr; }
  .clients-full { columns: 1; }
  .page-hero { padding: 3rem 0 1.5rem; }
  /* Section headers: hide decorative rule on mobile so titles don't wrap */
  .sh { gap: 1rem; margin-bottom: 2rem; }
  .sh__rule { display: none; }
  /* Contact page: tighten block spacing */
  .contact-block + .contact-block { margin-top: 2rem; }

  /* Books page — tighten mobile layout */
  .section--sm { padding: 1.25rem 0; }
  .editions, .editions--4 { grid-template-columns: 1fr; gap: 2.5rem; }
  .edition__figure, .editions--4 .edition__figure { height: 320px; }
  .product-group { padding: 2rem 0; }
  .product-group__head { flex-wrap: wrap; gap: 0.7rem; }
  .product-group__head h3 { flex-basis: 100%; }
  .product-group__rule { display: none; }
  .product-row { padding: 1.75rem 0; }
  .product-row__head { flex-wrap: wrap; gap: 0.8rem; }
  .product-row__head h3 { flex-basis: 100%; }
  .product-row__rule { display: none; }
  .product-slider img { height: 240px; }
}
