/* ================================================================
   WB LUTHIER — STYLESHEET
   ================================================================ */


/* 1. Custom Properties
   ================================================================ */
:root {
  /* Palette */
  --ivory:        #F4F1EC;
  --ivory-deep:   #EAE5DC;
  --ink:          #111009;
  --ink-soft:     #1E1C17;
  --brass:        #B8832E;
  --brass-light:  #D4A94E;
  --stone:        #7A7469;
  --border:       #DDD9D0;

  /* Semantic aliases — light context */
  --bg:           var(--ivory);
  --bg-alt:       var(--ivory-deep);
  --text:         var(--ink);
  --text-muted:   var(--stone);
  --accent:       var(--brass);

  /* Dark section overrides (applied on .section--dark children) */
  --dark-bg:      var(--ink);
  --dark-bg-soft: var(--ink-soft);
  --dark-text:    var(--ivory);
  --dark-muted:   rgba(244, 241, 236, 0.45);
  --dark-border:  rgba(244, 241, 236, 0.09);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;

  --size-display: clamp(2.75rem, 6vw, 5rem);
  --size-h1:      clamp(2.25rem, 4.5vw, 3.5rem);
  --size-h2:      clamp(1.625rem, 3vw, 2.25rem);
  --size-h3:      1.3125rem;
  --size-body:    1.125rem;
  --size-small:   0.875rem;
  --size-label:   0.6875rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 5rem;

  /* Layout */
  --container:  1120px;
  --header-h:   70px;
  --transition: 220ms ease;
}


/* 2. Reset
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover { color: var(--accent); }

ul, ol { list-style: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

address { font-style: normal; }


/* 3. Accessibility
   ================================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.5rem 1.25rem;
  font-size: var(--size-small);
  text-decoration: none;
  z-index: 999;
  transition: top var(--transition);
}

.skip-link:focus { top: 0.75rem; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}


/* 4. Layout
   ================================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 2rem;
}

.section {
  padding-block: var(--space-xl);
}

/* Light alternate — very subtle ivory shift */
.section--alt {
  background-color: var(--bg-alt);
}

/* Dark section — near-black with ivory text */
.section--dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.section--dark .section__label  { color: var(--dark-muted); }
.section--dark .section__intro  { color: var(--dark-muted); }
.section--dark .text-link       { color: var(--dark-text); border-bottom-color: var(--dark-border); }
.section--dark .text-link:hover { color: var(--brass-light); border-bottom-color: var(--brass-light); }
.section--dark a:hover          { color: var(--brass-light); }

.section__label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--size-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.125rem;
}

.section__heading {
  font-family: var(--font-heading);
  font-size: var(--size-h2);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.section__intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: var(--space-lg);
  line-height: 1.85;
}

.section__cta { margin-top: var(--space-md); }

.ruled {
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
}

.section--dark .ruled { border-top-color: var(--dark-border); }


/* 5. Header & Navigation
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ivory);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.3rem;
}

.logo-wordmark__name {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo-wordmark__wb {
  color: var(--brass);
  font-style: italic;
}

.logo-wordmark__loc {
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.main-nav ul {
  display: flex;
  gap: 2.75rem;
  align-items: center;
}

.main-nav a {
  font-size: var(--size-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--stone);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
  font-size: var(--size-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
}


/* 6. Hero — split layout (text left · image slider right)
   ================================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
  background-color: var(--ink);
  overflow: hidden;
}

/* ── Left: text panel ── */
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl) clamp(2rem, 5vw, 5rem);
}

.hero__label {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.68);
  margin-bottom: 1.75rem;
}

/* Rotating tagline phrases */
.hero__tagline-wrap {
  position: relative;
  height: 2.25rem;
  overflow: hidden;
  margin-bottom: 1.625rem;
}

.hero__tagline {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.3;
  font-style: italic;
  color: rgba(244, 241, 236, 0.78);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero__tagline.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: var(--size-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ivory);
  max-width: 13ch;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Thin brass rule below heading */
.hero__heading::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background-color: var(--brass);
  margin-top: 1.75rem;
}

.hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ── Right: image slider ── */
.hero__slides {
  position: relative;
  overflow: hidden;
}

/* Gradient bleed: left edge fades into the text panel */
.hero__slides::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(to right, var(--ink) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: var(--ink);
  filter: saturate(0.6) brightness(0.78);
  opacity: 0;
  transition: opacity 1200ms ease;
}

.hero__slide.is-active { opacity: 1; }


