/* sections.css
   Section-level layout that EXTENDS core/components.css (reuses its .hero,
   .service-*, .gallery-*, .faq-*, .booking-cta-* and .btn classes).
   Concatenated into the core bundle after components.css. Token-only — zero
   hardcoded values. */

studio-hero, studio-services, studio-gallery, studio-faq, studio-cta,
studio-about, studio-artists, studio-process, studio-testimonials,
studio-contact, studio-nav, studio-footer { display: block; }

/* ── Nav ──────────────────────────────────────────────────────────── */
/* Inline links hidden on mobile (drawer takes over); shown ≥768px. */
.nav-links-inline { display: none; }
.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease);
}
.nav-link:hover { color: var(--brand); }
.nav-menu-btn { background: none; border: none; cursor: pointer; }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: var(--z-sticky);
  background: rgba(8,8,9,0.96);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) var(--space-5) var(--space-5);
}
.nav-drawer-links { display: flex; flex-direction: column; }
.nav-drawer-link {
  display: block;
  padding: var(--space-3) 0;
  min-height: var(--tap-min);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text-1);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-menu-btn span:nth-child(1) { transform-origin: center; }
.nav-open .nav-menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .nav-menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 768px) {
  .nav-links-inline { display: flex; gap: var(--space-5); align-items: center; }
  .nav--bar .nav-menu-btn { display: none; }
  .nav-drawer { display: none; }
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer-desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: var(--leading-normal);
  max-width: var(--content-sm);
  margin: 0 auto var(--space-5);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.footer-link {
  font-size: var(--text-sm);
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease);
}
.footer-link:hover { color: var(--brand); }
.footer--columns .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--space-5); }

/* ── Hero ─────────────────────────────────────────────────────────── */
studio-hero[variant] { min-height: 100svh; }

.hero--centered { justify-content: center; text-align: center; }
.hero--centered .hero-content {
  max-width: var(--content-md);
  margin-inline: auto;
  padding-bottom: var(--space-10);
}
.hero--centered .hero-name { font-size: var(--text-display); }

/* variant: editorial — the homepage hero. Eyebrow with a leading rule,
   italic serif tagline, inline booking note, animated scroll dot. */
.hero--editorial { justify-content: flex-end; }
.hero--editorial .hero-content { max-width: 640px; padding-bottom: var(--space-12); }
.hero--editorial .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  letter-spacing: var(--tracking-widest, 0.32em);
}
.hero--editorial .hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brand);
}
.hero--editorial .hero-tagline {
  font-family: var(--font-display, serif);
  font-style: italic;
  color: var(--text-2);
  max-width: 42ch;
}
.hero--editorial .hero-actions { align-items: baseline; }
.hero-note {
  font-size: var(--text-xs);
  color: var(--text-3);
  font-style: italic;
}
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--border-hi);
  border-radius: var(--radius-full);
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
  animation: hero-scroll-dot 1.8s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint span::after { animation: none; }
}
@keyframes hero-scroll-dot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 0; transform: translateX(-50%) translateY(12px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(0); }
}

/* Hero CTAs — stacked full-width on mobile, inline + wrap on desktop. */
@media (min-width: 768px) {
  .hero .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero .hero-actions .btn { width: auto; }
  .hero--centered .hero-actions { justify-content: center; }
}

/* ── Services ─────────────────────────────────────────────────────── */
/* variant: grid — separated cards instead of a single bordered list. */
.services--grid .service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  border: none;
}
@media (min-width: 640px) {
  .services--grid .service-list { grid-template-columns: repeat(2, 1fr); }
}
.services--grid .service-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ── Gallery ──────────────────────────────────────────────────────── */
/* variant: featured — first cell spans 2×2 on desktop. */
@media (min-width: 768px) {
  .gallery--featured .gallery-grid > :first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* ── Booking CTA ──────────────────────────────────────────────────── */
.booking-cta-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.booking-cta-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-3);
}
/* variant: compact — tighter, smaller heading for mid-page placement. */
.booking-cta--compact { padding-block: var(--space-8); }
.booking-cta--compact .booking-cta-heading { font-size: var(--text-2xl); }

/* ── About ────────────────────────────────────────────────────────── */
/* variant: text — drop the portrait, center the bio. */
.about--text .about-inner { text-align: center; align-items: center; }
.about--text .about-bio { margin-inline: auto; max-width: var(--content-sm); }

/* ── Artists ──────────────────────────────────────────────────────── */
/* No core class existed — full card layout here, token-only. */
.artists { padding: var(--space-12) var(--space-5); }
.artist-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 768px) {
  .artists--grid .artist-grid { grid-template-columns: repeat(2, 1fr); }
}
.artist-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.artist-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.artist-card-media { aspect-ratio: 4 / 3; background: var(--surface-3); overflow: hidden; }
.artist-card-media img { width: 100%; height: 100%; object-fit: cover; }
.artist-card-body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.artist-card-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text-1);
  line-height: var(--leading-tight);
}
.artist-card-specialty {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand);
}
.artist-card-bio { font-size: var(--text-sm); color: var(--text-3); line-height: var(--leading-normal); }
.artist-card-cta {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text-1);
}
/* variant: rows — horizontal cards (image beside body) on desktop. */
@media (min-width: 768px) {
  .artists--rows .artist-grid { grid-template-columns: 1fr; }
  .artists--rows .artist-card { flex-direction: row; }
  .artists--rows .artist-card-media { width: 38%; aspect-ratio: auto; }
  .artists--rows .artist-card-body { flex: 1; justify-content: center; }
}

