/* ── Brand tokens ──────────────────────────────────────────────────────── */
:root {
  --color-cream:      #FAF7F2;
  --color-bark:       #2C1A0E;
  --color-moss:       #3D5A3E;
  --color-gold:       #B8975A;
  --color-gold-light: #D4B483;
  --color-blush:      #E8D5C4;
  --color-sage:       #7A9E7E;
  --font-heading:     'Playfair Display', Georgia, serif;
  --font-body:        'Lato', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-bark);
  line-height: 1.6;
}

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

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--color-blush);
}

.nav__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo { text-decoration: none; display: flex; align-items: center; }
.nav__logo-img {
  height: 3.25rem;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-bark);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--color-bark);
  opacity: 0.7;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: opacity 0.15s;
}
.nav__link:hover { opacity: 1; }
.nav__link--active { opacity: 1; font-weight: 600; border-bottom-color: var(--color-gold); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.btn:hover { opacity: 0.9; box-shadow: 0 2px 12px rgba(44,26,14,0.15); }
.btn--moss { background: var(--color-moss); color: var(--color-cream); }
.btn--gold { background: var(--color-gold); color: var(--color-cream); }
.btn--outline {
  background: transparent;
  border: 2px solid currentColor;
  color: var(--color-bark);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(44,26,14,0.2) 0%, rgba(44,26,14,0.65) 55%, rgba(44,26,14,0.92) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.hero__logo {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto -2.5rem;
  object-fit: contain;
  filter:
    drop-shadow(1px 1px 1px rgba(44,26,14,0.6))
    drop-shadow(-1px -1px 1px rgba(44,26,14,0.6))
    drop-shadow(1px -1px 1px rgba(44,26,14,0.6))
    drop-shadow(-1px 1px 1px rgba(44,26,14,0.6));
}
@media (max-width: 1200px) {
  .hero__logo { margin-bottom: -1rem; }
}
.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  max-width: 38rem;
  text-shadow: 0 2px 12px rgba(44,26,14,0.5);
}
.hero__sub {
  font-size: 1rem;
  color: rgba(250,247,242,0.88);
  max-width: 32rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 6px rgba(44,26,14,0.5);
}

/* ── Section utility ───────────────────────────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section--bark { background: var(--color-bark); }
.section--blush { background: var(--color-blush); }
.container { max-width: 64rem; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 0.9375rem;
  opacity: 0.65;
  max-width: 38rem;
}

/* ── Sitewide announcement banner ──────────────────────────────────────── */
.site-banner {
  background: var(--color-bark);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.site-banner__text { flex: 1; text-align: center; }
.site-banner__close {
  background: none;
  border: none;
  color: inherit;
  opacity: 0.55;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.site-banner__close:hover { opacity: 1; }
.site-banner--hidden { display: none; }

/* ── Featured block (home page) ─────────────────────────────────────────── */
.featured-block {
  background: white;
  border: 1px solid var(--color-blush);
  border-left: 4px solid var(--color-gold);
  border-radius: 0.875rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.featured-block--hidden { display: none; }
.featured-block__body { flex: 1; }
.featured-block__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.featured-block__text { font-size: 0.875rem; opacity: 0.7; line-height: 1.6; }
.featured-block__close {
  background: none;
  border: none;
  opacity: 0.4;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.featured-block__close:hover { opacity: 0.8; }

/* ── Home category cards ────────────────────────────────────────────────── */
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.cat-card {
  flex: 1 1 220px;
  background: white;
  border: 1px solid var(--color-blush);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cat-card:hover {
  box-shadow: 0 8px 32px rgba(44,26,14,0.12);
  transform: translateY(-4px);
}
.cat-card__bar { height: 4px; width: 100%; flex-shrink: 0; }
.cat-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.cat-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.cat-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-bark);
}
.cat-card__desc {
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(44,26,14,0.6);
  flex: 1;
}
.cat-card__cta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.cat-card__arrow { transition: transform 0.2s; display: inline-block; }
.cat-card:hover .cat-card__arrow { transform: translateX(4px); }

/* ── Service cards ─────────────────────────────────────────────────────── */
.service-tabs { margin-bottom: 3rem; }

.tab-bar {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--color-blush);
  overflow-x: auto;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: rgba(44,26,14,0.5);
  text-decoration: none;
  display: block;
}
.tab-btn--active {
  color: var(--color-moss);
  border-bottom-color: var(--color-moss);
  font-weight: 600;
}
.cat-section { display: none; }
.tab-btn { transition: color 0.15s; }

.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  background: white;
  border: 1px solid var(--color-blush);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.15s;
  overflow: hidden;
}
.service-card--has-img {
  flex-direction: row;
  padding: 0;
  gap: 0;
  align-items: stretch;
  height: 160px;
}
.service-card--has-img .service-card__body {
  flex: 1;
  min-width: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}
.service-card--has-img .service-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card__img {
  width: 36%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0 1rem 1rem 0;
}
.service-card:hover { box-shadow: 0 4px 24px rgba(44,26,14,0.08); }

.service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.service-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-bark);
}
.service-card__price {
  font-weight: 700;
  color: var(--color-gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.service-card__desc {
  font-size: 0.875rem;
  color: rgba(44,26,14,0.58);
  line-height: 1.625;
}
.service-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-card__duration {
  font-size: 0.75rem;
  background: var(--color-blush);
  color: var(--color-bark);
  padding: 0.2em 0.7em;
  border-radius: 999px;
}

/* ── Dev notice ─────────────────────────────────────────────────────────── */
.dev-notice {
  background: #fff3cd;
  color: #7d5a00;
  border-bottom: 1px solid #ffe08a;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  text-align: center;
}
.dev-notice code { font-size: 0.75rem; background: rgba(0,0,0,0.06); padding: 0.1em 0.35em; border-radius: 3px; }

/* ── Category hero ─────────────────────────────────────────────────────── */
.page-hero {
  padding: 6rem 1.5rem;
  text-align: center;
  background: var(--color-bark);
}
.page-hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.4);
  margin-bottom: 0.75rem;
}
.page-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}
.page-hero__sub {
  font-size: 0.9375rem;
  color: rgba(250,247,242,0.72);
  max-width: 36rem;
  margin: 0 auto;
}