/* 7. Buttons
   ================================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--size-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.0625rem 2.25rem;
  border: 1px solid;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn--light {
  border-color: rgba(244, 241, 236, 0.5);
  color: var(--ivory);
  background: transparent;
}
.btn--light:hover {
  background-color: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover {
  background-color: var(--ink);
  color: var(--ivory);
}

.btn--outline-inv {
  border-color: rgba(244, 241, 236, 0.4);
  color: var(--ivory);
  background: transparent;
}
.btn--outline-inv:hover {
  background-color: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}

.btn--accent {
  border-color: var(--brass);
  background-color: var(--brass);
  color: var(--ivory);
}
.btn--accent:hover {
  background-color: transparent;
  color: var(--brass);
}

.text-link {
  font-size: var(--size-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.text-link:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}


/* 8. Team Teaser (homepage)
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.team-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--bg-alt);
  margin-bottom: var(--space-md);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: filter 500ms ease;
  display: block;
}

.team-card__photo:hover img { filter: saturate(1); }

.team-card__photo--placeholder {
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.875rem;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.4375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-card__role {
  display: block;
  font-size: var(--size-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.875rem;
}

.team-card__bio {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}


/* 9. Services  — dark section
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--dark-border);
  border-left: 1px solid var(--dark-border);
}

.service-item {
  padding: var(--space-lg) var(--space-md);
  border-right: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
  transition: background-color 300ms ease;
}

/* Short brass rule at top — sweeps full width on hover */
.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background-color: var(--brass);
  transition: width 380ms ease;
}

.service-item:hover {
  background-color: rgba(244, 241, 236, 0.03);
}

.service-item:hover::before {
  width: 100%;
}

.service-item__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(184, 131, 46, 0.38);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.service-item__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  color: var(--ivory);
  line-height: 1.2;
}

.service-item__desc {
  font-size: 0.9375rem;
  color: rgba(244, 241, 236, 0.58);
  line-height: 1.8;
}


/* 10. Services Trust Strip
   ================================================================ */
.services-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--dark-border);
  border: 1px solid var(--dark-border);
  margin-top: var(--space-lg);
}

.services-trust-item {
  padding: 1.375rem var(--space-md);
  background-color: var(--ink);
  text-align: center;
}

.services-trust-item__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brass-light);
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}

.services-trust-item__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--dark-muted);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .services-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* 10b. Portfolio Teaser
   ================================================================ */
.portfolio-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: var(--space-md);
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background-color: var(--bg-alt);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
  filter: saturate(0.9);
}

.portfolio-thumb:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.portfolio-thumb__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(10,9,7,0.82) 0%, transparent 100%);
  color: var(--ivory);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.9375rem;
  transform: translateY(4px);
  transition: transform var(--transition);
}

.portfolio-thumb:hover .portfolio-thumb__label {
  transform: translateY(0);
}


/* 11. Social / Curator
   ================================================================ */

/* Two-column header: intro text left, channel cards right */
.social-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-lg);
}

.social-section-intro .section__intro {
  margin-bottom: 0;
}

/* Channel cards stack */
.social-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 0.375rem; /* optically align with heading */
}

.social-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid var(--dark-border);
  text-decoration: none;
  color: inherit;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.social-channel:hover {
  border-color: var(--brass);
  background-color: rgba(184, 131, 46, 0.06);
  color: inherit;
}

.social-channel__platform {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--brass-light);
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.social-channel__handle {
  display: block;
  font-size: var(--size-small);
  color: var(--dark-muted);
  font-family: var(--font-body);
}

.social-channel__cta {
  font-size: var(--size-small);
  color: var(--dark-muted);
  white-space: nowrap;
  transition: color 220ms ease, transform 220ms ease;
  display: inline-block;
}

.social-channel:hover .social-channel__cta {
  color: var(--brass-light);
  transform: translateX(3px);
}

/* Curator feed */
#curator-feed-default-feed-layout {
  margin-block: var(--space-lg);
}

/* Bottom CTA strip */
.social-section-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--dark-border);
  flex-wrap: wrap;
}

.social-section-footer__text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--dark-text);
  font-style: italic;
  margin: 0;
}


/* 12. Reviews
   ================================================================ */
.reviews-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.review-score {
  flex-shrink: 0;
  padding-right: var(--space-xl);
  border-right: 1px solid var(--border);
}

.review-score__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.review-score__stars {
  display: block;
  font-size: 1.125rem;
  color: var(--brass);
  letter-spacing: 4px;
  margin-block: 0.625rem;
}

.review-score__count {
  display: block;
  font-size: var(--size-small);
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.review-score__link {
  display: inline-block;
  margin-top: var(--space-sm);
}

.review-map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  filter: saturate(0.6) contrast(1.05);
}