/* variant: list — the homepage "Resident Artists" rounded rows. */
.artist-rows { display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 768px) { .artist-rows { flex-direction: row; } }
.artist-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
  padding: var(--space-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.artist-row:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.artist-row:active { transform: scale(0.98); }
.artist-row-avatar {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.artist-row-avatar--blank {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--brand);
}
.artist-row-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.artist-row-name { font-family: var(--font-display); font-size: var(--text-lg); color: var(--text-1); }
.artist-row-specialty { font-size: var(--text-xs); color: var(--brand); }
.artist-row-chevron { color: var(--text-3); opacity: 0.6; flex-shrink: 0; }

/* ── Gallery · square variant — the homepage "Recent Work" tiles ───── */
.gallery--square .gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) {
  .gallery--square .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery--square .gallery-cell { aspect-ratio: 1; border-radius: var(--radius-sm); }

/* variant: strip — horizontal scroll-snap image strip (homepage shop strip). */
.gallery--strip .gallery-grid {
  display: flex;
  grid-template-columns: none;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
}
.gallery--strip .gallery-grid::-webkit-scrollbar { display: none; }
.gallery--strip .gallery-cell {
  flex: 0 0 auto;
  width: 75vw;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
  border-radius: var(--radius-sm);
}
@media (min-width: 640px) {
  .gallery--strip .gallery-cell { width: 320px; scroll-snap-align: start; }
}

/* variant: filtered — artist/style filter tabs over the grid (portfolio page). */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.gallery-filter {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  background: transparent;
  cursor: pointer;
  transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.gallery-filter:hover { color: var(--text-1); border-color: var(--border-hi); }
.gallery-filter.active {
  color: var(--on-brand, var(--ink, #0a0800));
  background: var(--brand);
  border-color: var(--brand);
}

/* ── Services · cards variant — centered bordered cards (Flash / Events) ── */
.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  padding: var(--space-4);
  text-align: center;
  transition: border-color var(--dur-base) var(--ease);
}
.service-card:hover { border-color: var(--border-hi); }
.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text-1);
  margin-bottom: var(--space-2);
}
.service-card-desc { font-size: var(--text-sm); color: var(--text-3); line-height: var(--leading-normal); }
.service-card-price {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--brand);
}

/* ── Feature band — editorial image + text showcase (artist pages) ──── */
studio-feature { display: block; }
.feature-inner { display: flex; flex-direction: column; }
@media (min-width: 900px) {
  .feature-inner { flex-direction: row; min-height: 56vh; max-height: 80vh; }
  .feature--image-right .feature-inner { flex-direction: row-reverse; }
}
.feature-media { position: relative; overflow: hidden; line-height: 0; flex: 0 0 auto; }
@media (min-width: 900px) { .feature-media { flex: 0 0 55%; max-height: 80vh; } }
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: contrast(1.06) brightness(0.96);
}
.feature-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 30%);
}
.feature-text {
  background: var(--surface-2);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  flex: 1;
}
@media (min-width: 900px) { .feature-text { padding: var(--space-12) var(--space-8); } }
.feature-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-widest, 0.28em);
  text-transform: uppercase;
  color: var(--brand);
}
.feature-body {
  font-family: var(--font-display, serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--text-1);
  max-width: 42ch;
}
.feature-attr {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-3);
}
.feature-cta { align-self: flex-start; margin-top: var(--space-2); }

/* ── Testimonials · cards variant — 3-up gold-top quote cards ────── */
.testimonials--cards .testimonials-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  overflow: visible;
  padding-inline: var(--space-5);
}
@media (min-width: 640px) {
  .testimonials--cards .testimonials-track { grid-template-columns: repeat(3, 1fr); }
}
.testimonials--cards .testimonial-card {
  width: auto;
  border-top: 1px solid var(--brand-dim, var(--brand));
  position: relative;
}
.testimonials--cards .testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 2px; left: 8px;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--brand);
  opacity: 0.3;
  line-height: 1;
}

/* ── CTA · bar variant — the homepage contact bar (info left / actions right) */
.booking-cta--bar {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
  padding-block: var(--space-8);
  text-align: left;
}
.booking-cta--bar::before { display: none; } /* drop the centered bloom */
.booking-cta--bar .booking-cta-text { display: flex; flex-direction: column; gap: var(--space-1); }
.booking-cta--bar .booking-cta-heading { font-size: var(--text-2xl); }
@media (min-width: 768px) {
  .booking-cta--bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
  }
  .booking-cta--bar .booking-cta-actions { margin-top: 0; justify-content: flex-end; }
}

/* ── Process ──────────────────────────────────────────────────────── */
/* variant: compact — smaller numerals, tighter rows. */
.process--compact .process-step { gap: var(--space-3); padding-block: var(--space-2); }
.process--compact .process-num { font-size: var(--text-2xl); min-width: auto; }

/* ── Testimonials ─────────────────────────────────────────────────── */
/* variant: stack — vertical column instead of the horizontal snap track. */
.testimonials--stack .testimonials-track {
  flex-direction: column;
  overflow: visible;
  padding-inline: var(--space-5);
}
.testimonials--stack .testimonial-card { width: auto; max-width: var(--content-sm); }

/* ── Contact ──────────────────────────────────────────────────────── */
/* variant: split — heading sits beside the rows on ≥768px. */
@media (min-width: 768px) {
  .contact--split .section-header,
  .contact--split .social-links {
    display: inline-block;
    vertical-align: top;
    width: 48%;
  }
  .contact--split .social-links { display: flex; }
}

/* faq — multi variant: two-column question grid on wider screens (single stays
   one column). The markup is identical to single; this modifier is the only
   thing that distinguishes the variant. */
@media (min-width: 768px) {
  .faq--multi .faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-3);
    align-items: start;
  }
}