/* ── CTA strip ─────────────────────────────────────────────────────────── */
.cta {
  background: var(--color-blush);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
}
.cta__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.cta__heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.cta__sub { font-size: 0.875rem; opacity: 0.65; max-width: 28rem; margin: 0 auto 2rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--color-bark);
  color: var(--color-cream);
  padding: 4rem 1.5rem 2rem;
}
.footer__inner {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.footer__detail { font-size: 0.875rem; opacity: 0.65; margin-bottom: 0.25rem; }
.footer__detail a { opacity: 0.8; text-decoration: none; }
.footer__detail a:hover { opacity: 1; text-decoration: underline; }
.footer__hours-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
.footer__days { font-weight: 600; margin-right: 0.5rem; }
.footer__copy {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.3;
  max-width: 64rem;
  margin: 0 auto;
}

/* ── Page transitions (swup CSS animation) ──────────────────────────────────── */
.transition-main {
  transition: opacity 0.15s ease;
}
html.is-animating .transition-main {
  opacity: 0;
}

/* ── Global enhancements (matching e-commerce) ─────────────────────────────── */
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-moss);
  outline-offset: 2px;
}
::selection {
  background-color: var(--color-blush);
  color: var(--color-bark);
}

/* ── Mobile nav ─────────────────────────────────────────────────────────────── */
.nav__toggle {
  display: none;
  padding: 0.5rem;
  margin-right: -0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-bark);
  line-height: 0;
}

@media (max-width: 767px) {
  .nav__toggle { display: block; }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: rgba(250,247,242,0.98);
    border-top: 1px solid var(--color-blush);
    border-bottom: 1px solid var(--color-blush);
    padding: 1rem 1.5rem 1.5rem;
    z-index: 49;
  }
  .nav__links--open { display: flex; }

  .nav__link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-blush);
    font-size: 0.9375rem;
    opacity: 0.7;
    border-right: none;
  }
  .nav__links .btn {
    margin-top: 1rem;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
  }
}

/* ── Scroll fade-in ─────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in--visible {
  opacity: 1;
  transform: none;
}

/* ── Booking flow ───────────────────────────────────────────────────────────── */
/* Booking flow removed - let container handle width */

.booking-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
}
.booking-step-item { display: flex; align-items: center; gap: 0.5rem; }
.booking-step-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--color-blush);
  color: var(--color-bark);
  flex-shrink: 0;
  transition: background 0.2s;
}
.booking-step-dot--active { background: var(--color-moss); color: white; }
.booking-step-dot--done   { background: var(--color-sage); color: white; }
.booking-step-label { opacity: 0.55; display: none; }
@media (min-width: 480px) { .booking-step-label { display: inline; } }
.booking-step-sep {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: rgba(44,26,14,0.2);
  flex-shrink: 0;
}

.booking-step-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-bark);
  margin-bottom: 1.25rem;
}
.booking-step-sub { font-size: 0.875rem; opacity: 0.6; margin-bottom: 1.5rem; }

.booking-back {
  font-size: 0.8rem;
  opacity: 0.4;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  display: block;
  transition: opacity 0.15s;
}
.booking-back:hover { opacity: 0.75; }