/* 13. Quick Contact (homepage)
   ================================================================ */
.contact-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item__label {
  display: block;
  font-size: var(--size-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.contact-item__value {
  font-family: var(--font-heading);
  font-size: 1.4375rem;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: color var(--transition);
}
.contact-item__value:hover { color: var(--brass); }

.contact-address {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.contact-social-wrap {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  margin-top: var(--space-md);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: 0.875rem;
}

.social-links a {
  font-size: var(--size-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.social-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

/* Social links on dark backgrounds */
.section--dark .social-links a {
  color: var(--dark-muted);
  border-bottom-color: var(--dark-border);
}
.section--dark .social-links a:hover {
  color: var(--ivory);
  border-bottom-color: var(--brass-light);
}

/* Quick contact on dark backgrounds */
.section--dark .contact-item__label  { color: var(--dark-muted); }
.section--dark .contact-item__value  { color: var(--dark-text); }
.section--dark .contact-item__value:hover { color: var(--brass-light); }
.section--dark .contact-address       { color: var(--dark-text); }
.section--dark .contact-social-wrap   { border-top-color: var(--dark-border); }


/* 14. Footer
   ================================================================ */
.site-footer {
  background-color: var(--ink-soft);
  color: rgba(244, 241, 236, 0.6);
  padding-block: 3.5rem var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(244, 241, 236, 0.07);
  margin-bottom: 1.5rem;
}

.footer-brand .logo-footer {
  height: 72px;
  width: auto;
  margin-bottom: 0.875rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-brand__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(244, 241, 236, 0.88);
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
}

.footer-brand .tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.9375rem;
  color: rgba(244, 241, 236, 0.42);
}

.footer-col__label {
  display: block;
  font-size: var(--size-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.28);
  margin-bottom: 1.125rem;
}

.footer-col p,
.footer-col address {
  font-size: 0.9375rem;
  line-height: 2;
}

.footer-col a {
  text-decoration: none;
  color: rgba(244, 241, 236, 0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: rgba(244, 241, 236, 0.95); }

.footer-col .footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col .footer-social-list a {
  font-size: var(--size-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: var(--size-label);
  letter-spacing: 0.08em;
}

.footer-bottom a {
  text-decoration: none;
  color: rgba(244, 241, 236, 0.28);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-bottom a:hover { color: rgba(244, 241, 236, 0.6); }

.footer-bottom .copyright {
  margin-left: auto;
  color: rgba(244, 241, 236, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}


/* 15. Page Hero (inner pages)
   ================================================================ */
.page-hero {
  background-color: var(--ink);
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Subtle brass line at bottom of page hero */
.page-hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 2px;
  background-color: var(--brass);
}

.page-hero .section__label {
  font-size: 0.8125rem;
  color: rgba(244, 241, 236, 0.68);
}

.page-hero__heading {
  font-family: var(--font-heading);
  font-size: var(--size-h1);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero__sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(244, 241, 236, 0.78);
  max-width: 52ch;
}

/* Split variant — text left / image right */
.page-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 240px;
  padding-block: var(--space-lg);
}

.page-hero--split .container {
  max-width: none;
  padding-inline: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero__img {
  position: relative;
  overflow: hidden;
}

.page-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.5) brightness(0.7);
}

/* Gradient bleeds the image into the dark text panel */
.page-hero__img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 220px;
  background: linear-gradient(to right, var(--ink) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}


/* 16. About Page — Bio
   ================================================================ */
.bio-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
}

.bio-photo-wrap {
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}

.bio-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--bg-alt);
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: filter 500ms ease;
}

.bio-photo:hover img { filter: saturate(1); }

.bio-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--bg-alt);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.9375rem;
  text-align: center;
  padding: 1rem;
}

.bio-content h2 {
  font-family: var(--font-heading);
  font-size: var(--size-h2);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.bio-role {
  display: block;
  font-size: var(--size-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-md);
}

.bio-lead {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.bio-content p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.cert-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.cert-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-sm);
  align-items: baseline;
  padding-block: 1.0625rem;
  border-top: 1px solid var(--border);
}
.cert-item:last-child { border-bottom: 1px solid var(--border); }

.cert-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.cert-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.guarantee-block {
  text-align: center;
  padding-block: var(--space-lg);
  max-width: 52ch;
  margin-inline: auto;
}

.guarantee-block::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background-color: var(--brass);
  margin: 0 auto var(--space-md);
}

.guarantee-block h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 0.875rem;
}

.guarantee-block p {
  color: var(--text-muted);
  line-height: 1.8;
}


/* 17. Gallery
   ================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--bg-alt);
  outline: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.07);
  filter: saturate(1.1);
}

/* Wide gallery item — spans 2 columns, same height as normal items */
.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 8 / 3;
}


/* 17b. Workshop intro
   ================================================================ */
.workshop-intro-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xl);
  align-items: start;
}

.workshop-philosophy {
  background-color: var(--ink);
  color: var(--ivory);
  padding: var(--space-lg) var(--space-md);
  margin: 0;
}

.workshop-philosophy::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background-color: var(--brass);
  margin-bottom: var(--space-md);
}

.workshop-philosophy p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(244, 241, 236, 0.85);
}


/* 18. Lightbox
   ================================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background-color: rgba(8, 7, 5, 0.97);
  align-items: center;
  justify-content: center;
}

.lightbox.is-open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: rgba(244, 241, 236, 0.45);
  font-size: var(--size-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem;
  transition: color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}
.lightbox__close:hover { color: var(--ivory); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(244, 241, 236, 0.45);
  font-size: var(--size-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(244, 241, 236, 0.12);
  background: none;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.lightbox__prev { left: 2rem; }
.lightbox__next { right: 2rem; }

.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--ivory);
  border-color: rgba(244, 241, 236, 0.45);
}

.lightbox__counter {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--size-label);
  letter-spacing: 0.12em;
  color: rgba(244, 241, 236, 0.3);
}


/* 19. Before / After Slider
   ================================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-lg);
}

.project-item__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.project-item__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
  line-height: 1.7;
}

.before-after {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-alt);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
  z-index: 1;
}

.ba-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
}

.ba-divider {
  position: absolute;
  top: 0;
  left: var(--ba-pos, 50%);
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: rgba(244, 241, 236, 0.9);
  pointer-events: none;
  z-index: 2;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos, 50%);
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background-color: var(--ivory);
  border: 2px solid rgba(184, 131, 46, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.ba-labels {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  pointer-events: none;
  z-index: 2;
}

.ba-labels span {
  background-color: rgba(10, 9, 7, 0.65);
  color: var(--ivory);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3125rem 0.625rem;
}


/* 20. Contact Page
   ================================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 46ch;
  margin-bottom: var(--space-md);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
}

.contact-info-item {
  padding-block: 1.375rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:first-child {
  border-top: 1px solid var(--border);
}

.contact-info-item__label {
  display: block;
  font-size: var(--size-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-info-item a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: normal;
  text-decoration: none;
  color: var(--ink);
  transition: color var(--transition);
  line-height: 1.4;
  display: block;
}
.contact-info-item a:hover { color: var(--brass); }

.contact-info-item__secondary {
  font-family: var(--font-body);
  font-size: var(--size-label) !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  margin-top: 0.4rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  display: inline-block !important;
  transition: color var(--transition), border-color var(--transition) !important;
}
.contact-info-item__secondary:hover {
  color: var(--brass) !important;
  border-bottom-color: var(--brass) !important;
}

/* Address clipboard copy */
.address-copy {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  color: var(--ink);
  transition: color var(--transition);
}

.address-copy:hover { color: var(--brass); }

.address-copy address {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.4;
}

.address-copy__hint {
  font-size: var(--size-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.35rem;
  flex-shrink: 0;
  transition: color var(--transition);
}

.address-copy:hover .address-copy__hint { color: var(--brass); }

/* Clipboard toast */
.contact-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.625rem);
  background-color: var(--ink);
  color: var(--ivory);
  font-size: var(--size-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity 260ms ease, transform 260ms ease;
  white-space: nowrap;
}

.contact-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.contact-map-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.contact-map-sticky iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: saturate(0.6) contrast(1.06);
  display: block;
}

.hours-table { margin-top: 0.5rem; }

.hours-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.hours-row:first-child { border-top: 1px solid var(--border); }

.hours-day  { color: var(--text-muted); }
.hours-time { color: var(--ink); }


/* 21. Legal pages
   ================================================================ */
.legal-content {
  max-width: 72ch;
}