.booking-category { margin-bottom: 1.75rem; }
.booking-category-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 0.75rem;
}
.booking-service-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .booking-service-list { grid-template-columns: repeat(2, 1fr); }
}
.booking-service-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid var(--color-blush);
  border-radius: 0.875rem;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: var(--font-body);
}
.booking-service-btn:hover {
  border-color: var(--color-sage);
  box-shadow: 0 2px 16px rgba(44,26,14,0.06);
}
.booking-service-info { flex: 1; min-width: 0; }
.booking-service-name { display: block; font-weight: 600; font-size: 0.9rem; color: var(--color-bark); }
.booking-service-desc { font-size: 0.8rem; opacity: 0.5; margin-top: 0.2rem; line-height: 1.4; }
.booking-service-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem; flex-shrink: 0; }
.booking-service-price { font-size: 0.875rem; font-weight: 700; color: var(--color-gold); }
.booking-service-arrow { font-size: 0.875rem; opacity: 0.25; }

.booking-form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.booking-field { display: flex; flex-direction: column; gap: 0.35rem; }
.booking-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
}
.booking-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-bark);
  background: white;
  border: 1px solid var(--color-blush);
  border-radius: 0.75rem;
  outline: none;
  transition: border-color 0.15s;
}
.booking-input:focus { border-color: var(--color-moss); }
.booking-textarea { resize: none; }

.booking-continue {
  width: 100%;
  padding: 0.875rem;
  font-size: 0.9rem;
  border-radius: 999px;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
}
.booking-continue:disabled { opacity: 0.4; cursor: not-allowed; }

.booking-summary {
  background: var(--color-blush);
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  padding: 0.3rem 0;
}
.booking-deposit { color: var(--color-moss); }

.booking-card-container {
  border: 1px solid var(--color-blush);
  border-radius: 0.875rem;
  padding: 1rem;
  min-height: 6rem;
  margin-bottom: 1rem;
  background: white;
}
.booking-card-loading { font-size: 0.8rem; opacity: 0.4; text-align: center; padding-top: 1rem; }

.booking-error {
  font-size: 0.85rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.booking-secure-note { font-size: 0.75rem; text-align: center; opacity: 0.35; margin-top: 0.75rem; }

.booking-confirmed {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--color-blush);
  border-radius: 1.5rem;
}
.booking-confirmed-icon { font-size: 2.5rem; color: var(--color-moss); margin-bottom: 1rem; }
.booking-confirmed-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-moss);
  margin-bottom: 0.75rem;
}
.booking-confirmed-sub { font-size: 0.875rem; opacity: 0.65; }

.booking-empty {
  text-align: center;
  padding: 4rem 2rem;
  opacity: 0.55;
  font-size: 0.875rem;
}

/* ── About page ─────────────────────────────────────────────────────────────── */
.page-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.page-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-bark);
  opacity: 0.7;
}

.about-split {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-split { grid-template-columns: 1fr 1fr; }
}
.about-img-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.about-img { width: 100%; height: 100%; object-fit: cover; }
.about-rule { width: 2.5rem; height: 2px; background: var(--color-gold); margin-bottom: 1.5rem; }
.about-body { display: flex; flex-direction: column; gap: 1rem; font-size: 0.9375rem; opacity: 0.68; line-height: 1.7; margin-top: 1.5rem; }
.about-accent { color: var(--color-moss); opacity: 1; }

.values-grid {
  display: grid;
  gap: 3rem;
  text-align: center;
}
@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.value-rule { width: 2rem; height: 2px; background: var(--color-gold); }
.value-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-moss);
}
.value-body { font-size: 0.875rem; opacity: 0.65; max-width: 20rem; line-height: 1.6; }

/* ── Gallery page ───────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  border-radius: 0.875rem;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-item--tall { aspect-ratio: 3 / 4; }
.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { font-size: 0.75rem; opacity: 0.55; padding: 0.4rem 0.5rem; text-align: center; }

/* ── Team grid (About page) ─────────────────────────────────────────────────── */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.team-grid[data-count="1"] { justify-content: center; }
.team-grid[data-count="1"] .team-card { flex: 0 1 calc(66.666% - 0.625rem); }
.team-grid[data-count="2"] .team-card { flex: 1 1 calc(50% - 0.625rem); }
.team-grid[data-count="3"] .team-card { flex: 1 1 calc(33.333% - 0.834rem); }

.team-card {
  flex: 1 1 220px;
  background: white;
  border: 1px solid var(--color-blush);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(44,26,14,0.12); transform: translateY(-4px); }
.team-card__bar { height: 4px; width: 100%; flex-shrink: 0; background: var(--color-moss); }
.team-card__photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.team-card__avatar {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 300px;
  background: var(--color-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-moss);
}
.team-card__body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.team-card__name { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-bark); }
.team-card__role { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 0.25rem; }
.team-card__bio { font-size: 0.875rem; color: rgba(44,26,14,0.6); line-height: 1.625; flex: 1; }
.team-card__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.75rem; }
.chip {
  display: inline-block;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--color-blush);
  color: var(--color-bark);
}