.legal-content .legal-updated {
  font-size: var(--size-small);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: var(--space-lg);
  margin-bottom: 0.625rem;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.875rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.legal-content ul li {
  line-height: 1.85;
  margin-bottom: 0.2rem;
}

.legal-content a {
  color: var(--brass);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
  margin-top: 0.5rem;
}

.legal-content th {
  text-align: left;
  font-size: var(--size-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-content td {
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-content td:first-child { color: var(--ink); font-family: var(--font-heading); }


/* 22. Services Page
   ================================================================ */

/* Hero intro paragraph on services page */
.services-intro {
  max-width: 64ch;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.section--dark .services-intro { color: var(--dark-muted); }

/* Individual service detail section — no extra padding; section wrapper provides it */
.service-detail-section {
  /* layout only, no extra spacing */
}

/* Section spacing variant for detail rows */
.section--compact {
  padding-block: 3rem;
}

/* Two-column layout: content left, visual right */
.service-detail-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-lg);
  align-items: start;
}

.service-detail-grid--reverse {
  direction: rtl;
}

.service-detail-grid--reverse > * {
  direction: ltr;
}

/* Instrument tags (pill badges) */
.instrument-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: var(--space-md);
}

.instrument-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  transition: border-color 220ms ease, color 220ms ease;
}

.instrument-tag:hover {
  border-color: var(--brass);
  color: var(--brass);
}

/* Feature list with brass dash prefix */
.repair-features {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.repair-feature {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--size-small);
  color: var(--text-muted);
  line-height: 1.6;
}

.repair-feature::before {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 2px;
  background: var(--brass);
  margin-top: 0.1em;
}

/* Visual panel (right column) */
.service-detail-visual {
  position: sticky;
  top: 2rem;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--stone);
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Brands grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.brand-card {
  padding: var(--space-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.brand-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--ivory);
}

.brand-card__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Services page CTA banner */
.services-cta {
  background: var(--stone);
  padding: var(--space-xl);
  text-align: center;
}

.services-cta__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ivory);
  margin-bottom: var(--space-sm);
}

.services-cta__sub {
  color: var(--text-muted);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

/* Responsive — services page */
@media (max-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid--reverse {
    direction: ltr;
  }

  .service-detail-visual {
    position: static;
    aspect-ratio: 16/7;
  }
}


/* 23. Responsive
   ================================================================ */
@media (max-width: 1100px) {
  .bio-block {
    grid-template-columns: 220px 1fr;
    gap: var(--space-lg);
  }

  .bio-photo-wrap { position: static; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-lg: 2rem;
  }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--ivory);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md) 2rem var(--space-lg);
    z-index: 99;
  }

  .main-nav.is-open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
    display: block;
    padding-block: 0.625rem;
    border-bottom: none;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    color: var(--brass);
    border-bottom: none;
  }

  /* Hero: stacked on mobile — image top, text below */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: min(56vw, 380px) auto;
  }

  .hero__slides {
    grid-row: 1;
    position: relative;
    inset: auto;
    z-index: 0;
  }

  .hero__slide {
    object-fit: cover;
    object-position: center;
    background-color: var(--ink);
  }

  /* Left-edge gradient not needed; fade bottom into text panel instead */
  .hero__slides::before { display: none; }

  .hero__slides::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, var(--ink), transparent);
    z-index: 2;
    pointer-events: none;
  }

  .hero__text {
    grid-row: 2;
    min-height: auto;
    justify-content: flex-start;
    padding: var(--space-md) 2rem var(--space-xl);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }

  .portfolio-teaser-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-teaser-grid .portfolio-thumb:last-child { display: none; }

  .reviews-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .review-score {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: var(--space-md);
  }

  .contact-quick {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom .copyright {
    margin-left: 0;
    width: 100%;
    padding-top: 0.625rem;
    border-top: 1px solid rgba(244, 241, 236, 0.06);
  }

  .page-hero--split {
    grid-template-columns: 1fr;
  }

  .page-hero__img {
    order: -1;
    height: 200px;
  }

  /* On mobile the gradient fades the image into the text panel below */
  .page-hero__img::before {
    top: auto;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--ink) 0%, transparent 100%);
  }

  .workshop-intro-grid { grid-template-columns: 1fr; }

  .bio-block { grid-template-columns: 1fr; }
  .bio-photo { max-width: 100%; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .projects-grid { grid-template-columns: 1fr; }

  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-map-sticky { position: static; }

  .guarantee-block { padding-block: var(--space-md); }

  .social-section-header { grid-template-columns: 1fr; gap: var(--space-lg); }

  .social-section-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --space-xl: 2rem; }

  .logo-wordmark__loc { display: none; }

  .gallery-grid { grid-template-columns: 1fr; }

  .portfolio-teaser-grid { grid-template-columns: 1fr; }
  .portfolio-teaser-grid .portfolio-thumb:last-child { display: block; }

  .lightbox__prev { left: 0.75rem; }
  .lightbox__next { right: 0.75rem; }
}


/* 24. Print
   ================================================================ */
@media print {
  .site-header,
  .hero,
  .site-footer,
  .lightbox,
  .nav-toggle,
  .btn,
  #curator-feed {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 11pt;
    line-height: 1.5;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    color: #555;
  }

  .section { padding-block: 2rem; }
}
