/* ==========================================================================
   JD Nail & Spa — Luxury Editorial Design System
   Full UI redesign (not a skin over the old layout)
   ========================================================================== */

:root {
  /* Brand palette — warm beige + gold (salon preferred) */
  --jd-primary: #B08947;
  --jd-primary-hover: #8F6E38;
  --jd-primary-soft: #F3E9D6;
  --jd-secondary: #2C2419;
  --jd-accent: #D4AF6A;
  --jd-accent-soft: #E8D5A8;
  --jd-gold: #C9A227;
  --jd-gold-bright: #E8C547;
  --jd-champagne: #F5E6C8;

  --jd-bg: #F7F2E9;
  --jd-bg-deep: #EFE6D6;
  --jd-surface: #FFFcf7;
  --jd-surface-2: #FBF6EE;

  --jd-text: #2A2218;
  --jd-text-muted: #6B5E4E;
  --jd-text-inverse: #FFFBF5;
  --jd-border: rgba(42, 34, 24, 0.1);
  --jd-border-strong: rgba(42, 34, 24, 0.18);

  /* Shadows — soft, warm-tinted */
  --jd-shadow-sm: 0 2px 10px rgba(42, 34, 24, 0.05);
  --jd-shadow-md: 0 12px 40px rgba(42, 34, 24, 0.08);
  --jd-shadow-lg: 0 28px 80px rgba(42, 34, 24, 0.13);
  --jd-shadow-glow: 0 16px 48px rgba(176, 137, 71, 0.28);

  /* Radii */
  --jd-radius-xs: 8px;
  --jd-radius-sm: 12px;
  --jd-radius-md: 18px;
  --jd-radius-lg: 28px;
  --jd-radius-xl: 40px;
  --jd-radius-pill: 999px;

  /* Spacing scale */
  --jd-space-1: 0.25rem;
  --jd-space-2: 0.5rem;
  --jd-space-3: 0.75rem;
  --jd-space-4: 1rem;
  --jd-space-5: 1.5rem;
  --jd-space-6: 2rem;
  --jd-space-7: 3rem;
  --jd-space-8: 4.5rem;
  --jd-space-9: 6.5rem;
  --jd-space-10: 8rem;

  /* Typography */
  --jd-font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --jd-font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --jd-fw-regular: 400;
  --jd-fw-medium: 500;
  --jd-fw-semibold: 600;
  --jd-fw-bold: 700;
  --jd-lh-tight: 1.12;
  --jd-lh-snug: 1.25;
  --jd-lh-body: 1.65;
  --jd-tracking-wide: 0.14em;
  --jd-tracking-tight: -0.02em;

  /* Layout */
  --jd-container: 1180px;
  --jd-container-wide: 1360px;
  --jd-gutter: clamp(1.35rem, 5vw, 2rem);
  --jd-header-h: 72px;
  --jd-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --jd-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --jd-duration: 0.55s;

  /* Legacy bridge (keep old scripts from breaking) */
  --primary: var(--jd-primary);
  --text-color: var(--jd-text);
}

/* --------------------------------------------------------------------------
   Reset / Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .jd-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

body.jd-body {
  margin: 0;
  font-family: var(--jd-font-body);
  font-weight: var(--jd-fw-regular);
  font-size: 16px;
  line-height: var(--jd-lh-body);
  color: var(--jd-text);
  background: var(--jd-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

body.jd-body a {
  color: inherit;
  text-decoration: none;
}

body.jd-body button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

body.jd-body ul,
body.jd-body ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.jd-body h1,
body.jd-body h2,
body.jd-body h3,
body.jd-body h4,
body.jd-body h5,
body.jd-body h6 {
  font-family: var(--jd-font-display);
  font-weight: 500;
  line-height: var(--jd-lh-tight);
  letter-spacing: var(--jd-tracking-tight);
  color: var(--jd-text);
  margin: 0;
}

/* Hide legacy preloader chrome if still present */
.preloader { display: none !important; }

/*
 * CRITICAL: theme style.css sets `.page { opacity: 0 }` until pageTransition
 * runs with a preloader. Redesigned pages have no preloader, so without this
 * override the whole site stays invisible (blank white).
 */
body.jd-body .page {
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible;
  min-height: 100dvh;
  background: transparent;
}

/* --------------------------------------------------------------------------
   Utilities — containers always keep horizontal padding (never edge-flush)
   -------------------------------------------------------------------------- */
.jd-container,
.jd-container-wide,
body.jd-body .container {
  width: min(100%, var(--jd-container));
  max-width: 100%;
  margin-inline: auto;
  padding-left: max(var(--jd-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--jd-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.jd-container-wide {
  width: min(100%, var(--jd-container-wide));
}

@media (max-width: 767.98px) {
  .jd-container,
  .jd-container-wide,
  body.jd-body .container {
    width: 100%;
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  }
}

.jd-section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
  position: relative;
}

.jd-section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.jd-section--deep {
  background: var(--jd-bg-deep);
}

.jd-section--surface {
  background: var(--jd-surface);
}

.jd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--jd-font-body);
  font-size: 0.72rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: var(--jd-tracking-wide);
  text-transform: uppercase;
  color: var(--jd-primary);
  margin-bottom: 1rem;
}

.jd-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--jd-accent);
}

.jd-display {
  font-family: var(--jd-font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.jd-display em,
.jd-display i {
  font-style: italic;
  color: var(--jd-primary);
  font-weight: 400;
}

.jd-lead {
  font-size: 1.05rem;
  color: var(--jd-text-muted);
  max-width: 38ch;
  line-height: 1.7;
}

.jd-text-muted {
  color: var(--jd-text-muted);
}

/* Buttons — pill + nested icon */
.jd-btn {
  --btn-bg: linear-gradient(135deg, #C9A227 0%, #B08947 48%, #8F6E38 100%);
  --btn-fg: var(--jd-text-inverse);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem 0.85rem 1.35rem;
  border-radius: var(--jd-radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg) !important;
  border: 1px solid var(--btn-border);
  font-family: var(--jd-font-body);
  font-size: 0.88rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--jd-duration) var(--jd-ease),
    background 0.35s var(--jd-ease),
    box-shadow 0.45s var(--jd-ease),
    border-color 0.35s var(--jd-ease),
    filter 0.35s var(--jd-ease);
  box-shadow: var(--jd-shadow-glow);
}

.jd-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.jd-btn:active {
  transform: scale(0.98);
}

.jd-btn__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.45s var(--jd-ease);
  flex-shrink: 0;
}

.jd-btn:hover .jd-btn__icon {
  transform: translate(2px, -1px) scale(1.05);
}

.jd-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--jd-text);
  --btn-border: rgba(176, 137, 71, 0.4);
  box-shadow: none;
  filter: none;
}

.jd-btn--ghost:hover {
  --btn-bg: var(--jd-surface);
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-sm);
  filter: none;
}

.jd-btn--ghost .jd-btn__icon {
  background: var(--jd-primary-soft);
  color: var(--jd-primary);
}

.jd-btn--light {
  --btn-bg: var(--jd-surface);
  --btn-fg: var(--jd-primary);
  box-shadow: var(--jd-shadow-md);
}

.jd-btn--light:hover {
  background: var(--jd-primary-soft);
}

.jd-btn--sm {
  padding: 0.65rem 0.7rem 0.65rem 1.1rem;
  font-size: 0.8rem;
}

.jd-btn--sm .jd-btn__icon {
  width: 1.65rem;
  height: 1.65rem;
}

.jd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Double-bezel shell */
.jd-shell {
  padding: 6px;
  border-radius: calc(var(--jd-radius-lg) + 4px);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--jd-border);
  box-shadow: var(--jd-shadow-sm);
}

.jd-shell__core {
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  background: var(--jd-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Media zoom on hover */
.jd-media {
  overflow: hidden;
  position: relative;
}

.jd-media img,
.jd-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--jd-ease-out);
}

.jd-media:hover img,
.jd-media:hover video {
  transform: scale(1.05);
}

/* Reveal on scroll */
.jd-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.8s var(--jd-ease-out),
    transform 0.8s var(--jd-ease-out),
    filter 0.8s var(--jd-ease-out);
}

.jd-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Hero must paint immediately (no wait for IntersectionObserver / JS) */
.jd-hero .jd-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Safety net if JS fails to mark reveals */
@supports (animation-timeline: view()) {
  /* modern browsers keep scroll-driven option free */
}
html.js-failed .jd-reveal,
html:not(.js) .jd-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.jd-reveal-delay-1 { transition-delay: 0.08s; }
.jd-reveal-delay-2 { transition-delay: 0.16s; }
.jd-reveal-delay-3 { transition-delay: 0.24s; }
.jd-reveal-delay-4 { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   Header — floating island
   -------------------------------------------------------------------------- */
.jd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100; /* above drawer backdrop so toggle can still close */
  padding: 0.9rem var(--jd-gutter) 0;
  pointer-events: none;
  transition: padding 0.45s var(--jd-ease);
}

.jd-header.is-scrolled {
  padding-top: 0.55rem;
}

.jd-header__bar {
  pointer-events: auto;
  width: min(100%, var(--jd-container-wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 0.45rem 0.55rem 0.45rem 1.1rem;
  border-radius: var(--jd-radius-pill);
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(201, 162, 39, 0.22);
  box-shadow: var(--jd-shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background 0.4s var(--jd-ease), box-shadow 0.4s var(--jd-ease);
}

.jd-header.is-scrolled .jd-header__bar {
  background: rgba(255, 252, 247, 0.94);
  box-shadow: var(--jd-shadow-lg), 0 0 24px rgba(176, 137, 71, 0.1);
}

.jd-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
}

/* Circular monogram icon only (crown + JD from 1.jpg — no text) */
.jd-logo img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(176, 137, 71, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 252, 247, 0.95);
  flex-shrink: 0;
  padding: 3px;
  box-sizing: border-box;
}

.jd-logo__text {
  font-family: var(--jd-font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline; /* restore wordmark next to icon */
}

.jd-logo__text span {
  color: var(--jd-primary);
  font-style: italic;
}

@media (max-width: 1024px) {
  .jd-logo img {
    width: 44px;
    height: 44px;
  }

  .jd-logo__text {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .jd-logo {
    gap: 0.45rem;
    max-width: calc(100% - 52px);
  }

  .jd-logo img {
    width: 40px;
    height: 40px;
  }

  .jd-logo__text {
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.jd-nav {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
}

.jd-nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-weight: var(--jd-fw-medium);
  color: var(--jd-text-muted);
  border-radius: var(--jd-radius-pill);
  transition: color 0.3s var(--jd-ease), background 0.3s var(--jd-ease);
  white-space: nowrap;
}

.jd-nav a:hover,
.jd-nav a.is-active {
  color: var(--jd-text);
  background: rgba(176, 137, 71, 0.1);
}

.jd-header__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jd-header__social {
  display: none;
}

.jd-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--jd-primary-soft);
  color: var(--jd-primary);
  position: relative;
  z-index: 1102;
  flex-shrink: 0;
}

.jd-menu-toggle span,
.jd-menu-toggle span::before,
.jd-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--jd-ease), opacity 0.3s, background 0.3s;
  position: relative;
}

.jd-menu-toggle span::before,
.jd-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.jd-menu-toggle span::before { top: -6px; }
.jd-menu-toggle span::after { top: 6px; }

.jd-menu-toggle.is-open {
  background: var(--jd-primary);
  color: #fff;
}

.jd-menu-toggle.is-open span {
  background: transparent;
}

.jd-menu-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
  background: #fff;
}

.jd-menu-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
  background: #fff;
}

/* Mobile drawer */
.jd-drawer {
  position: fixed;
  inset: 0;
  z-index: 1050;
  pointer-events: none;
  visibility: hidden;
}

.jd-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.jd-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 34, 24, 0.5);
  opacity: 0;
  transition: opacity 0.4s var(--jd-ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.jd-drawer.is-open .jd-drawer__backdrop {
  opacity: 1;
}

.jd-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100%;
  max-height: 100dvh;
  background: var(--jd-surface);
  padding: 0 1.5rem 2rem;
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  transition: transform 0.5s var(--jd-ease);
  box-shadow: var(--jd-shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
}

.jd-drawer.is-open .jd-drawer__panel {
  transform: none;
}

/* Top bar inside drawer: title + Close (X) */
.jd-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(176, 137, 71, 0.18);
  position: sticky;
  top: 0;
  background: var(--jd-surface);
  z-index: 2;
}

.jd-drawer__head-title {
  font-family: var(--jd-font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--jd-text);
  letter-spacing: -0.01em;
}

.jd-drawer__head-title span {
  color: var(--jd-primary);
  font-style: italic;
}

.jd-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--jd-radius-pill);
  border: 1px solid rgba(176, 137, 71, 0.35);
  background: var(--jd-primary-soft);
  color: var(--jd-secondary);
  font-family: var(--jd-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s var(--jd-ease), color 0.3s, transform 0.3s;
}

.jd-drawer__close:hover,
.jd-drawer__close:focus-visible {
  background: var(--jd-primary);
  color: #fff;
  border-color: var(--jd-primary);
  outline: none;
}

.jd-drawer__close:active {
  transform: scale(0.97);
}

.jd-drawer__close-x {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
}

.jd-drawer__close-x::before,
.jd-drawer__close-x::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.jd-drawer__close-x::before {
  transform: translateY(-50%) rotate(45deg);
}

.jd-drawer__close-x::after {
  transform: translateY(-50%) rotate(-45deg);
}

.jd-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.jd-drawer__panel .jd-drawer__nav > a,
.jd-drawer__panel > a[data-nav] {
  font-family: var(--jd-font-display);
  font-size: 1.85rem;
  padding: 0.55rem 0;
  color: var(--jd-text);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--jd-ease-out), transform 0.45s var(--jd-ease-out);
}

.jd-drawer.is-open .jd-drawer__panel .jd-drawer__nav > a,
.jd-drawer.is-open .jd-drawer__panel > a[data-nav] {
  opacity: 1;
  transform: none;
}

.jd-drawer.is-open .jd-drawer__nav > a:nth-child(1),
.jd-drawer.is-open .jd-drawer__panel > a[data-nav]:nth-of-type(1) { transition-delay: 0.08s; }
.jd-drawer.is-open .jd-drawer__nav > a:nth-child(2),
.jd-drawer.is-open .jd-drawer__panel > a[data-nav]:nth-of-type(2) { transition-delay: 0.12s; }
.jd-drawer.is-open .jd-drawer__nav > a:nth-child(3),
.jd-drawer.is-open .jd-drawer__panel > a[data-nav]:nth-of-type(3) { transition-delay: 0.16s; }
.jd-drawer.is-open .jd-drawer__nav > a:nth-child(4),
.jd-drawer.is-open .jd-drawer__panel > a[data-nav]:nth-of-type(4) { transition-delay: 0.2s; }
.jd-drawer.is-open .jd-drawer__nav > a:nth-child(5),
.jd-drawer.is-open .jd-drawer__panel > a[data-nav]:nth-of-type(5) { transition-delay: 0.24s; }
.jd-drawer.is-open .jd-drawer__nav > a:nth-child(6),
.jd-drawer.is-open .jd-drawer__panel > a[data-nav]:nth-of-type(6) { transition-delay: 0.28s; }

.jd-drawer__meta {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--jd-border);
  font-size: 0.9rem;
  color: var(--jd-text-muted);
}

.jd-drawer__meta a {
  font-family: var(--jd-font-body);
  font-size: 1rem;
  opacity: 1 !important;
  transform: none !important;
  color: var(--jd-primary);
}

/* Close button never uses nav link styles */
.jd-drawer__close {
  opacity: 1 !important;
  transform: none !important;
  font-family: var(--jd-font-body) !important;
  font-size: 0.78rem !important;
  padding: 0.45rem 0.85rem !important;
}

@media (max-width: 1024px) {
  .jd-nav,
  .jd-header__cta .jd-btn {
    display: none;
  }
  .jd-menu-toggle {
    display: inline-flex;
  }
  .jd-header__bar {
    grid-template-columns: 1fr auto;
    padding-right: 0.45rem;
  }
}

/* --------------------------------------------------------------------------
   Hero — asymmetric editorial split
   -------------------------------------------------------------------------- */
.jd-hero {
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--jd-header-h) + 1.5rem) 0 0;
  background:
    radial-gradient(ellipse 65% 55% at 88% 18%, rgba(212, 175, 106, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 45% at 8% 78%, rgba(176, 137, 71, 0.12), transparent 52%),
    radial-gradient(ellipse 40% 30% at 40% 0%, rgba(245, 230, 200, 0.55), transparent 60%),
    var(--jd-bg);
  overflow: hidden;
  position: relative;
}

/* Soft gold decorative orbs */
.jd-hero::before,
.jd-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.jd-hero::before {
  width: 420px;
  height: 420px;
  top: 12%;
  right: -6%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.22) 0%, transparent 68%);
  filter: blur(8px);
}

.jd-hero::after {
  width: 280px;
  height: 280px;
  bottom: 8%;
  left: -4%;
  background: radial-gradient(circle, rgba(176, 137, 71, 0.16) 0%, transparent 70%);
  filter: blur(6px);
}

.jd-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: min(100% - (var(--jd-gutter) * 2), var(--jd-container-wide));
  margin-inline: auto;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.jd-hero__copy {
  padding-block: 1rem 2rem;
}

.jd-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border-radius: var(--jd-radius-pill);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.95), rgba(243, 233, 214, 0.9));
  border: 1px solid rgba(176, 137, 71, 0.28);
  box-shadow: 0 6px 20px rgba(176, 137, 71, 0.12);
  font-size: 0.72rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jd-secondary);
}

.jd-hero__kicker-dot {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--jd-gold-bright), var(--jd-primary));
  color: #fff;
  font-size: 0.65rem;
  box-shadow: 0 2px 8px rgba(176, 137, 71, 0.35);
}

.jd-hero__title {
  font-size: clamp(2.75rem, 6.2vw, 5rem);
  margin-bottom: 1.15rem;
  max-width: 12ch;
}

.jd-hero__title em {
  position: relative;
  font-style: italic;
  background: linear-gradient(120deg, var(--jd-primary) 0%, var(--jd-gold-bright) 55%, var(--jd-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .jd-hero__title em {
    animation: jd-gold-shimmer 5s ease-in-out infinite;
  }
}

@keyframes jd-gold-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.jd-hero__sub {
  font-size: 1.05rem;
  color: var(--jd-text-muted);
  max-width: 34ch;
  margin-bottom: 1.25rem;
}

/* Highlight chips under hero sub */
.jd-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.jd-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--jd-radius-pill);
  background: var(--jd-surface);
  border: 1px solid rgba(176, 137, 71, 0.22);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jd-secondary);
  box-shadow: var(--jd-shadow-sm);
}

.jd-hero__chip svg {
  width: 14px;
  height: 14px;
  color: var(--jd-primary);
  flex-shrink: 0;
}

.jd-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding: 1.15rem 1.1rem;
  border-radius: var(--jd-radius-md);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(243, 233, 214, 0.55));
  border: 1px solid rgba(176, 137, 71, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--jd-shadow-sm);
}

.jd-hero__meta-item h5 {
  font-family: var(--jd-font-body);
  font-size: 0.68rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jd-primary);
  margin-bottom: 0.45rem;
}

.jd-hero__meta-item p,
.jd-hero__meta-item a {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--jd-text);
}

.jd-hero__visual {
  position: relative;
  min-height: clamp(360px, 62vh, 640px);
}

/* Gold double-frame glow behind media */
.jd-hero__glow {
  position: absolute;
  inset: -2% 2% 4% 4%;
  border-radius: calc(var(--jd-radius-xl) + 8px);
  background:
    linear-gradient(145deg, rgba(232, 197, 71, 0.45), rgba(176, 137, 71, 0.15) 45%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.jd-hero__ring {
  position: absolute;
  inset: 2% 6% 12% 2%;
  border-radius: var(--jd-radius-xl);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow:
    0 0 0 6px rgba(255, 252, 247, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  z-index: 1;
  pointer-events: none;
}

.jd-hero__frame {
  position: absolute;
  inset: 0 0 8% 8%;
  border-radius: var(--jd-radius-xl);
  overflow: hidden;
  box-shadow:
    var(--jd-shadow-lg),
    0 0 0 1px rgba(201, 162, 39, 0.35),
    0 20px 50px rgba(176, 137, 71, 0.2);
  z-index: 1;
}

.jd-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(42, 34, 24, 0.35) 100%),
    linear-gradient(135deg, rgba(232, 197, 71, 0.12) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Corner gold accents on main frame */
.jd-hero__frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 48px;
  height: 48px;
  border-top: 2px solid var(--jd-gold-bright);
  border-left: 2px solid var(--jd-gold-bright);
  border-radius: 4px 0 0 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
}

.jd-hero__corner {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border-bottom: 2px solid var(--jd-gold-bright);
  border-right: 2px solid var(--jd-gold-bright);
  border-radius: 0 0 4px 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.9;
}

.jd-hero__frame img,
.jd-hero__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jd-hero__caption {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 3;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jd-hero__caption::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--jd-gold-bright);
}

.jd-hero__float {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(48%, 220px);
  aspect-ratio: 4/5;
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  border: 3px solid var(--jd-gold);
  box-shadow:
    0 0 0 4px var(--jd-bg),
    var(--jd-shadow-md),
    0 12px 32px rgba(176, 137, 71, 0.25);
  z-index: 2;
}

.jd-hero__float::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42, 34, 24, 0.4));
  pointer-events: none;
}

.jd-hero__float-label {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.jd-hero__badge {
  position: absolute;
  top: 8%;
  left: -4%;
  z-index: 3;
  background: linear-gradient(160deg, #FFFcf7 0%, #F3E9D6 100%);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--jd-radius-md);
  padding: 0.95rem 1.05rem;
  box-shadow:
    var(--jd-shadow-md),
    0 8px 24px rgba(176, 137, 71, 0.2);
  max-width: 168px;
}

.jd-hero__badge-stars {
  color: var(--jd-gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.jd-hero__badge strong {
  display: block;
  font-family: var(--jd-font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--jd-primary);
  line-height: 1;
  background: linear-gradient(120deg, var(--jd-primary), var(--jd-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.jd-hero__badge span {
  font-size: 0.72rem;
  color: var(--jd-text-muted);
}

@media (max-width: 900px) {
  .jd-hero {
    min-height: auto;
    padding-top: calc(var(--jd-header-h) + 0.5rem);
  }
  .jd-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .jd-hero__title {
    max-width: none;
  }
  .jd-hero__meta {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .jd-hero__visual {
    min-height: 420px;
    order: -1;
  }
  .jd-hero__frame {
    inset: 0 0 12% 0;
  }
  .jd-hero__ring {
    inset: 2% 2% 14% 2%;
  }
  .jd-hero__float {
    width: 38%;
    left: auto;
    right: 4%;
  }
  .jd-hero__badge {
    left: 4%;
    top: auto;
    bottom: 2%;
  }
  .jd-hero__caption {
    font-size: 0.68rem;
  }
}

/* --------------------------------------------------------------------------
   Promo strip
   -------------------------------------------------------------------------- */
.jd-promo {
  background: var(--jd-secondary);
  color: var(--jd-text-inverse);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.jd-promo .jd-display,
.jd-promo h2,
.jd-promo h3,
.jd-promo h4,
.jd-promo p {
  color: var(--jd-text-inverse);
}

.jd-promo .promotion-text-color {
  color: var(--jd-text-inverse) !important;
}

.jd-promo__head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.jd-promo__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.jd-promo swiper-container,
.jd-promo .promotionSwiper {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

.jd-promo .promotion-content {
  text-align: center;
  padding: 0.5rem 1rem 1rem;
}

.jd-promo a {
  display: inline-block;
  margin-top: 0.75rem;
  opacity: 0.7;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   About — overlapping motion collage (landscape studio photos)
   -------------------------------------------------------------------------- */
.jd-about {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 70% 55% at 12% 40%, rgba(212, 175, 106, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 88% 70%, rgba(176, 137, 71, 0.1), transparent 55%),
    var(--jd-bg);
}

.jd-about__glow {
  position: absolute;
  inset: auto auto 8% -8%;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.22), transparent 68%);
  pointer-events: none;
  filter: blur(8px);
  animation: jd-about-glow-pulse 8s ease-in-out infinite;
}

.jd-about__layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.25rem, 5vw, 4.75rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Collage stage */
.jd-about__gallery {
  position: relative;
  min-height: clamp(380px, 48vw, 560px);
  isolation: isolate;
}

.jd-about__orbit {
  position: absolute;
  inset: 6% 8% 10% 4%;
  border: 1px solid rgba(176, 137, 71, 0.28);
  border-radius: 48% 52% 46% 54% / 52% 44% 56% 48%;
  pointer-events: none;
  z-index: 0;
  animation: jd-about-orbit 18s linear infinite;
}

.jd-about__spark {
  position: absolute;
  top: 8%;
  right: 10%;
  z-index: 4;
  color: var(--jd-primary);
  font-size: 1.1rem;
  opacity: 0.75;
  animation: jd-about-spark 3.5s ease-in-out infinite;
}

.jd-about__frame {
  --about-py: 0px;
  position: absolute;
  margin: 0;
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  background: var(--jd-surface);
  border: 1px solid rgba(176, 137, 71, 0.22);
  box-shadow: var(--jd-shadow-lg);
  will-change: transform;
  transition: box-shadow 0.45s var(--jd-ease-out), border-color 0.45s ease, opacity 0.8s var(--jd-ease-out);
  /* Explicit box size — avoid zero-height collapse on mobile */
  aspect-ratio: 16 / 10;
  height: auto;
}

.jd-about__frame:hover {
  box-shadow: var(--jd-shadow-glow), var(--jd-shadow-lg);
  border-color: rgba(176, 137, 71, 0.45);
  z-index: 5;
}

.jd-about__frame-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

/* Beat body.jd-body img { height:auto } which collapses cover images */
body.jd-body .jd-about__frame img,
.jd-about__frame img {
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);
  transition: transform 1.1s var(--jd-ease-out);
  animation: jd-about-kenburns 14s ease-in-out infinite alternate;
}

.jd-about__frame:hover img {
  transform: scale(1.12);
  animation-play-state: paused;
}

.jd-about__frame--main {
  top: 10%;
  left: 0;
  width: 72%;
  z-index: 2;
  animation: jd-about-float-a 7s ease-in-out infinite;
}

.jd-about__frame--top {
  top: 0;
  right: 0;
  width: 48%;
  z-index: 3;
  border-radius: var(--jd-radius-md);
  transform: rotate(3.5deg);
  animation: jd-about-float-b 8.5s ease-in-out infinite;
}

.jd-about__frame--bot {
  bottom: 2%;
  right: 6%;
  width: 46%;
  z-index: 3;
  border-radius: var(--jd-radius-md);
  transform: rotate(-2.5deg);
  animation: jd-about-float-c 9s ease-in-out infinite;
}

.jd-about__caption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: var(--jd-radius-pill);
  background: rgba(42, 34, 24, 0.55);
  backdrop-filter: blur(8px);
  color: #fffbf5;
  font-size: 0.68rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jd-about__float-badge {
  position: absolute;
  left: 4%;
  bottom: 8%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--jd-radius-md);
  background: linear-gradient(145deg, #fffdf8 0%, #f5e9d4 100%);
  border: 1px solid rgba(176, 137, 71, 0.35);
  box-shadow: var(--jd-shadow-md);
  animation: jd-about-badge 6s ease-in-out infinite;
}

.jd-about__float-badge strong {
  font-family: var(--jd-font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--jd-primary);
  line-height: 1;
}

.jd-about__float-badge span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-text-muted);
}

/* Copy */
.jd-about__copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 1.15rem;
}

.jd-about__copy h2 em {
  font-style: italic;
  color: var(--jd-primary);
  font-weight: 500;
}

.jd-about__copy p {
  color: var(--jd-text-muted);
  margin: 0 0 1rem;
  max-width: 42ch;
}

.jd-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--jd-border);
}

.jd-about__stat strong {
  display: block;
  font-family: var(--jd-font-display);
  font-size: 2rem;
  color: var(--jd-primary);
  font-weight: 500;
  line-height: 1;
}

.jd-about__stat span {
  font-size: 0.78rem;
  color: var(--jd-text-muted);
}

/* Entrance when revealed — frames stay paintable (no permanent opacity:0 trap) */
.jd-about__gallery.jd-reveal:not(.is-visible) .jd-about__frame--main {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
}
.jd-about__gallery.jd-reveal:not(.is-visible) .jd-about__frame--top {
  opacity: 0;
  transform: translate(24px, -18px) rotate(3.5deg) scale(0.94);
}
.jd-about__gallery.jd-reveal:not(.is-visible) .jd-about__frame--bot {
  opacity: 0;
  transform: translate(18px, 22px) rotate(-2.5deg) scale(0.94);
}
.jd-about__gallery.jd-reveal:not(.is-visible) .jd-about__float-badge {
  opacity: 0;
  transform: translateY(16px);
}

.jd-about__gallery.jd-reveal.is-visible .jd-about__frame--main,
.jd-about__gallery.jd-reveal.is-visible .jd-about__frame--top,
.jd-about__gallery.jd-reveal.is-visible .jd-about__frame--bot,
.jd-about__gallery.jd-reveal.is-visible .jd-about__float-badge {
  opacity: 1;
}

.jd-about__gallery.jd-reveal.is-visible .jd-about__frame--main {
  transform: translate3d(0, var(--about-py, 0px), 0) scale(1);
  animation: jd-about-float-a 7s ease-in-out infinite;
}
.jd-about__gallery.jd-reveal.is-visible .jd-about__frame--top {
  transform: rotate(3.5deg) translate3d(0, var(--about-py, 0px), 0);
  animation: jd-about-float-b 8.5s ease-in-out infinite;
}
.jd-about__gallery.jd-reveal.is-visible .jd-about__frame--bot {
  transform: rotate(-2.5deg) translate3d(0, var(--about-py, 0px), 0);
  animation: jd-about-float-c 9s ease-in-out infinite;
}
.jd-about__gallery.jd-reveal.is-visible .jd-about__float-badge {
  transform: translateY(0);
  animation: jd-about-badge 6s ease-in-out infinite;
}

/* Keyframes — include --about-py so scroll parallax + float combine */
@keyframes jd-about-float-a {
  0%, 100% { transform: translate3d(0, var(--about-py, 0px), 0); }
  50% { transform: translate3d(0, calc(var(--about-py, 0px) - 10px), 0); }
}
@keyframes jd-about-float-b {
  0%, 100% { transform: rotate(3.5deg) translate3d(0, var(--about-py, 0px), 0); }
  50% { transform: rotate(3.5deg) translate3d(0, calc(var(--about-py, 0px) - 14px), 0); }
}
@keyframes jd-about-float-c {
  0%, 100% { transform: rotate(-2.5deg) translate3d(0, var(--about-py, 0px), 0); }
  50% { transform: rotate(-2.5deg) translate3d(0, calc(var(--about-py, 0px) + 12px), 0); }
}
@keyframes jd-about-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes jd-about-kenburns {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, 1%); }
}
@keyframes jd-about-orbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes jd-about-spark {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}
@keyframes jd-about-glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Mobile-tuned motion (lighter than desktop collage floats) */
@keyframes jd-about-float-mobile-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}
@keyframes jd-about-float-mobile-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.75deg); }
  50% { transform: translate3d(0, -9px, 0) rotate(-1.75deg); }
}
@keyframes jd-about-float-mobile-c {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1.75deg); }
  50% { transform: translate3d(0, 7px, 0) rotate(1.75deg); }
}
@keyframes jd-about-kenburns-mobile {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.2%, 0.8%); }
}
@keyframes jd-about-badge-mobile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 900px) {
  .jd-about__layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  /*
   * Mobile: CSS grid collage (reliable sizing) + restored motion
   * Entrance via opacity/transform transition; loop via single animation each.
   */
  .jd-about__gallery {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    gap: 0.65rem;
    min-height: 0;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
    overflow: visible;
  }

  .jd-about__orbit {
    display: none;
  }

  .jd-about__spark {
    display: block;
    top: -0.15rem;
    right: 0.35rem;
    z-index: 6;
    animation: jd-about-spark 3.2s ease-in-out infinite;
  }

  .jd-about__frame {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none;
    margin: 0;
    /* padding-top aspect lock — works even if aspect-ratio fails */
    height: 0 !important;
    padding-top: 62.5%; /* 16:10 */
    aspect-ratio: auto;
    min-height: 0;
    will-change: transform, opacity;
    opacity: 0;
    transition:
      opacity 0.65s var(--jd-ease-out),
      transform 0.7s var(--jd-ease-out),
      box-shadow 0.45s ease;
  }

  .jd-about__frame--main {
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 1;
    border-radius: var(--jd-radius-md);
    padding-top: 56%;
    transform: translate3d(0, 18px, 0) scale(0.97);
  }

  .jd-about__frame--top {
    grid-column: 1;
    grid-row: 2;
    z-index: 2;
    border-radius: var(--jd-radius-sm);
    transform: translate3d(-12px, 14px, 0) rotate(-1.75deg) scale(0.96);
    transition-delay: 0.08s;
  }

  .jd-about__frame--bot {
    grid-column: 2;
    grid-row: 2;
    z-index: 2;
    border-radius: var(--jd-radius-sm);
    transform: translate3d(12px, 14px, 0) rotate(1.75deg) scale(0.96);
    transition-delay: 0.16s;
  }

  .jd-about__frame-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
  }

  /* Ken Burns on photos — independent of frame float */
  body.jd-body .jd-about__frame img,
  .jd-about__frame img {
    transform: scale(1.05);
    animation: jd-about-kenburns-mobile 12s ease-in-out infinite alternate;
  }

  .jd-about__float-badge {
    position: absolute;
    left: 0.65rem;
    bottom: auto;
    top: 0.65rem;
    z-index: 5;
    opacity: 0;
    transform: translateY(-8px) scale(0.94);
    transition: opacity 0.55s var(--jd-ease-out) 0.22s, transform 0.55s var(--jd-ease-out) 0.22s;
  }

  /* Revealed: settle in, then continuous float (one animation = no transform fight) */
  .jd-about__gallery.jd-reveal.is-visible .jd-about__frame--main,
  .jd-about__gallery.is-visible .jd-about__frame--main {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    animation: jd-about-float-mobile-a 6.5s ease-in-out 0.65s infinite;
  }

  .jd-about__gallery.jd-reveal.is-visible .jd-about__frame--top,
  .jd-about__gallery.is-visible .jd-about__frame--top {
    opacity: 1;
    transform: rotate(-1.75deg) scale(1);
    animation: jd-about-float-mobile-b 7.5s ease-in-out 0.75s infinite;
  }

  .jd-about__gallery.jd-reveal.is-visible .jd-about__frame--bot,
  .jd-about__gallery.is-visible .jd-about__frame--bot {
    opacity: 1;
    transform: rotate(1.75deg) scale(1);
    animation: jd-about-float-mobile-c 8s ease-in-out 0.85s infinite;
  }

  .jd-about__gallery.jd-reveal.is-visible .jd-about__float-badge,
  .jd-about__gallery.is-visible .jd-about__float-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: jd-about-badge-mobile 5.5s ease-in-out 0.9s infinite;
  }

  .jd-about__copy {
    text-align: left;
  }

  .jd-about__copy p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .jd-about__gallery {
    gap: 0.5rem;
  }

  .jd-about__float-badge {
    left: 0.5rem;
    top: 0.5rem;
    padding: 0.55rem 0.75rem;
  }

  .jd-about__float-badge strong {
    font-size: 1.25rem;
  }

  .jd-about__caption {
    left: 0.55rem;
    bottom: 0.55rem;
    font-size: 0.62rem;
    padding: 0.28rem 0.6rem;
  }

  .jd-about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }

  .jd-about__stat strong {
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jd-about__glow,
  .jd-about__orbit,
  .jd-about__spark,
  .jd-about__frame,
  .jd-about__frame img,
  .jd-about__float-badge,
  .jd-about__gallery.jd-reveal.is-visible .jd-about__frame--main,
  .jd-about__gallery.jd-reveal.is-visible .jd-about__frame--top,
  .jd-about__gallery.jd-reveal.is-visible .jd-about__frame--bot,
  .jd-about__gallery.jd-reveal.is-visible .jd-about__float-badge,
  .jd-about__gallery.is-visible .jd-about__frame--main,
  .jd-about__gallery.is-visible .jd-about__frame--top,
  .jd-about__gallery.is-visible .jd-about__frame--bot,
  .jd-about__gallery.is-visible .jd-about__float-badge,
  .jd-about__gallery.jd-reveal:not(.is-visible) .jd-about__frame--main,
  .jd-about__gallery.jd-reveal:not(.is-visible) .jd-about__frame--top,
  .jd-about__gallery.jd-reveal:not(.is-visible) .jd-about__frame--bot,
  .jd-about__gallery.jd-reveal:not(.is-visible) .jd-about__float-badge {
    animation: none !important;
  }

  .jd-about__gallery .jd-about__frame--main,
  .jd-about__gallery .jd-about__frame--top,
  .jd-about__gallery .jd-about__frame--bot,
  .jd-about__gallery .jd-about__float-badge,
  .jd-about__gallery.jd-reveal .jd-about__frame--main,
  .jd-about__gallery.jd-reveal .jd-about__frame--top,
  .jd-about__gallery.jd-reveal .jd-about__frame--bot,
  .jd-about__gallery.jd-reveal .jd-about__float-badge {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  body.jd-body .jd-about__frame img,
  .jd-about__frame img {
    transform: none !important;
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Overview — copy left, motion gallery right
   -------------------------------------------------------------------------- */
.jd-overview {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg, var(--jd-surface) 0%, var(--jd-bg) 55%, var(--jd-surface-2) 100%);
}

.jd-overview__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 88% 35%, rgba(212, 175, 106, 0.14), transparent 62%),
    radial-gradient(ellipse 40% 40% at 8% 80%, rgba(176, 137, 71, 0.08), transparent 55%);
}

.jd-overview__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.25rem, 5vw, 4.75rem);
  align-items: center;
}

.jd-overview__copy h2 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  margin-bottom: 1.15rem;
}

.jd-overview__copy h2 em {
  font-style: italic;
  color: var(--jd-primary);
  font-weight: 500;
}

.jd-overview__copy > p {
  color: var(--jd-text-muted);
  margin: 0 0 1rem;
  max-width: 46ch;
}

.jd-overview__points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jd-overview__point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1.05rem;
  border-radius: var(--jd-radius-md);
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid rgba(176, 137, 71, 0.14);
  box-shadow: var(--jd-shadow-sm);
  transition: transform 0.4s var(--jd-ease-out), border-color 0.35s ease, box-shadow 0.4s ease;
}

.jd-overview__point:hover {
  transform: translateX(6px);
  border-color: rgba(176, 137, 71, 0.32);
  box-shadow: var(--jd-shadow-md);
}

.jd-overview__point-num {
  font-family: var(--jd-font-display);
  font-size: 1.15rem;
  color: var(--jd-primary);
  line-height: 1.2;
  min-width: 1.6rem;
}

.jd-overview__point h3 {
  margin: 0 0 0.25rem;
  font-family: var(--jd-font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--jd-text);
}

.jd-overview__point p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--jd-text-muted);
}

/* Right gallery — stacked editorial */
.jd-overview__gallery {
  position: relative;
  min-height: clamp(400px, 50vw, 560px);
  isolation: isolate;
}

.jd-overview__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 480px);
  height: min(92%, 480px);
  border: 1px dashed rgba(176, 137, 71, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: jd-overview-ring 22s linear infinite;
}

.jd-overview__dot {
  position: absolute;
  top: 12%;
  left: 8%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--jd-primary);
  opacity: 0.55;
  z-index: 4;
  animation: jd-overview-dot 3.2s ease-in-out infinite;
}

.jd-overview__frame {
  --overview-py: 0px;
  position: absolute;
  margin: 0;
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  background: var(--jd-surface);
  border: 1px solid rgba(176, 137, 71, 0.2);
  box-shadow: var(--jd-shadow-lg);
  will-change: transform;
  transition: box-shadow 0.45s var(--jd-ease-out), border-color 0.45s ease;
}

.jd-overview__frame:hover {
  z-index: 5;
  border-color: rgba(176, 137, 71, 0.42);
  box-shadow: var(--jd-shadow-glow), var(--jd-shadow-lg);
}

.jd-overview__frame-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.jd-overview__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 1s var(--jd-ease-out);
  animation: jd-overview-kenburns 16s ease-in-out infinite alternate;
}

.jd-overview__frame:hover img {
  transform: scale(1.12);
  animation-play-state: paused;
}

.jd-overview__frame--a {
  top: 4%;
  right: 0;
  width: 78%;
  aspect-ratio: 16 / 10;
  z-index: 2;
  animation: jd-overview-float-a 7.5s ease-in-out infinite;
}

.jd-overview__frame--b {
  bottom: 18%;
  left: 0;
  width: 52%;
  aspect-ratio: 16 / 10;
  z-index: 3;
  border-radius: var(--jd-radius-md);
  transform: rotate(-3deg);
  animation: jd-overview-float-b 8.8s ease-in-out infinite;
}

.jd-overview__frame--c {
  bottom: 0;
  right: 4%;
  width: 48%;
  aspect-ratio: 16 / 10;
  z-index: 3;
  border-radius: var(--jd-radius-md);
  transform: rotate(2.5deg);
  animation: jd-overview-float-c 9.2s ease-in-out infinite;
}

.jd-overview__tag {
  position: absolute;
  left: 0.85rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: var(--jd-radius-pill);
  background: rgba(42, 34, 24, 0.55);
  backdrop-filter: blur(8px);
  color: #fffbf5;
  font-size: 0.68rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jd-overview__chip {
  position: absolute;
  top: 0;
  left: 6%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--jd-radius-pill);
  background: linear-gradient(145deg, #fffdf8 0%, #f3e6cf 100%);
  border: 1px solid rgba(176, 137, 71, 0.32);
  box-shadow: var(--jd-shadow-md);
  font-size: 0.72rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-text);
  animation: jd-overview-chip 6.5s ease-in-out infinite;
}

.jd-overview__chip-icon {
  color: var(--jd-primary);
  font-size: 0.85rem;
}

/* Entrance */
.jd-overview__gallery.jd-reveal .jd-overview__frame--a {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.85s var(--jd-ease-out), transform 0.95s var(--jd-ease-out);
}
.jd-overview__gallery.jd-reveal .jd-overview__frame--b {
  opacity: 0;
  transform: translate(-20px, 18px) rotate(-3deg) scale(0.94);
  transition: opacity 0.85s var(--jd-ease-out) 0.12s, transform 0.95s var(--jd-ease-out) 0.12s;
}
.jd-overview__gallery.jd-reveal .jd-overview__frame--c {
  opacity: 0;
  transform: translate(18px, 22px) rotate(2.5deg) scale(0.94);
  transition: opacity 0.85s var(--jd-ease-out) 0.22s, transform 0.95s var(--jd-ease-out) 0.22s;
}
.jd-overview__gallery.jd-reveal .jd-overview__chip {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.7s var(--jd-ease-out) 0.3s, transform 0.7s var(--jd-ease-out) 0.3s;
}

.jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--a,
.jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--b,
.jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--c,
.jd-overview__gallery.jd-reveal.is-visible .jd-overview__chip {
  opacity: 1;
}

.jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--a {
  transform: translate3d(0, var(--overview-py, 0px), 0) scale(1);
  animation: jd-overview-float-a 7.5s ease-in-out infinite 0.85s;
}
.jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--b {
  transform: rotate(-3deg) translate3d(0, var(--overview-py, 0px), 0);
  animation: jd-overview-float-b 8.8s ease-in-out infinite 0.95s;
}
.jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--c {
  transform: rotate(2.5deg) translate3d(0, var(--overview-py, 0px), 0);
  animation: jd-overview-float-c 9.2s ease-in-out infinite 1.05s;
}
.jd-overview__gallery.jd-reveal.is-visible .jd-overview__chip {
  transform: translateY(0);
  animation: jd-overview-chip 6.5s ease-in-out infinite 1.1s;
}

/* Point list staggered reveal via parent */
.jd-overview__copy.jd-reveal .jd-overview__point {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.55s var(--jd-ease-out), transform 0.55s var(--jd-ease-out);
}
.jd-overview__copy.jd-reveal.is-visible .jd-overview__point {
  opacity: 1;
  transform: translateX(0);
}
.jd-overview__copy.jd-reveal.is-visible .jd-overview__point:nth-child(1) { transition-delay: 0.1s; }
.jd-overview__copy.jd-reveal.is-visible .jd-overview__point:nth-child(2) { transition-delay: 0.2s; }
.jd-overview__copy.jd-reveal.is-visible .jd-overview__point:nth-child(3) { transition-delay: 0.3s; }

@keyframes jd-overview-float-a {
  0%, 100% { transform: translate3d(0, var(--overview-py, 0px), 0); }
  50% { transform: translate3d(0, calc(var(--overview-py, 0px) - 12px), 0); }
}
@keyframes jd-overview-float-b {
  0%, 100% { transform: rotate(-3deg) translate3d(0, var(--overview-py, 0px), 0); }
  50% { transform: rotate(-3deg) translate3d(0, calc(var(--overview-py, 0px) - 14px), 0); }
}
@keyframes jd-overview-float-c {
  0%, 100% { transform: rotate(2.5deg) translate3d(0, var(--overview-py, 0px), 0); }
  50% { transform: rotate(2.5deg) translate3d(0, calc(var(--overview-py, 0px) + 11px), 0); }
}
@keyframes jd-overview-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes jd-overview-kenburns {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(1.2%, -1%); }
}
@keyframes jd-overview-ring {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes jd-overview-dot {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.35); }
}

@media (max-width: 900px) {
  .jd-overview__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .jd-overview__gallery {
    min-height: clamp(320px, 78vw, 440px);
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .jd-overview__copy > p {
    max-width: none;
  }

  .jd-overview__frame--a {
    width: 80%;
    right: 0;
  }

  .jd-overview__frame--b {
    width: 54%;
  }

  .jd-overview__frame--c {
    width: 50%;
  }
}

@media (max-width: 560px) {
  .jd-overview__gallery {
    min-height: 310px;
  }

  .jd-overview__frame--a {
    width: 84%;
    top: 8%;
  }

  .jd-overview__frame--b {
    width: 56%;
    bottom: 14%;
  }

  .jd-overview__frame--c {
    width: 52%;
    bottom: 0;
  }

  .jd-overview__chip {
    left: 2%;
    font-size: 0.65rem;
    padding: 0.45rem 0.75rem;
  }

  .jd-overview__point {
    padding: 0.8rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jd-overview__ring,
  .jd-overview__dot,
  .jd-overview__frame,
  .jd-overview__frame img,
  .jd-overview__chip,
  .jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--a,
  .jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--b,
  .jd-overview__gallery.jd-reveal.is-visible .jd-overview__frame--c,
  .jd-overview__gallery.jd-reveal.is-visible .jd-overview__chip {
    animation: none !important;
  }

  .jd-overview__gallery.jd-reveal .jd-overview__frame--a,
  .jd-overview__gallery.jd-reveal .jd-overview__frame--b,
  .jd-overview__gallery.jd-reveal .jd-overview__frame--c,
  .jd-overview__gallery.jd-reveal .jd-overview__chip,
  .jd-overview__copy.jd-reveal .jd-overview__point {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .jd-overview__frame img {
    transform: scale(1);
  }

  .jd-overview__point:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Home — The Menu / Services shaped around you
   Clean equal grid (desktop) · compact horizontal cards (mobile)
   -------------------------------------------------------------------------- */
.jd-menu-home {
  overflow-x: clip;
}

.jd-menu-home__head,
.jd-services__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.jd-menu-home__titles .jd-display,
.jd-services__head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  max-width: 14ch;
  margin: 0.35rem 0 0;
  line-height: var(--jd-lh-tight);
}

.jd-menu-home__lead,
.jd-services__head p {
  color: var(--jd-text-muted);
  max-width: 38ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  justify-self: end;
}

.jd-menu-home__action,
#services .jd-gallery__action {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* Grid: 6 tracks so 3 equal cards/row; last pair of 5 centers cleanly */
.service-list,
.jd-menu-grid,
.jd-service-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list > *,
.jd-menu-grid > *,
.jd-service-bento > * {
  grid-column: span 2;
  min-width: 0;
}

/* 5 cards: center the last two under the row above */
.service-list:has(> :nth-child(5):last-child) > :nth-child(4),
.jd-menu-grid:has(> :nth-child(5):last-child) > :nth-child(4) {
  grid-column: 2 / 4;
}

.service-list:has(> :nth-child(5):last-child) > :nth-child(5),
.jd-menu-grid:has(> :nth-child(5):last-child) > :nth-child(5) {
  grid-column: 4 / 6;
}

/* ---- Card ---- */
.jd-menu-card {
  min-width: 0;
  height: 100%;
  border-radius: var(--jd-radius-lg);
  background: var(--jd-surface);
  border: 1px solid rgba(176, 137, 71, 0.16);
  box-shadow: var(--jd-shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--jd-ease), box-shadow 0.45s var(--jd-ease), border-color 0.35s ease;
}

.jd-menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jd-shadow-md);
  border-color: rgba(176, 137, 71, 0.35);
}

.jd-menu-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.jd-menu-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--jd-bg-deep);
  flex-shrink: 0;
}

.jd-menu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s var(--jd-ease-out);
}

.jd-menu-card:hover .jd-menu-card__media img {
  transform: scale(1.05);
}

.jd-menu-card__num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  font-family: var(--jd-font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--jd-secondary);
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(176, 137, 71, 0.28);
  border-radius: var(--jd-radius-pill);
  padding: 0.2rem 0.65rem;
  line-height: 1.2;
  backdrop-filter: blur(6px);
}

.jd-menu-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
  min-width: 0;
}

.jd-menu-card__title {
  font-family: var(--jd-font-display);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
  color: var(--jd-secondary);
}

.jd-menu-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--jd-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jd-menu-card__cta {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.74rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jd-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Legacy bridges (other pages / old markup) */
.jd-svc-card,
.blanc-service-card {
  position: relative;
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  background: var(--jd-surface);
  border: 1px solid var(--jd-border);
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--jd-ease), box-shadow 0.45s var(--jd-ease);
  box-shadow: var(--jd-shadow-sm);
  height: 100%;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.jd-svc-card:hover,
.blanc-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jd-shadow-md);
}

.jd-svc-card__media,
.blanc-service-photo {
  position: relative;
  aspect-ratio: 16 / 11;
  height: auto;
  overflow: hidden;
}

.jd-svc-card__media img,
.blanc-service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--jd-ease-out);
}

.jd-svc-card:hover .jd-svc-card__media img,
.blanc-service-card:hover .blanc-service-photo img {
  transform: scale(1.05);
}

.jd-svc-card__body,
.blanc-service-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.jd-svc-card__body h3,
.jd-svc-card__body h4,
.jd-svc-card-title,
.blanc-service-card-title {
  font-family: var(--jd-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}

.jd-svc-card__body p,
.jd-svc-card-text,
.jd-svc-card-text p,
.blanc-service-card-text p {
  font-size: 0.9rem;
  color: var(--jd-text-muted);
  margin: 0;
  line-height: 1.55;
}

.jd-svc-card__body .divider,
.blanc-service-card-text .divider {
  display: none;
}

.jd-svc-card__link,
.blanc-service-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.jd-svc-card__cta {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.74rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jd-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .service-list,
  .jd-menu-grid,
  .jd-service-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .service-list > *,
  .jd-menu-grid > *,
  .jd-service-bento > *,
  .service-list:has(> :nth-child(5):last-child) > :nth-child(4),
  .jd-menu-grid:has(> :nth-child(5):last-child) > :nth-child(4),
  .service-list:has(> :nth-child(5):last-child) > :nth-child(5),
  .jd-menu-grid:has(> :nth-child(5):last-child) > :nth-child(5) {
    grid-column: auto;
  }
}

/* Mobile: redesign — horizontal compact cards */
@media (max-width: 700px) {
  .jd-menu-home__head,
  .jd-services__head {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 1.35rem;
  }

  .jd-menu-home__titles .jd-display,
  .jd-services__head h2 {
    max-width: none;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .jd-menu-home__lead,
  .jd-services__head p {
    justify-self: start;
    max-width: none;
    font-size: 0.95rem;
  }

  .service-list,
  .jd-menu-grid,
  .jd-service-bento {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .jd-menu-card {
    border-radius: var(--jd-radius-md);
  }

  .jd-menu-card:hover {
    transform: none;
  }

  .jd-menu-card__link {
    flex-direction: row;
    align-items: stretch;
    min-height: 112px;
  }

  .jd-menu-card__media {
    width: 108px;
    min-width: 108px;
    max-width: 32vw;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .jd-menu-card__num {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 0.78rem;
    padding: 0.12rem 0.45rem;
  }

  .jd-menu-card__body {
    padding: 0.85rem 0.95rem 0.9rem;
    gap: 0.3rem;
    justify-content: center;
  }

  .jd-menu-card__title {
    font-size: 1.25rem;
  }

  .jd-menu-card__text {
    font-size: 0.82rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .jd-menu-card__cta {
    padding-top: 0.35rem;
    font-size: 0.68rem;
  }

  .jd-menu-home__action {
    margin-top: 1.35rem;
  }

  .jd-menu-home__action .jd-btn {
    width: 100%;
    justify-content: center;
  }

  /* legacy cards on mobile */
  .jd-svc-card__link,
  .blanc-service-link {
    flex-direction: row;
    align-items: stretch;
    min-height: 112px;
  }

  .jd-svc-card__media,
  .blanc-service-photo {
    width: 108px;
    min-width: 108px;
    aspect-ratio: auto;
    height: auto;
    align-self: stretch;
  }

  .jd-svc-card__body,
  .blanc-service-body {
    padding: 0.85rem 0.95rem;
  }
}

@media (max-width: 380px) {
  .jd-menu-card__media {
    width: 92px;
    min-width: 92px;
  }

  .jd-menu-card__text {
    -webkit-line-clamp: 2;
  }
}

/* --------------------------------------------------------------------------
   Why choose — horizontal feature rail
   -------------------------------------------------------------------------- */
.jd-why__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.jd-why__visual {
  border-radius: var(--jd-radius-xl);
  overflow: hidden;
  min-height: 480px;
  box-shadow: var(--jd-shadow-lg);
}

.jd-why__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}

.jd-why__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jd-why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--jd-border);
  transition: background 0.35s var(--jd-ease);
}

.jd-why__item:first-child {
  border-top: 1px solid var(--jd-border);
}

.jd-why__num {
  font-family: var(--jd-font-display);
  font-size: 1.75rem;
  color: var(--jd-accent);
  font-weight: 500;
  line-height: 1;
  min-width: 2rem;
}

.jd-why__item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.jd-why__item p {
  margin: 0;
  color: var(--jd-text-muted);
  font-size: 0.94rem;
  max-width: 42ch;
}

@media (max-width: 900px) {
  .jd-why__grid {
    grid-template-columns: 1fr;
  }
  .jd-why__visual,
  .jd-why__visual img {
    min-height: 280px;
  }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.jd-cta {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  color: var(--jd-text-inverse);
}

.jd-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jd-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jd-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(42, 34, 24, 0.9) 0%, rgba(143, 110, 56, 0.78) 50%, rgba(42, 34, 24, 0.58) 100%);
}

.jd-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.jd-cta__inner h2 {
  color: var(--jd-text-inverse);
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
}

.jd-cta__inner p {
  color: rgba(251, 249, 250, 0.78);
  max-width: 36ch;
  margin: 0.75rem 0 0;
}

/* --------------------------------------------------------------------------
   Team / Staff — legacy bootstrap hooks (cards rendered via .jd-team-*)
   -------------------------------------------------------------------------- */
.staff-section .staff-list .row {
  display: contents !important;
  margin: 0;
}

.staff-section .staff-list [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* --------------------------------------------------------------------------
   Reviews / Testimonials
   -------------------------------------------------------------------------- */
.jd-reviews__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.jd-reviews__head h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin-bottom: 0.75rem;
}

.jd-reviews__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--jd-text-muted);
  font-size: 0.9rem;
}

.jd-reviews__stars {
  color: #E6A817;
  letter-spacing: 0.08em;
}

.jd-reviews__score {
  font-weight: var(--jd-fw-bold);
  color: var(--jd-text);
}

/* New review cards from main.js bridge */
.mnb-reviews-grid,
#mnb-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.mnb-review-card {
  background: var(--jd-surface);
  border: 1px solid var(--jd-border);
  border-radius: var(--jd-radius-lg);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--jd-shadow-sm);
  transition: transform 0.45s var(--jd-ease), box-shadow 0.45s var(--jd-ease);
  height: 100%;
}

.mnb-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jd-shadow-md);
}

.mnb-reviews-section {
  background: var(--jd-bg-deep);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.mnb-reviews-wave { display: none; }

.mnb-reviews-title {
  font-family: var(--jd-font-display) !important;
  font-size: clamp(2.2rem, 4vw, 3.3rem) !important;
  font-weight: 500 !important;
}

.mnb-reviews-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--jd-radius-pill);
  background: var(--jd-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--jd-shadow-glow);
  transition: transform 0.4s var(--jd-ease);
}

.mnb-reviews-btn:hover {
  transform: translateY(-2px);
}

.mnb-reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jd-primary);
  margin-bottom: 0.75rem;
}

.mnb-google-g {
  width: 18px;
  height: 18px;
}

.mnb-review-stars {
  color: #E6A817;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.mnb-star::before {
  content: "★";
}

.mnb-review-text {
  font-size: 0.92rem;
  color: var(--jd-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.mnb-review-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.mnb-read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jd-primary);
  cursor: pointer;
}

.mnb-review-divider {
  height: 1px;
  background: var(--jd-border);
  margin: 1rem 0;
}

.mnb-review-bottom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mnb-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mnb-review-name {
  font-family: var(--jd-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}

.mnb-review-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--jd-text-muted);
}

.mnb-review-meta {
  flex: 1;
  min-width: 0;
}

.mnb-review-google {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mnb-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.mnb-review-tag,
.mnb-review-note {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--jd-radius-pill);
  background: var(--jd-primary-soft);
  color: var(--jd-primary);
}

.mnb-review-note {
  background: var(--jd-bg-deep);
  color: var(--jd-text-muted);
}

.mnb-quote {
  display: none;
}

@media (max-width: 900px) {
  .mnb-reviews-grid,
  #mnb-reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .mnb-reviews-grid,
  #mnb-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Gallery — boutique mosaic (index)
   Layout: centered header + framed bento (1 hero + supporting tiles)
   Images: same photos/grid-gallery/* via main.js
   -------------------------------------------------------------------------- */
.jd-gallery-section {
  position: relative;
  overflow: hidden;
  background: var(--jd-bg);
  padding-block: clamp(2.75rem, 6vw, 4.5rem) !important;
}

.jd-gallery-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}

.jd-gallery-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.jd-gallery-section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 80% 20%, rgba(212, 175, 106, 0.2), transparent 55%),
    radial-gradient(ellipse 45% 40% at 10% 80%, rgba(176, 137, 71, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(247, 242, 233, 0.92) 0%, rgba(247, 242, 233, 0.97) 100%);
}

.jd-gallery-section > .jd-container {
  position: relative;
  z-index: 1;
}

.jd-gallery-section__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jd-gallery-section__head .jd-eyebrow {
  justify-content: center;
  margin-bottom: 0.5rem;
}

.jd-gallery-section__head .jd-eyebrow::before {
  display: none;
}

.jd-gallery-section__head .jd-display {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin: 0 0 0.5rem;
}

.jd-gallery-section__lead {
  margin: 0;
  color: var(--jd-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 38ch;
}

.jd-gallery-section__rule {
  width: 48px;
  height: 2px;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--jd-gold), var(--jd-primary), transparent);
}

/* Outer gold frame around mosaic */
.jd-gallery-mosaic {
  padding: 0.7rem;
  border-radius: calc(var(--jd-radius-lg) + 4px);
  border: 1.5px solid rgba(176, 137, 71, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.75), rgba(243, 233, 214, 0.55));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    var(--jd-shadow-md);
}

/* Shared tile base */
#gallery #blanc-gallery-grid-js,
#gallery .jd-gallery-mosaic__grid,
#gallery .blanc-gallery-grid {
  display: grid;
  gap: 0.7rem;
}

#gallery .blanc-gallery-card,
#gallery .jd-gallery-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--jd-bg-deep);
  border: 1px solid rgba(176, 137, 71, 0.22);
  box-shadow: var(--jd-shadow-sm);
  min-width: 0;
  min-height: 0;
}

#gallery .jd-gallery-tile__frame,
#gallery .blanc-gallery-card a,
#gallery .blanc-gallery-card .custom-gallery-trigger,
#gallery .blanc-gallery-card .video-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  text-decoration: none;
}

#gallery .blanc-gallery-card img,
#gallery .blanc-gallery-card video,
#gallery .jd-gallery-tile img,
#gallery .jd-gallery-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--jd-ease-out);
}

/* <picture> wrapper (mobile landscape swap for tile 6) */
#gallery .jd-gallery-tile picture {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

#gallery .jd-gallery-tile picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#gallery .jd-gallery-tile__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 35%,
    transparent 60%,
    rgba(201, 162, 39, 0.12) 100%
  );
  opacity: 0.85;
}

#gallery .jd-gallery-tile__view {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%) scale(0.9);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(42, 34, 24, 0.72);
  border: 1px solid rgba(255, 233, 168, 0.45);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s var(--jd-ease), transform 0.35s var(--jd-ease);
  pointer-events: none;
  backdrop-filter: blur(6px);
  z-index: 2;
}

#gallery .jd-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 34, 24, 0.35), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s var(--jd-ease);
  pointer-events: none;
  z-index: 1;
}

.jd-gallery-section__action,
.jd-gallery__action {
  text-align: center;
  margin-top: 1.5rem;
}

/* Full gallery page grid (grid-gallery.html) */
#gallery-page {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 0 !important;
}

#gallery-page .isotope-item,
#gallery-page [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  float: none !important;
  position: relative !important;
}

#gallery-page .gallery-item {
  display: block;
  border-radius: var(--jd-radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--jd-shadow-sm);
  border: 1px solid rgba(176, 137, 71, 0.18);
}

#gallery-page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--jd-ease-out);
}

#gallery-page .gallery-item:hover img {
  transform: scale(1.05);
}

/* ========== DESKTOP only: boutique bento mosaic ========== */
@media (min-width: 901px) {
  #gallery #blanc-gallery-grid-js,
  #gallery .jd-gallery-mosaic__grid,
  #gallery .blanc-gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(88px, 9vw);
    gap: 0.7rem;
  }

  #gallery .jd-gallery-tile--1 {
    grid-column: 1 / span 7;
    grid-row: 1 / span 4;
  }

  #gallery .jd-gallery-tile--2 {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
  }

  #gallery .jd-gallery-tile--3 {
    grid-column: 8 / span 5;
    grid-row: 3 / span 2;
  }

  #gallery .jd-gallery-tile--4 {
    grid-column: 1 / span 4;
    grid-row: 5 / span 2;
  }

  #gallery .jd-gallery-tile--5 {
    grid-column: 5 / span 4;
    grid-row: 5 / span 2;
  }

  #gallery .jd-gallery-tile--6 {
    grid-column: 9 / span 4;
    grid-row: 5 / span 2;
  }

  #gallery .jd-gallery-tile--7,
  #gallery .jd-gallery-tile.is-wide {
    grid-column: 1 / span 12;
    grid-row: 7 / span 3;
    min-height: 240px;
    border-radius: 16px;
    border: 1.5px solid rgba(176, 137, 71, 0.35);
    box-shadow: var(--jd-shadow-md);
  }

  #gallery .jd-gallery-tile--7 img,
  #gallery .jd-gallery-tile.is-wide img {
    object-fit: cover;
    object-position: center 40%;
  }

  #gallery .jd-gallery-tile:hover img,
  #gallery .jd-gallery-tile:hover video {
    transform: scale(1.06);
  }

  #gallery .jd-gallery-tile:hover .jd-gallery-tile__view {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  #gallery .jd-gallery-tile:hover::after {
    opacity: 1;
  }
}

/* ========== MOBILE + TABLET: clean 2-col layout ========== */
@media (max-width: 900px) {
  .jd-gallery-section {
    padding-block: 2.5rem !important;
  }

  .jd-gallery-section__bg {
    opacity: 0.1;
  }

  .jd-gallery-section__head {
    margin-bottom: 1.25rem;
  }

  .jd-gallery-section__head .jd-display {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
  }

  .jd-gallery-section__lead {
    font-size: 0.92rem;
  }

  /* No heavy gold frame */
  #gallery .jd-gallery-mosaic {
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #gallery #blanc-gallery-grid-js,
  #gallery .jd-gallery-mosaic__grid,
  #gallery .blanc-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 0.55rem !important;
  }

  #gallery .blanc-gallery-card,
  #gallery .jd-gallery-tile {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(176, 137, 71, 0.18) !important;
    box-shadow: 0 4px 14px rgba(42, 34, 24, 0.06) !important;
  }

  /* Hero full width */
  #gallery .jd-gallery-tile--1,
  #gallery .jd-gallery-tile.is-hero {
    grid-column: 1 / -1 !important;
    aspect-ratio: 16 / 11 !important;
    border-radius: 14px !important;
  }

  /* Tile 6 — horizontal strip on mobile only (not desktop) */
  #gallery .jd-gallery-tile--6,
  #gallery .jd-gallery-tile.is-mobile-wide {
    grid-column: 1 / -1 !important;
    aspect-ratio: 2.15 / 1 !important;
    min-height: 0 !important;
    border-radius: 14px !important;
  }

  #gallery .jd-gallery-tile--6 img,
  #gallery .jd-gallery-tile.is-mobile-wide img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Wide strip full width (tile 7) */
  #gallery .jd-gallery-tile--7,
  #gallery .jd-gallery-tile.is-wide {
    grid-column: 1 / -1 !important;
    aspect-ratio: 2.1 / 1 !important;
    min-height: 0 !important;
    border-radius: 14px !important;
  }

  #gallery .jd-gallery-tile--7 img,
  #gallery .jd-gallery-tile.is-wide img {
    object-position: center center !important;
  }

  #gallery .jd-gallery-tile__shine {
    display: none !important;
  }

  #gallery .jd-gallery-tile__view {
    opacity: 0 !important;
  }

  #gallery .jd-gallery-tile.is-hero .jd-gallery-tile__view,
  #gallery .jd-gallery-tile.is-wide .jd-gallery-tile__view {
    opacity: 0.9 !important;
    transform: translate(-50%, -50%) scale(1) !important;
    font-size: 0.65rem;
    padding: 0.32rem 0.7rem;
    background: rgba(42, 34, 24, 0.55);
  }

  #gallery .jd-gallery-tile:hover img,
  #gallery .jd-gallery-tile:hover video {
    transform: none !important;
  }

  #gallery .jd-gallery-tile:hover::after {
    opacity: 0 !important;
  }

  .jd-gallery-section__action {
    margin-top: 1.25rem;
  }

  .jd-gallery-section__action .jd-btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #gallery #blanc-gallery-grid-js,
  #gallery .jd-gallery-mosaic__grid,
  #gallery .blanc-gallery-grid {
    gap: 0.45rem !important;
  }

  .jd-gallery-section__action .jd-btn {
    max-width: none;
  }
}

/* Custom lightbox polish */
#custom-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

#custom-gallery-lightbox.active {
  display: flex;
}

.custom-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 24, 0.88);
  backdrop-filter: blur(8px);
}

.custom-gallery-content {
  position: relative;
  z-index: 2;
  max-width: min(92vw, 960px);
  max-height: 88vh;
}

.custom-gallery-content img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--jd-radius-md);
  box-shadow: var(--jd-shadow-lg);
}

.custom-gallery-close,
.custom-gallery-prev,
.custom-gallery-next {
  position: absolute;
  z-index: 3;
  color: #fff;
  font-size: 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.custom-gallery-close:hover,
.custom-gallery-prev:hover,
.custom-gallery-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.custom-gallery-close {
  top: 1.25rem;
  right: 1.25rem;
}

.custom-gallery-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.custom-gallery-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.jd-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
}

.jd-contact__cards {
  display: grid;
  gap: 1rem;
}

.jd-contact__card {
  background: var(--jd-surface);
  border: 1px solid var(--jd-border);
  border-radius: var(--jd-radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--jd-shadow-sm);
}

.jd-contact__card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.jd-contact__card ul li,
#business-hour li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--jd-border);
  font-size: 0.9rem;
  color: var(--jd-text-muted);
}

#business-hour li:last-child {
  border-bottom: none;
}

.jd-contact__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jd-text-muted);
  margin-bottom: 0.35rem;
}

.jd-contact__card .address,
.jd-contact__card .phone {
  color: var(--jd-text);
  font-weight: 500;
  font-size: 1rem;
}

.jd-contact__map {
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--jd-border);
  box-shadow: var(--jd-shadow-md);
}

.jd-contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.social-media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.social-media-list a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFcf7;
  border: 1.5px solid rgba(176, 137, 71, 0.4);
  box-shadow: 0 2px 8px rgba(42, 34, 24, 0.06);
  color: #1A1510; /* dark monoline icon */
  transition: transform 0.25s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-media-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(176, 137, 71, 0.65);
  background: #fff;
  color: #B08947;
}

.social-media-list .jd-social-icon,
.social-media-list svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
}

.social-media-list img {
  display: none !important; /* legacy img icons disabled */
}

@media (max-width: 900px) {
  .jd-contact__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.jd-page-hero {
  position: relative;
  min-height: clamp(280px, 42vh, 420px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--jd-header-h) + 2rem) 0 3rem;
  overflow: hidden;
  color: #ffffff;
}

.jd-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jd-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stronger scrim so white text always reads clearly on light/beige photos */
.jd-page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(20, 16, 12, 0.55) 0%,
      rgba(20, 16, 12, 0.72) 45%,
      rgba(20, 16, 12, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(20, 16, 12, 0.35) 0%,
      transparent 55%
    );
}

.jd-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.jd-page-hero .jd-eyebrow,
.jd-page-hero__content > .jd-eyebrow,
.jd-page-hero__content > p.jd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(232, 197, 71, 0.65);
  color: #ffe9a8 !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.jd-page-hero .jd-eyebrow::before {
  background: #ffe9a8;
  opacity: 0.9;
}

.jd-page-hero h1,
.jd-page-hero__content h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.35);
  -webkit-text-fill-color: #ffffff;
}

.jd-page-hero p,
.jd-page-hero__content > p:not(.jd-eyebrow) {
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 42ch;
  margin-top: 0.65rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Services menu page
   -------------------------------------------------------------------------- */
.blanc-service-page-hero,
.blanc-contact-page-hero,
.blanc-overview-hero {
  display: none !important;
}

.blanc-service-page-main,
.blanc-contact-page-main,
.blanc-overview-main {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.blanc-menu-filter,
#menu-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.blanc-menu-tab {
  padding: 0.6rem 1.1rem;
  border-radius: var(--jd-radius-pill);
  border: 1px solid var(--jd-border-strong);
  background: var(--jd-surface);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--jd-text-muted);
  transition: all 0.35s var(--jd-ease);
}

.blanc-menu-tab:hover,
.blanc-menu-tab.active {
  background: var(--jd-primary);
  border-color: var(--jd-primary);
  color: #fff;
}

.blanc-menu-category-hero {
  position: relative;
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  min-height: 220px;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: flex-end;
}

.blanc-menu-category-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.blanc-menu-category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 24, 0.78), rgba(26, 22, 24, 0.2));
}

.blanc-menu-category-hero-content {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
  color: #fff;
}

.blanc-menu-category-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.blanc-menu-category-title {
  font-family: var(--jd-font-display);
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin: 0.25rem 0 0.5rem;
}

.blanc-menu-category-text {
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
  margin: 0;
  font-size: 0.92rem;
}

.blanc-menu-grid,
#menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* service menu cards */
.blanc-menu-card,
.menu-service-card {
  background: var(--jd-surface);
  border: 1px solid var(--jd-border);
  border-radius: var(--jd-radius-md);
  padding: 1.25rem;
  box-shadow: var(--jd-shadow-sm);
  transition: transform 0.4s var(--jd-ease), box-shadow 0.4s var(--jd-ease);
}

.blanc-menu-card:hover,
.menu-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--jd-shadow-md);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.jd-footer {
  background: var(--jd-secondary);
  color: rgba(251, 249, 250, 0.72);
  /* Extra bottom room so fixed Call/Book stack never covers copyright text */
  padding: 3.5rem 0 calc(2.25rem + var(--jd-footer-float-clear, 0px));
}

.jd-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.jd-footer__brand {
  font-family: var(--jd-font-display);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.jd-footer__brand span {
  color: var(--jd-accent);
  font-style: italic;
}

.jd-footer h4 {
  color: #fff;
  font-family: var(--jd-font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.jd-footer a {
  color: rgba(251, 249, 250, 0.72);
  transition: color 0.3s;
}

.jd-footer a:hover {
  color: #fff;
}

.jd-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.jd-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.jd-footer .rights,
.jd-footer .rights a,
.section .rights,
.section .rights a {
  color: rgba(251, 249, 250, 0.72) !important;
}

/* Legacy footer strip hide when using new footer */
.section.novi-bg.section-xs {
  display: none !important;
}

.footer-minimal {
  display: none !important;
}

@media (max-width: 768px) {
  .jd-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Floating social FAB — sits ABOVE Call / Book floating buttons
   Desktop: bottom-right stack · Mobile: above bottom dock (right)
   -------------------------------------------------------------------------- */
:root {
  /* Height of Call + Book stack (2 pills + gap) — keep social just above */
  --jd-float-stack-h: 7.1rem;
}

/* Desktop default: above Call/Book on the right */
.jd-social-fab {
  position: fixed;
  left: auto;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  top: auto;
  bottom: calc(
    max(1.25rem, env(safe-area-inset-bottom, 0px)) + var(--jd-float-stack-h)
  );
  transform: none;
  z-index: 930;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.jd-social-fab > * {
  pointer-events: auto;
}

.jd-social-fab__panel {
  position: absolute;
  right: 0;
  left: auto;
  bottom: calc(100% + 0.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.92);
  transform-origin: bottom right;
  transition:
    opacity 0.28s var(--jd-ease),
    transform 0.32s var(--jd-ease),
    visibility 0.28s;
  pointer-events: none;
}

.jd-social-fab.is-open .jd-social-fab__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.jd-social-fab__link {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.35rem 0.4rem 0.35rem 0.75rem;
  border-radius: var(--jd-radius-pill);
  background: var(--jd-surface);
  border: 1px solid rgba(176, 137, 71, 0.28);
  box-shadow: var(--jd-shadow-md);
  color: var(--jd-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: translateX(8px);
  opacity: 0;
  transition:
    transform 0.3s var(--jd-ease),
    opacity 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.jd-social-fab.is-open .jd-social-fab__link {
  transform: translateX(0);
  opacity: 1;
}

.jd-social-fab.is-open .jd-social-fab__link:nth-child(1) { transition-delay: 0.04s; }
.jd-social-fab.is-open .jd-social-fab__link:nth-child(2) { transition-delay: 0.08s; }
.jd-social-fab.is-open .jd-social-fab__link:nth-child(3) { transition-delay: 0.12s; }
.jd-social-fab.is-open .jd-social-fab__link:nth-child(4) { transition-delay: 0.16s; }
.jd-social-fab.is-open .jd-social-fab__link:nth-child(5) { transition-delay: 0.2s; }

.jd-social-fab__link {
  background: #FFFcf7;
  border: 1.5px solid rgba(176, 137, 71, 0.35);
  color: #1A1510;
}

.jd-social-fab__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #1A1510;
}

.jd-social-fab__glyph .jd-social-icon,
.jd-social-fab__glyph svg,
.jd-social-fab__link .jd-social-icon,
.jd-social-fab__link svg.jd-social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.jd-social-fab__link img {
  display: none !important;
}

.jd-social-fab__link i {
  display: none !important;
}

.jd-social-fab__label {
  padding-left: 0.05rem;
}

.jd-social-fab__link:hover {
  background: #fff;
  border-color: rgba(176, 137, 71, 0.4);
  box-shadow: var(--jd-shadow-sm);
  color: var(--jd-secondary);
}

/* Simple solid button — clear icon, no glow */
.jd-social-fab__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid rgba(176, 137, 71, 0.45);
  border-radius: 50%;
  background: #2C2419;
  color: #fff;
  box-shadow: 0 4px 14px rgba(42, 34, 24, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.jd-social-fab__toggle:hover {
  background: #3A3024;
  border-color: rgba(176, 137, 71, 0.6);
}

.jd-social-fab.is-open .jd-social-fab__toggle {
  background: #B08947;
  color: #fff;
  border-color: #B08947;
  box-shadow: 0 4px 14px rgba(42, 34, 24, 0.16);
}

.jd-social-fab__toggle:focus-visible {
  outline: 2px solid var(--jd-primary);
  outline-offset: 2px;
}

.jd-social-fab__toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
}

.jd-social-fab__toggle-icon svg {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: opacity 0.15s ease;
}

.jd-social-fab__icon-close {
  opacity: 0;
  /* Website brown — not white on gold */
  color: #2C2419;
  stroke: #2C2419;
}

.jd-social-fab.is-open .jd-social-fab__icon-share {
  opacity: 0;
}

.jd-social-fab.is-open .jd-social-fab__icon-close {
  opacity: 1;
  color: #2C2419;
  stroke: #2C2419;
}

.jd-social-fab__toggle-text {
  display: none;
  font-size: 0.72rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mobile: centered above Call/Book bar · icons expand HORIZONTALLY */
@media (max-width: 767.98px) {
  .jd-social-fab {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    align-items: center;
    /* Sit just above the compact Call/Book dock */
    bottom: calc(var(--jd-float-dock-h, 3.55rem) + 0.35rem);
    z-index: 920;
  }



  .jd-social-fab__panel {
    left: 50%;
    right: auto;
    bottom: calc(100% + 0.55rem);
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    background: rgba(255, 252, 247, 0.96);
    border: 1px solid rgba(176, 137, 71, 0.28);
    border-radius: var(--jd-radius-pill);
    box-shadow: 0 10px 28px rgba(42, 34, 24, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translate(-50%, 8px) scale(0.92);
    transform-origin: bottom center;
    max-width: calc(100vw - 1.5rem);
  }

  .jd-social-fab.is-open .jd-social-fab__panel {
    transform: translate(-50%, 0) scale(1);
  }

  .jd-social-fab__link {
    flex-direction: row;
    flex-shrink: 0;
    padding: 0;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
    height: 44px;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(176, 137, 71, 0.22);
    box-shadow: 0 4px 12px rgba(42, 34, 24, 0.08);
    transform: scale(0.85);
    opacity: 0;
  }

  .jd-social-fab.is-open .jd-social-fab__link {
    transform: scale(1);
    opacity: 1;
  }

  .jd-social-fab__link img {
    width: 20px;
    height: 20px;
  }

  .jd-social-fab__link {
    background: #FFFcf7;
    border-color: rgba(176, 137, 71, 0.35);
  }

  .jd-social-fab__toggle {
    width: 46px;
    height: 46px;
  }

  .jd-social-fab__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jd-social-fab__panel,
  .jd-social-fab__link,
  .jd-social-fab__toggle,
  .jd-social-fab__toggle-icon svg {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Floating dock (Call / Book)
   Override legacy style.css: left:50% + translateX(-50%) + bootstrap .row
   -------------------------------------------------------------------------- */
body.jd-body {
  /* Room for fixed mobile dock so footer is not covered */
  --jd-float-h: 0px;
}

body.jd-body .floating-button.row,
body.jd-body .floating-button.jd-float,
body.jd-body .floating-button,
body.jd-body .jd-float {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: 1rem !important;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 900 !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  gap: 0.5rem !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  pointer-events: none !important;
  background: transparent !important;
  /* Kill bootstrap .row gutters */
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

body.jd-body .floating-button::before,
body.jd-body .floating-button::after {
  display: none !important;
  content: none !important;
}

body.jd-body .floating-button > [class*="col-"],
body.jd-body .floating-button .col-6,
body.jd-body .floating-button .col-md-12 {
  position: relative !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  flex-basis: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  pointer-events: auto !important;
}

body.jd-body .floating-button .button,
body.jd-body .floating-button a.btn-call-us,
body.jd-body .floating-button a.btn-book-now,
body.jd-body .jd-float a.btn-call-us,
body.jd-body .jd-float a.btn-book-now {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  width: auto !important;
  min-width: 132px !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0.8rem 1.15rem !important;
  border-radius: var(--jd-radius-pill) !important;
  border: none !important;
  background: linear-gradient(135deg, #C9A227 0%, #B08947 48%, #8F6E38 100%) !important;
  background-image: linear-gradient(135deg, #C9A227 0%, #B08947 48%, #8F6E38 100%) !important;
  color: #fff !important;
  font-family: var(--jd-font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 28px rgba(176, 137, 71, 0.32) !important;
  transition: transform 0.35s var(--jd-ease), filter 0.3s !important;
  float: none !important;
  pointer-events: auto !important;
}

body.jd-body .floating-button a.btn-call-us {
  background: var(--jd-secondary) !important;
  background-image: none !important;
  box-shadow: 0 10px 24px rgba(42, 34, 24, 0.22) !important;
}

body.jd-body .floating-button .button:hover,
body.jd-body .floating-button a.btn-call-us:hover,
body.jd-body .floating-button a.btn-book-now:hover {
  filter: brightness(1.06);
  transform: translateY(-2px) !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.jd-body .floating-button a.btn-call-us span.icon,
body.jd-body .floating-button a.btn-book-now span.icon {
  display: inline-flex !important;
  margin: 0 !important;
  font-size: 1em !important;
  line-height: 1 !important;
}

/* Desktop: stack on bottom-right — lift footer so pills don't cover text */
@media (min-width: 768px) {
  body.jd-body {
    /* Clearance for 2 stacked float buttons + social FAB above them */
    --jd-footer-float-clear: 6.75rem;
  }

  body.jd-body .floating-button.row,
  body.jd-body .floating-button.jd-float,
  body.jd-body .floating-button,
  body.jd-body .jd-float {
    right: 1.25rem !important;
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px)) !important;
    left: auto !important;
    flex-direction: column !important;
    width: auto !important;
    transform: none !important;
  }

  body.jd-body .floating-button a.btn-call-us,
  body.jd-body .floating-button a.btn-book-now {
    float: none !important;
    width: 100% !important;
    min-width: 140px !important;
  }

  body.jd-body .jd-footer {
    padding-bottom: calc(2.5rem + var(--jd-footer-float-clear)) !important;
  }

  body.jd-body .jd-footer__bottom {
    padding-right: 10.5rem; /* keep copyright clear of right-side float stack */
  }
}

/* Mobile: compact bottom dock — less empty “color bar” height */
@media (max-width: 767.98px) {
  body.jd-body {
    /* Tighter dock: bar + home-indicator only (no double social padding) */
    --jd-float-dock-h: calc(3.55rem + env(safe-area-inset-bottom, 0px));
    /* Small gap so social FAB sits just above dock — not a huge dead zone */
    --jd-social-fab-space: 2.35rem;
    /* Content only needs dock clearance; avoid stacking body+page+footer gaps */
    --jd-float-h: var(--jd-float-dock-h);
    --jd-footer-float-clear: var(--jd-float-dock-h);
    padding-bottom: 0 !important;
    scroll-padding-bottom: var(--jd-float-dock-h);
  }

  body.jd-body .page {
    padding-bottom: 0;
  }

  /* Single clear zone at footer only — not body + page + footer stacked */
  body.jd-body .jd-footer {
    padding-top: 2.5rem !important;
    padding-bottom: calc(0.85rem + var(--jd-float-dock-h)) !important;
  }

  body.jd-body .jd-footer__grid {
    margin-bottom: 1.35rem;
  }

  body.jd-body .jd-footer__bottom {
    padding-top: 0.9rem;
  }

  body.jd-body .jd-section:last-of-type,
  body.jd-body .jd-legal {
    padding-bottom: clamp(1.75rem, 5vw, 2.5rem);
  }

  /* Keep main text above fixed chrome when scrolling */
  body.jd-body .page,
  body.jd-body .jd-section,
  body.jd-body .jd-page-hero__content {
    position: relative;
    z-index: 1;
  }

  body.jd-body .floating-button,
  body.jd-body .jd-float,
  body.jd-body .jd-social-fab {
    z-index: 920 !important;
  }

  body.jd-body .floating-button.row,
  body.jd-body .floating-button.jd-float,
  body.jd-body .floating-button,
  body.jd-body .jd-float {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 0.45rem !important;
    /* Slimmer cream bar — was 0.55rem + large safe area stack */
    padding: 0.4rem 0.6rem calc(0.4rem + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    transform: none !important;
    background: rgba(255, 252, 247, 0.94) !important;
    border-top: 1px solid rgba(176, 137, 71, 0.2) !important;
    box-shadow: 0 -6px 20px rgba(42, 34, 24, 0.09) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  body.jd-body .floating-button > [class*="col-"],
  body.jd-body .floating-button .col-6,
  body.jd-body .floating-button .col-md-12 {
    flex: 1 1 0 !important;
    width: 0 !important; /* equal flex columns */
    max-width: none !important;
    min-width: 0 !important;
  }

  body.jd-body .floating-button .button,
  body.jd-body .floating-button a.btn-call-us,
  body.jd-body .floating-button a.btn-book-now {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0.7rem 0.55rem !important;
    font-size: 0.76rem !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }

  body.jd-body .floating-button a.btn-call-us {
    background: var(--jd-secondary) !important;
    background-image: none !important;
  }

  body.jd-body .floating-button a.btn-book-now {
    background: linear-gradient(135deg, #C9A227 0%, #B08947 48%, #8F6E38 100%) !important;
    background-image: linear-gradient(135deg, #C9A227 0%, #B08947 48%, #8F6E38 100%) !important;
  }

  /* Social FAB sits just above the slimmer dock */
  body.jd-body .jd-social-fab {
    bottom: calc(var(--jd-float-dock-h, 3.55rem) + 0.35rem) !important;
  }
}

/* --------------------------------------------------------------------------
   Policy modal polish
   -------------------------------------------------------------------------- */
.modal-custom {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(26, 22, 24, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-custom[style*="block"],
.modal-custom.is-open {
  display: flex !important;
}

.modal-content-custom {
  background: var(--jd-surface);
  border-radius: var(--jd-radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--jd-shadow-lg);
}

.modal-left {
  background: var(--jd-primary) !important;
  padding: 1.5rem !important;
}

/* --------------------------------------------------------------------------
   Overview / about page extras
   -------------------------------------------------------------------------- */

/* Come & Enjoy — boutique invitation block */
.jd-enjoy {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 55% 50% at 88% 30%, rgba(212, 175, 106, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 45% at 8% 75%, rgba(176, 137, 71, 0.08), transparent 55%),
    var(--jd-bg);
}

.jd-enjoy__glow {
  position: absolute;
  inset: auto -6% 10% auto;
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.18), transparent 68%);
  pointer-events: none;
  filter: blur(6px);
}

.jd-enjoy__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.jd-enjoy__copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1.1rem;
}

.jd-enjoy__copy h2 em {
  font-style: italic;
  color: var(--jd-primary);
  font-weight: 500;
}

.jd-enjoy__lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--jd-text);
  max-width: 40ch;
  margin: 0 0 1rem;
}

.jd-enjoy__copy > p {
  color: var(--jd-text-muted);
  margin: 0 0 1rem;
  max-width: 44ch;
}

.jd-enjoy__list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jd-enjoy__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--jd-text-muted);
}

.jd-enjoy__check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--jd-primary-soft);
  color: var(--jd-primary);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.jd-enjoy__visual {
  position: relative;
  min-height: clamp(340px, 42vw, 480px);
}

.jd-enjoy__media {
  margin: 0;
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(176, 137, 71, 0.2);
  box-shadow: var(--jd-shadow-lg);
  background: var(--jd-surface);
}

body.jd-body .jd-enjoy__media img,
.jd-enjoy__media img {
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--jd-ease-out);
}

body.jd-body .jd-value-card__media img,
.jd-value-card__media img {
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
}

.jd-enjoy__media:hover img {
  transform: scale(1.05);
}

.jd-enjoy__media--main {
  position: relative;
  width: 88%;
  margin-left: auto;
  aspect-ratio: 16 / 11;
}

.jd-enjoy__media--float {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 46%;
  aspect-ratio: 16 / 11;
  border-radius: var(--jd-radius-md);
  transform: rotate(-2.5deg);
  z-index: 2;
  animation: jd-enjoy-float 7.5s ease-in-out infinite;
}

.jd-enjoy__tag {
  position: absolute;
  left: 0.85rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: var(--jd-radius-pill);
  background: rgba(42, 34, 24, 0.55);
  backdrop-filter: blur(8px);
  color: #fffbf5;
  font-size: 0.68rem;
  font-weight: var(--jd-fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jd-enjoy__quote {
  position: absolute;
  right: 4%;
  top: 6%;
  z-index: 3;
  max-width: 220px;
  padding: 1rem 1.1rem;
  border-radius: var(--jd-radius-md);
  background: linear-gradient(145deg, #fffdf8 0%, #f3e6cf 100%);
  border: 1px solid rgba(176, 137, 71, 0.32);
  box-shadow: var(--jd-shadow-md);
  animation: jd-enjoy-badge 6s ease-in-out infinite;
}

.jd-enjoy__quote p {
  margin: 0 0 0.45rem;
  font-family: var(--jd-font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--jd-text);
}

.jd-enjoy__quote span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-text-muted);
}

@keyframes jd-enjoy-float {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50% { transform: rotate(-2.5deg) translateY(-10px); }
}
@keyframes jd-enjoy-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 900px) {
  .jd-enjoy__layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .jd-enjoy__visual {
    order: -1;
    min-height: 300px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .jd-enjoy__media--main {
    width: 92%;
  }

  .jd-enjoy__media--float {
    width: 48%;
    bottom: 4%;
  }

  .jd-enjoy__quote {
    max-width: 180px;
    padding: 0.8rem 0.9rem;
    top: 4%;
    right: 2%;
  }

  .jd-enjoy__quote p {
    font-size: 0.95rem;
  }

  .jd-enjoy__lead,
  .jd-enjoy__copy > p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .jd-enjoy__visual {
    min-height: 280px;
  }

  .jd-enjoy__media--float {
    width: 50%;
  }

  .jd-enjoy__quote {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jd-enjoy__media--float,
  .jd-enjoy__quote {
    animation: none !important;
  }
}

.jd-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.jd-value-card {
  background: var(--jd-surface);
  border: 1px solid var(--jd-border);
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  box-shadow: var(--jd-shadow-sm);
  transition: transform 0.45s var(--jd-ease);
}

.jd-value-card:hover {
  transform: translateY(-4px);
}

.jd-value-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.jd-value-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--jd-ease-out);
}

.jd-value-card:hover .jd-value-card__media img {
  transform: scale(1.05);
}

.jd-value-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.jd-value-card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.jd-value-card__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--jd-text-muted);
}

@media (max-width: 900px) {
  .jd-values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .jd-values {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Misc overrides for old bootstrap remnants
   -------------------------------------------------------------------------- */
body.jd-body .page {
  overflow: visible;
  background: transparent;
}

/* container padding is defined in Utilities — do not zero it here */

body.jd-body .divider-lg,
body.jd-body .blanc-service-divider,
body.jd-body .blanc-service-wave,
body.jd-body .blanc-story-wave-top,
body.jd-body .mnb-reviews-wave {
  display: none !important;
}

body.jd-body .text-primary {
  color: var(--jd-primary) !important;
}

/* Policy / Terms legal pages */
.jd-legal {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background: var(--jd-bg);
}

.jd-legal__shell {
  width: min(100%, 820px);
  margin-inline: auto;
  background: var(--jd-surface);
  border: 1px solid rgba(176, 137, 71, 0.16);
  border-radius: var(--jd-radius-lg);
  box-shadow: var(--jd-shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.jd-legal__intro {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--jd-border);
}

.jd-legal__intro .jd-display {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.35rem 0 0.65rem;
  max-width: 18ch;
}

.jd-legal__updated {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--jd-text-muted);
}

.jd-legal__lead {
  margin: 0;
  color: var(--jd-text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52ch;
}

.jd-legal__block {
  padding: 1.15rem 0 0.35rem;
}

.jd-legal__block + .jd-legal__block {
  border-top: 1px solid rgba(42, 34, 24, 0.06);
  margin-top: 0.5rem;
}

.jd-legal h2,
.jd-legal h3,
.jd-legal h4 {
  font-family: var(--jd-font-display);
  font-weight: 500;
  color: var(--jd-secondary);
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.jd-legal p,
.jd-legal li {
  color: var(--jd-text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.7;
  font-size: 0.98rem;
}

.jd-legal p:last-child,
.jd-legal li:last-child {
  margin-bottom: 0;
}

.jd-legal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.35rem;
}

.jd-legal ul li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.65rem;
}

.jd-legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jd-primary);
  opacity: 0.85;
}

.jd-legal a {
  color: var(--jd-primary);
  text-decoration: none;
  font-weight: 500;
}

.jd-legal a:hover {
  color: var(--jd-primary-hover);
  text-decoration: underline;
}

.jd-legal__contact {
  margin-top: 1.75rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--jd-radius-md);
  background: linear-gradient(180deg, #FFFcf7 0%, var(--jd-primary-soft) 180%);
  border: 1px solid rgba(176, 137, 71, 0.22);
}

.jd-legal__contact h3 {
  margin-bottom: 0.5rem;
}

.jd-legal__contact p {
  margin-bottom: 0.45rem;
}

.jd-legal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

@media (max-width: 700px) {
  .jd-legal__shell {
    border-radius: var(--jd-radius-md);
    padding: 1.25rem 1.1rem 1.4rem;
  }

  .jd-legal__actions {
    flex-direction: column;
  }

  .jd-legal__actions .jd-btn {
    width: 100%;
    justify-content: center;
  }
}

/* API service cards (services page) */
.blanc-service-api-card {
  position: relative;
  background: var(--jd-surface);
  border: 1px solid var(--jd-border);
  border-radius: var(--jd-radius-md);
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: var(--jd-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.45s var(--jd-ease), box-shadow 0.45s var(--jd-ease);
  min-height: 180px;
}

.blanc-service-api-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jd-shadow-md);
}

.blanc-service-api-card.is-featured {
  border-color: rgba(176, 137, 71, 0.35);
  background: linear-gradient(180deg, #fff 0%, var(--jd-primary-soft) 160%);
}

/* Signature badge — in normal flow (never covers price) */
.blanc-service-api-ribbon {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #C9A227, #B08947);
  border: none;
  border-radius: var(--jd-radius-pill);
  padding: 0.28rem 0.65rem;
  z-index: 1;
  pointer-events: none;
}

.blanc-service-api-ribbon span {
  color: #fff;
  white-space: nowrap;
}

.blanc-service-api-title {
  font-family: var(--jd-font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
  padding-right: 0;
  line-height: 1.25;
  min-width: 0;
}

.blanc-service-api-title a {
  color: var(--jd-text);
  transition: color 0.3s;
}

.blanc-service-api-title a:hover {
  color: var(--jd-primary);
}

.blanc-service-api-desc {
  font-size: 0.88rem;
  color: var(--jd-text-muted);
  line-height: 1.55;
  flex: 1;
}

.blanc-service-api-desc .desc-line {
  display: block;
  margin-bottom: 0.25rem;
}

.blanc-service-api-desc .desc-bullet {
  display: block;
  padding-left: 0.85rem;
  position: relative;
  margin-top: 0.2rem;
}

.blanc-service-api-desc .desc-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jd-accent);
}

.blanc-service-api-divider {
  height: 1px;
  background: var(--jd-border);
  margin: 0.25rem 0;
}

.blanc-service-api-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.jd-service-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: var(--jd-radius-pill);
  background: linear-gradient(135deg, #C9A227 0%, #B08947 48%, #8F6E38 100%);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--jd-shadow-glow);
  transition: transform 0.35s var(--jd-ease), filter 0.3s;
  align-self: flex-start;
}

.jd-service-book-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  color: #fff !important;
}

.blanc-service-api-price {
  font-weight: 700;
  color: var(--jd-primary);
  font-size: 1.05rem;
}

.blanc-service-api-time {
  font-size: 0.8rem;
  color: var(--jd-text-muted);
}

.blanc-service-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--jd-text-muted);
}

.blanc-service-pagination {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--jd-border);
}

.blanc-service-page-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.blanc-service-page {
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--jd-radius-pill);
  border: 1px solid var(--jd-border-strong);
  background: var(--jd-surface);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--jd-text-muted);
  transition: all 0.3s var(--jd-ease);
}

.blanc-service-page:hover:not(:disabled),
.blanc-service-page.is-active {
  background: var(--jd-primary);
  border-color: var(--jd-primary);
  color: #fff;
}

.blanc-service-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.blanc-service-pagination-meta {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: var(--jd-text-muted);
  margin-top: 0.35rem;
}

.blanc-menu-pagination,
.menu-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* Hours list formatting from addBusinessHour */
#business-hour {
  list-style: none;
  padding: 0;
  margin: 0;
}

#business-hour li {
  display: block;
}

#business-hour .row,
#business-hour [class*="col-"] {
  display: contents;
}

/* Policy page cards */
.mnb-policy-section {
  background: var(--jd-bg);
}

.mnb-policy-head {
  margin-bottom: 2rem;
}

.mnb-policy-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jd-primary);
  margin-bottom: 0.75rem;
}

.mnb-policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.mnb-policy-card {
  background: var(--jd-surface);
  border: 1px solid var(--jd-border);
  border-radius: var(--jd-radius-lg);
  padding: 1.35rem;
  box-shadow: var(--jd-shadow-sm);
  transition: transform 0.4s var(--jd-ease);
}

.mnb-policy-card:hover {
  transform: translateY(-3px);
}

.mnb-policy-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--jd-primary-soft);
  color: var(--jd-primary);
  margin-bottom: 0.85rem;
}

.mnb-policy-icon svg {
  width: 20px;
  height: 20px;
}

.mnb-policy-card-title {
  font-family: var(--jd-font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.mnb-policy-card-summary {
  font-size: 0.88rem;
  color: var(--jd-text-muted);
  margin: 0 0 0.85rem;
}

.mnb-policy-card-body ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0;
}

.mnb-policy-card-body li {
  font-size: 0.88rem;
  color: var(--jd-text-muted);
  margin-bottom: 0.4rem;
}

.mnb-policy-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--jd-surface);
  border: 1px solid var(--jd-border);
  border-radius: var(--jd-radius-lg);
}

.mnb-policy-cta-title {
  font-family: var(--jd-font-display) !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  margin-bottom: 1.25rem !important;
}

.mnb-policy-cta-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--jd-radius-pill);
  background: var(--jd-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--jd-shadow-glow);
}

/* Grain overlay (fixed, pointer-none) */
body.jd-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Services page redesign (beige / gold)
   ========================================================================== */

/* Force readable left inset on services slides / heroes */
body.jd-page-services .svc-hero__content,
body.jd-page-services .svc-menu > .jd-container,
body.jd-page-services .svc-preview > .jd-container {
  padding-left: max(1.5rem, var(--jd-gutter), env(safe-area-inset-left, 0px)) !important;
  padding-right: max(1.5rem, var(--jd-gutter), env(safe-area-inset-right, 0px)) !important;
  box-sizing: border-box !important;
}

body.jd-page-services .svc-cat-hero__copy {
  padding: 1.75rem 1.6rem 1.85rem !important;
}

@media (min-width: 801px) {
  body.jd-page-services .svc-cat-hero__copy {
    padding: 2.25rem 2.25rem 2.35rem !important;
  }
}

@media (max-width: 767.98px) {
  body.jd-page-services .svc-hero__content,
  body.jd-page-services .svc-menu > .jd-container,
  body.jd-page-services .svc-preview > .jd-container {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px)) !important;
  }

  body.jd-page-services .svc-cat-hero__copy {
    padding: 1.4rem 1.4rem 1.55rem !important;
  }
}

.jd-page-services .svc-hero {
  position: relative;
  min-height: clamp(420px, 68vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--jd-header-h) + 2rem) 0 3.5rem;
  overflow: hidden;
  color: var(--jd-text-inverse);
  box-sizing: border-box;
}

.svc-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.svc-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(18, 14, 10, 0.88) 0%, rgba(28, 22, 16, 0.72) 48%, rgba(80, 58, 28, 0.5) 100%),
    linear-gradient(0deg, rgba(18, 14, 10, 0.55), transparent 55%);
}

.svc-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

.svc-hero__copy {
  max-width: 34rem;
  width: 100%;
  box-sizing: border-box;
  /* Extra inset so hero text never hugs the slide edge */
  padding-left: 0.15rem;
  padding-right: 0.5rem;
}

@media (max-width: 767.98px) {
  .jd-page-services .svc-hero {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 2.75rem;
  }

  .svc-hero__content.jd-container {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px)) !important;
  }

  .svc-hero__copy {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .svc-hero__copy h1,
  .svc-hero__copy > p,
  .svc-hero__badge {
    max-width: 100%;
  }

  .svc-hero__copy .jd-actions {
    width: 100%;
  }
}

.svc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: var(--jd-radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 221, 140, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe9a8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.svc-hero__copy h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

.svc-hero__copy h1 em {
  font-style: italic;
  color: #ffe08a !important;
  -webkit-text-fill-color: #ffe08a !important;
  background: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.svc-hero__copy > p {
  color: rgba(255, 255, 255, 0.94) !important;
  max-width: 38ch;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.55;
}

/* Preview category strip */
.svc-preview {
  background: var(--jd-surface);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--jd-border);
}

.svc-preview__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

.svc-preview__title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.svc-preview__lead {
  max-width: 32ch;
  margin: 0;
  color: var(--jd-text-muted);
  font-size: 0.95rem;
}

.svc-preview__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.svc-preview__card {
  position: relative;
  border-radius: var(--jd-radius-md);
  overflow: hidden;
  background: var(--jd-bg-deep);
  border: 1px solid rgba(176, 137, 71, 0.18);
  box-shadow: var(--jd-shadow-sm);
  min-height: 220px;
  transition: transform 0.45s var(--jd-ease), box-shadow 0.45s var(--jd-ease);
}

.svc-preview__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jd-shadow-md), 0 12px 28px rgba(176, 137, 71, 0.16);
}

.svc-preview__img {
  position: absolute;
  inset: 0;
}

body.jd-body .svc-preview__img img,
.svc-preview__img img {
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--jd-ease-out);
}

.svc-preview__card:hover .svc-preview__img img {
  transform: scale(1.06);
}

.svc-preview__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(42, 34, 24, 0.82));
  color: #fff;
  z-index: 1;
}

.svc-preview__body h3 {
  font-family: var(--jd-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.2rem;
}

.svc-preview__body p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 252, 247, 0.8);
}

@media (max-width: 1100px) {
  .svc-preview__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .svc-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-preview__card {
    min-height: 180px;
  }
}

/* Menu section */
.svc-menu {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(212, 175, 106, 0.12), transparent 55%),
    var(--jd-bg);
  overflow-x: clip;
}

.svc-menu .jd-container,
.svc-preview .jd-container {
  box-sizing: border-box;
}

.svc-menu__intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
  padding-inline: 0.15rem;
}

.svc-menu__wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.svc-menu__intro h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.svc-menu__intro p {
  margin: 0;
  color: var(--jd-text-muted);
}

.svc-menu__sticky {
  position: sticky;
  top: calc(var(--jd-header-h) + 0.35rem);
  z-index: 20;
  margin-bottom: 1.5rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--jd-radius-lg);
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid rgba(176, 137, 71, 0.2);
  box-shadow: var(--jd-shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.svc-tabs,
.svc-menu .blanc-menu-filter,
.svc-menu #menu-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  justify-content: flex-start;
  padding: 0.1rem 0.15rem 0.25rem;
  margin-bottom: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.svc-tabs .blanc-menu-tab,
.svc-menu .blanc-menu-tab {
  flex: 0 0 auto;
  white-space: nowrap;
  background: transparent;
  border-color: transparent;
  color: var(--jd-text-muted);
}

.svc-tabs .blanc-menu-tab:hover,
.svc-menu .blanc-menu-tab:hover {
  background: var(--jd-primary-soft);
  color: var(--jd-secondary);
  border-color: transparent;
}

.svc-tabs .blanc-menu-tab.active,
.svc-menu .blanc-menu-tab.active {
  background: linear-gradient(135deg, #C9A227, #B08947 55%, #8F6E38);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(176, 137, 71, 0.28);
}

/* Category hero — split shell */
.svc-cat-hero,
.svc-menu #menu-category-hero {
  position: relative;
  min-height: 0;
  margin-bottom: 1.75rem;
  display: block;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.svc-cat-hero__shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-radius: var(--jd-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(176, 137, 71, 0.22);
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-md), 0 16px 40px rgba(176, 137, 71, 0.1);
  min-height: 280px;
}

.svc-cat-hero__media {
  position: relative;
  min-height: 280px;
  background: var(--jd-bg-deep);
}

.svc-cat-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.svc-cat-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255, 252, 247, 0.08));
  pointer-events: none;
}

.svc-cat-hero__copy {
  padding: clamp(1.6rem, 3.5vw, 2.75rem) clamp(1.4rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, #FFFcf7 0%, #F3E9D6 100%);
  box-sizing: border-box;
  min-width: 0;
}

.svc-cat-hero__copy .svc-cat-hero__title,
.svc-cat-hero__copy .svc-cat-hero__text,
.svc-cat-hero__copy .svc-cat-hero__label {
  padding-left: 0;
  margin-left: 0;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.svc-cat-hero__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jd-primary);
  margin-bottom: 0.55rem;
}

.svc-cat-hero__title {
  font-family: var(--jd-font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 500;
  color: var(--jd-text);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.svc-cat-hero__text {
  margin: 0 0 1.25rem;
  color: var(--jd-text-muted);
  font-size: 0.95rem;
  max-width: 36ch;
  line-height: 1.6;
}

.svc-cat-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.svc-cat-hero__meta span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: var(--jd-radius-pill);
  background: rgba(176, 137, 71, 0.12);
  color: var(--jd-secondary);
  border: 1px solid rgba(176, 137, 71, 0.2);
}

@media (max-width: 800px) {
  .svc-cat-hero__shell {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
  }
  .svc-cat-hero__media {
    min-height: 200px;
    aspect-ratio: 16/10;
  }
  .svc-cat-hero__copy {
    padding: 1.35rem 1.35rem 1.5rem !important;
  }
  .svc-menu #menu-category-hero,
  .svc-cat-hero {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
    margin-inline: 0;
    box-sizing: border-box;
  }
}

/* Service cards grid */
.svc-cards,
.svc-menu #menu-container.blanc-menu-grid,
.svc-menu #menu-container,
.blanc-menu-grid,
#menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-inline: 0;
  padding-inline: 0;
}

.svc-card.blanc-service-api-card,
.svc-menu .blanc-service-api-card,
.blanc-service-api-card {
  background: var(--jd-surface);
  border: 1px solid rgba(176, 137, 71, 0.16);
  border-radius: var(--jd-radius-lg);
  padding: 1.35rem 1.3rem 1.2rem;
  box-shadow: var(--jd-shadow-sm);
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .svc-preview,
  .svc-menu {
    padding-inline: 0;
  }

  .svc-preview__grid {
    gap: 0.7rem;
  }

  .svc-menu__sticky {
    margin-inline: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .svc-cat-hero__shell {
    border-radius: var(--jd-radius-lg);
    width: 100%;
    max-width: 100%;
  }

  .svc-cat-hero__copy {
    padding: 1.25rem 1.15rem 1.4rem;
  }

  .svc-cards,
  .svc-menu #menu-container.blanc-menu-grid,
  .svc-menu #menu-container,
  .blanc-menu-grid,
  #menu-container {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .svc-card.blanc-service-api-card,
  .svc-menu .blanc-service-api-card,
  .blanc-service-api-card {
    padding: 1.15rem 1.1rem 1.05rem;
  }

  .svc-note {
    margin-inline: 0;
    width: 100%;
    box-sizing: border-box;
  }

  /* Home services block */
  #services .jd-container,
  #services .service-list,
  #services .jd-menu-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
}

.svc-card.blanc-service-api-card::before,
.svc-menu .blanc-service-api-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--jd-gold-bright), var(--jd-primary), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.svc-card.blanc-service-api-card:hover::before,
.svc-menu .blanc-service-api-card:hover::before {
  opacity: 1;
}

.svc-card.blanc-service-api-card.is-featured,
.svc-menu .blanc-service-api-card.is-featured {
  background: linear-gradient(180deg, #FFFcf7 0%, #F3E9D6 160%);
  border-color: rgba(176, 137, 71, 0.35);
}

/* Ensure Signature ribbon never sits on top of price */
.svc-card.blanc-service-api-card.is-featured .blanc-service-api-ribbon,
.svc-menu .blanc-service-api-card.is-featured .blanc-service-api-ribbon,
.svc-menu .blanc-service-api-ribbon {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 0 0.55rem !important;
  align-self: flex-start;
}

.svc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.svc-card__top .blanc-service-api-title {
  padding-right: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.3rem;
}

.svc-card__price {
  flex: 0 0 auto;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--jd-primary);
  font-family: var(--jd-font-display);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  margin-left: 0.35rem;
}

.svc-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--jd-border);
}

.svc-card__footer .jd-service-book-btn {
  margin-top: 0;
}

.svc-card__time-icon {
  opacity: 0.7;
}

.svc-menu .blanc-service-api-ribbon {
  background: linear-gradient(135deg, #C9A227, #B08947);
  color: #fff;
  border: none;
}

.svc-menu .blanc-service-api-ribbon span {
  color: #fff;
}

/* Pricing note */
.svc-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--jd-radius-lg);
  background: var(--jd-surface);
  border: 1px solid rgba(176, 137, 71, 0.18);
  box-shadow: var(--jd-shadow-sm);
}

.svc-note__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jd-primary-soft);
  color: var(--jd-primary);
  font-weight: 700;
  font-style: italic;
  font-family: var(--jd-font-display);
  font-size: 1.1rem;
}

.svc-note h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  font-family: var(--jd-font-body);
  font-weight: 600;
}

.svc-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--jd-text-muted);
}

/* Services CTA */
.svc-cta {
  position: relative;
  overflow: hidden;
  color: var(--jd-text-inverse);
}

.svc-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(42, 34, 24, 0.9) 0%, rgba(143, 110, 56, 0.78) 55%, rgba(42, 34, 24, 0.6) 100%);
}

.svc-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(3.5rem, 7vw, 5rem);
}

.svc-cta__inner h2 {
  color: #FFFcf7;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 12ch;
}

.svc-cta__inner p {
  color: rgba(255, 252, 247, 0.78);
  margin: 0.65rem 0 0;
  max-width: 34ch;
}

/* Hide old category hero media styles when new structure is used */
.svc-menu .blanc-menu-category-hero-media,
.svc-menu .blanc-menu-category-hero-overlay {
  display: none;
}

/* ==========================================================================
   Why Choose Us — boutique luxury
   ========================================================================== */
.jd-why-boutique {
  background:
    radial-gradient(ellipse 55% 45% at 0% 20%, rgba(212, 175, 106, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 35% at 100% 80%, rgba(176, 137, 71, 0.08), transparent 50%),
    var(--jd-bg);
  overflow: hidden;
}

.jd-why-boutique__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.jd-why-boutique__head .jd-display {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.jd-why-boutique__lead {
  max-width: 34ch;
  margin: 0;
  color: var(--jd-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.jd-why-boutique__stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: stretch;
}

.jd-why-boutique__gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr auto;
  gap: 0.9rem;
  min-height: 480px;
}

.jd-why-boutique__frame {
  position: relative;
  margin: 0;
  border-radius: var(--jd-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(176, 137, 71, 0.22);
  box-shadow: var(--jd-shadow-md);
  background: var(--jd-bg-deep);
}

.jd-why-boutique__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--jd-ease-out);
}

.jd-why-boutique__frame:hover img {
  transform: scale(1.04);
}

.jd-why-boutique__frame--main {
  grid-row: 1 / 3;
  min-height: 420px;
}

.jd-why-boutique__frame--side {
  min-height: 200px;
  aspect-ratio: 1;
}

.jd-why-boutique__frame figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(42, 34, 24, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.jd-why-boutique__quote {
  grid-column: 2;
  padding: 1.25rem 1.2rem;
  border-radius: var(--jd-radius-md);
  background: linear-gradient(145deg, #FFFcf7 0%, #F3E9D6 100%);
  border: 1px solid rgba(176, 137, 71, 0.28);
  box-shadow: var(--jd-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.jd-why-boutique__quote p {
  margin: 0;
  font-family: var(--jd-font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--jd-text);
}

.jd-why-boutique__quote span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-primary);
}

.jd-why-boutique__points {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}

.jd-why-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(176, 137, 71, 0.16);
}

.jd-why-point:first-child {
  border-top: 1px solid rgba(176, 137, 71, 0.16);
}

.jd-why-point__num {
  font-family: var(--jd-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--jd-primary);
  line-height: 1;
  min-width: 2rem;
  background: linear-gradient(135deg, #C9A227, #B08947);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.jd-why-point h3 {
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
}

.jd-why-point p {
  margin: 0;
  color: var(--jd-text-muted);
  font-size: 0.92rem;
  max-width: 38ch;
}

.jd-why-boutique__points .jd-btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .jd-why-boutique__stage {
    grid-template-columns: 1fr;
  }
  .jd-why-boutique__gallery {
    min-height: 0;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto;
  }
  .jd-why-boutique__frame--main {
    min-height: 300px;
    grid-row: auto;
  }
  .jd-why-boutique__quote {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .jd-why-boutique__gallery {
    grid-template-columns: 1fr;
  }
  .jd-why-boutique__frame--side {
    aspect-ratio: 16/10;
    min-height: 180px;
  }
}

/* ==========================================================================
   Our Team — boutique artist cards
   API photo/title/bio when present · monogram + curated copy as fallback
   Desktop: auto-fit columns · Mobile: horizontal compact cards
   ========================================================================== */
.jd-team-section,
.staff-section.jd-section {
  position: relative;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(212, 175, 106, 0.12), transparent 62%),
    linear-gradient(180deg, var(--jd-surface) 0%, var(--jd-bg) 100%);
  overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 4.25rem) !important;
  border-block: 1px solid rgba(176, 137, 71, 0.12);
}

.jd-team-section > .jd-container,
.staff-section > .jd-container {
  position: relative;
  z-index: 1;
}

.jd-team-section__intro,
.staff-section .jd-services__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jd-team-section__intro .jd-eyebrow,
.staff-section .jd-services__head .jd-eyebrow {
  margin-bottom: 0.55rem;
  justify-content: center;
}

.jd-team-section__intro .jd-eyebrow::before {
  display: none;
}

.jd-team-section__intro .jd-display,
.staff-section .jd-services__head .jd-display {
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  max-width: none;
  margin: 0 0 0.55rem;
  line-height: 1.12;
}

.jd-team-section__lead,
.staff-section .jd-services__head > p {
  margin: 0;
  color: var(--jd-text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 40ch;
  text-align: center;
}

.jd-team-section__rule {
  width: 52px;
  height: 2px;
  margin-top: 1.15rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--jd-gold), var(--jd-primary), transparent);
}

.jd-team-grid {
  --jd-team-count: 4;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.15rem;
  width: 100%;
  max-width: min(1080px, 100%);
  margin-inline: auto;
  align-items: stretch;
}

.jd-team-grid[data-count="1"] { max-width: 320px; }
.jd-team-grid[data-count="2"] { max-width: 560px; }
.jd-team-grid[data-count="3"] { max-width: 820px; }

.jd-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.85rem;
  padding: 1.45rem 1.1rem 1.35rem;
  min-height: 100%;
  background:
    linear-gradient(165deg, #FFFef9 0%, #FBF6EE 55%, #F3E9D6 100%);
  border: 1px solid rgba(176, 137, 71, 0.22);
  border-radius: var(--jd-radius-lg);
  box-shadow: var(--jd-shadow-sm);
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
  box-sizing: border-box;
  transition: transform 0.4s var(--jd-ease-out), box-shadow 0.4s, border-color 0.3s;
  overflow: hidden;
}

.jd-team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--jd-gold), var(--jd-primary), transparent);
  opacity: 0.85;
}

a.jd-team-card:hover,
.jd-team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(176, 137, 71, 0.45);
  box-shadow: var(--jd-shadow-md), 0 12px 32px rgba(176, 137, 71, 0.14);
  color: inherit;
  text-decoration: none !important;
}

/* Avatar — photo from API or monogram fallback */
.jd-team-card__media {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(160deg, #F3E9D6, #E8D5A8);
  border: 2.5px solid rgba(201, 162, 39, 0.7);
  box-shadow:
    0 0 0 5px #FFFcf7,
    0 0 0 7px rgba(176, 137, 71, 0.28),
    0 10px 24px rgba(42, 34, 24, 0.1);
}

body.jd-body .jd-team-card__media img,
.jd-team-card__media img {
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--jd-ease-out);
}

.jd-team-card:hover .jd-team-card__media img {
  transform: scale(1.06);
}

.jd-team-card__num {
  display: none; /* desktop clean; shown on mobile chip style if needed */
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  z-index: 2;
  font-family: var(--jd-font-display);
  font-size: 0.72rem;
  color: #fffbf5;
  background: rgba(42, 34, 24, 0.45);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.jd-team-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  min-width: 0;
  flex: 1;
}

.jd-team-card__role {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jd-primary);
  line-height: 1.25;
}

.jd-team-card__name {
  margin: 0;
  font-family: var(--jd-font-display);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--jd-text);
  line-height: 1.2;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.15rem;
}

.jd-team-card__bio {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--jd-text-muted);
  line-height: 1.5;
  max-width: 28ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jd-team-card__cta {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jd-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.jd-team-card__cta span {
  transition: transform 0.3s var(--jd-ease);
}

a.jd-team-card:hover .jd-team-card__cta span {
  transform: translateX(3px);
}

.jd-team-section__side,
.jd-team-section__bg {
  display: none !important;
}

/* Tablet */
@media (max-width: 900px) {
  .jd-team-section__intro,
  .staff-section .jd-services__head {
    margin-bottom: 1.5rem;
  }

  .jd-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 560px;
  }

  .jd-team-card__media {
    width: 88px;
    height: 88px;
  }
}

/* Mobile — horizontal cards, easy to scan */
@media (max-width: 640px) {
  .jd-team-section,
  .staff-section.jd-section {
    padding-block: 2.1rem !important;
  }

  .jd-team-section__intro .jd-display,
  .staff-section .jd-services__head .jd-display {
    font-size: 1.75rem;
  }

  .jd-team-section__lead,
  .staff-section .jd-services__head > p {
    font-size: 0.88rem;
    max-width: none;
  }

  .jd-team-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    max-width: none;
  }

  .jd-team-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.9rem;
    padding: 0.85rem 0.95rem;
    border-radius: var(--jd-radius-md);
    min-height: 0;
  }

  .jd-team-card::before {
    inset: 0 auto 0 0;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--jd-gold), var(--jd-primary));
  }

  a.jd-team-card:hover,
  .jd-team-card:hover {
    transform: none;
  }

  .jd-team-card__media {
    width: 72px;
    height: 72px;
    box-shadow:
      0 0 0 3px #FFFcf7,
      0 0 0 5px rgba(176, 137, 71, 0.25);
  }

  .jd-team-card__body {
    align-items: flex-start;
    gap: 0.18rem;
  }

  .jd-team-card__name {
    font-size: 1.2rem;
    white-space: normal;
  }

  .jd-team-card__role {
    font-size: 0.62rem;
  }

  .jd-team-card__bio {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
    max-width: none;
    margin-top: 0.15rem;
  }

  .jd-team-card__cta {
    padding-top: 0.4rem;
    font-size: 0.66rem;
  }
}

.jd-team-section .staff-list .row,
.staff-section .staff-list .row {
  display: contents;
}

/* Overview page team uses jd-section--deep — keep readable cards */
.staff-section.jd-section--deep {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(212, 175, 106, 0.1), transparent 60%),
    var(--jd-bg-deep);
}

/* ==========================================================================
   Connect / Discover with Us — compact + strong borders
   ========================================================================== */
.jd-connect {
  position: relative;
  overflow: hidden;
  background: var(--jd-secondary);
  color: var(--jd-text-inverse);
  padding-block: clamp(2.25rem, 5vw, 3.25rem) !important;
}

.jd-connect__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
}

.jd-connect__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jd-connect__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(42, 34, 24, 0.94) 0%, rgba(42, 34, 24, 0.86) 50%, rgba(90, 68, 32, 0.72) 100%);
}

.jd-connect > .jd-container {
  position: relative;
  z-index: 1;
}

/* Outer framed panel */
.jd-connect__shell {
  border: 1.5px solid rgba(255, 233, 168, 0.45);
  border-radius: var(--jd-radius-lg);
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  background: rgba(255, 252, 247, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.jd-connect__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: center;
}

.jd-connect__copy .jd-eyebrow {
  color: #ffe9a8;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
}

.jd-connect__copy .jd-eyebrow::before {
  background: #ffe9a8;
  width: 14px;
}

.jd-connect__copy .jd-display {
  color: #ffffff;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  max-width: 12ch;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  line-height: 1.12;
}

.jd-connect__copy > p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 36ch;
  margin: 0 0 0.75rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.jd-connect__copy .brand {
  color: #ffe9a8;
  font-weight: 600;
}

.jd-connect__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.jd-connect__meta a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.3s;
}

.jd-connect__meta a:hover {
  color: #ffe9a8 !important;
}

/* Desktop: 3 compact cards in a row; mobile: 1 column stacked */
.jd-connect__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.jd-connect-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.07);
  border: 1.5px solid rgba(255, 233, 168, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none !important;
  color: #fff !important;
  transition: transform 0.35s var(--jd-ease), background 0.3s, border-color 0.3s, box-shadow 0.3s;
  min-width: 0;
  box-sizing: border-box;
}

.jd-connect-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 252, 247, 0.12);
  border-color: rgba(255, 233, 168, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 233, 168, 0.25),
    0 12px 28px rgba(0, 0, 0, 0.16);
  color: #fff !important;
}

.jd-connect-card__icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFcf7;
  border: 1.5px solid rgba(201, 162, 39, 0.5);
  box-shadow: 0 4px 12px rgba(42, 34, 24, 0.1);
  flex-shrink: 0;
  color: #1A1510;
}

.jd-connect-card__icon .jd-social-icon,
.jd-connect-card__icon svg {
  width: 1.2rem !important;
  height: 1.2rem !important;
  display: block;
}

.jd-connect-card__icon img {
  display: none !important;
}

.jd-connect-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.jd-connect-card__name {
  font-family: var(--jd-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.jd-connect-card__handle {
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffe9a8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jd-connect-card__blurb {
  display: none; /* compact: hide extra line */
}

.jd-connect-card__arrow {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 233, 168, 0.12);
  border: 1px solid rgba(255, 233, 168, 0.35);
  color: #ffe9a8;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--jd-ease), background 0.3s;
}

.jd-connect-card:hover .jd-connect-card__arrow {
  transform: translate(1px, -1px);
  background: rgba(255, 233, 168, 0.22);
}

/* Tablet: stack section as 2 rows (copy + cards), cards 1 col */
@media (max-width: 900px) {
  .jd-connect__layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .jd-connect__copy {
    text-align: center;
  }

  .jd-connect__copy .jd-display {
    max-width: none;
    margin-inline: auto;
  }

  .jd-connect__copy > p {
    max-width: 42ch;
    margin-inline: auto  auto;
  }

  .jd-connect__meta {
    align-items: center;
  }

  .jd-connect__grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* Mobile: compact, 1 column (stacked rows) */
@media (max-width: 767.98px) {
  .jd-connect {
    padding-block: 1.85rem !important;
  }

  .jd-connect__shell {
    padding: 1rem 0.9rem;
    border-width: 1.5px;
    border-radius: 16px;
  }

  .jd-connect__copy .jd-display {
    font-size: 1.7rem;
  }

  .jd-connect__copy > p {
    font-size: 0.86rem;
    margin-bottom: 0.55rem;
  }

  .jd-connect__grid {
    grid-template-columns: 1fr; /* 1 cột, mỗi social 1 hàng */
    gap: 0.55rem;
  }

  .jd-connect-card {
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
    border-width: 1.5px;
    border-color: rgba(255, 233, 168, 0.5);
  }

  .jd-connect-card__icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .jd-connect-card__name {
    font-size: 1.1rem;
  }

  .jd-connect-card__handle {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Special Promotions — API-driven offers under hero
   Layout: 1 = full | 2 = 2-col | 3+ = responsive grid
   Animated % OFF badge with reduced-motion support
   ========================================================================== */
.jd-offers.promotions,
.jd-offers {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 4.5vw, 3.25rem);
  background: var(--jd-secondary);
  color: #fff;
}

.jd-offers[hidden],
.jd-offers[aria-hidden="true"] {
  display: none !important;
}

.jd-offers.is-visible,
.jd-offers:not([hidden]) {
  display: block;
}

.jd-offers__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(201, 162, 39, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 70% at 90% 40%, rgba(176, 137, 71, 0.2), transparent 50%),
    linear-gradient(135deg, #1f1812 0%, #2c2419 45%, #3a2e1f 100%);
}

.jd-offers__shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 233, 168, 0.06) 48%,
    transparent 62%
  );
  background-size: 200% 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .jd-offers__shine {
    animation: jd-offers-shine 8s ease-in-out infinite;
  }
}

@keyframes jd-offers-shine {
  0%, 100% { background-position: 100% 0; opacity: 0.7; }
  50% { background-position: 0% 0; opacity: 1; }
}

.jd-offers > .jd-container {
  position: relative;
  z-index: 1;
}

.jd-offers__head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.jd-offers__head .jd-eyebrow {
  color: #ffe9a8;
  justify-content: center;
  margin-bottom: 0.45rem;
}

.jd-offers__head .jd-eyebrow::before {
  background: #ffe9a8;
}

.jd-offers__head .jd-display,
.jd-offers__head h2,
body.jd-body .jd-offers__head h2,
body.jd-body .jd-offers__head .jd-display {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.jd-offers__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.9rem;
}

/* Grid splits by count */
.jd-offers__grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.jd-offers__grid.is-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jd-offers__grid.is-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jd-offers__grid.is-count-many {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.jd-offers-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 233, 168, 0.4);
  background: rgba(255, 252, 247, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  min-width: 0;
  animation: jd-offers-card-in 0.7s var(--jd-ease-out) both;
  animation-delay: calc(var(--i, 0) * 0.08s);
}

@keyframes jd-offers-card-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.jd-offers-card__glow {
  position: absolute;
  width: 140px;
  height: 140px;
  top: -40px;
  left: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.35), transparent 70%);
  pointer-events: none;
}

/* Animated OFF badge */
.jd-offers-card__badge {
  position: relative;
  z-index: 1;
  width: 88px;
  min-height: 88px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  background: linear-gradient(145deg, #ffe9a8 0%, #c9a227 45%, #8f6e38 100%);
  color: #1f1812;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 0 0 4px rgba(255, 233, 168, 0.15),
    0 10px 24px rgba(201, 162, 39, 0.35);
  flex-shrink: 0;
  align-self: center;
}

.jd-offers-card__badge.is-soft {
  opacity: 0.92;
}

.jd-offers-card__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 233, 168, 0.55);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .jd-offers-card__badge {
    animation: jd-offers-badge-float 2.8s ease-in-out infinite;
  }
  .jd-offers-card__pulse {
    animation: jd-offers-pulse 2.2s ease-out infinite;
  }
  .jd-offers-card__num {
    animation: jd-offers-num-pop 2.8s ease-in-out infinite;
  }
}

@keyframes jd-offers-badge-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}

@keyframes jd-offers-pulse {
  0% { transform: scale(0.92); opacity: 0.85; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@keyframes jd-offers-num-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.jd-offers-card__amount {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  font-family: var(--jd-font-display);
  font-weight: 600;
}

.jd-offers-card__num {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.jd-offers-card__unit {
  font-size: 0.95rem;
  margin-top: 0.15rem;
  font-weight: 700;
}

.jd-offers-card__off {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jd-offers-card__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jd-offers-card__tag {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe9a8;
}

.jd-offers-card__title,
.jd-offers-card h3,
body.jd-body .jd-offers-card__title,
body.jd-body .jd-offers-card h3 {
  margin: 0;
  font-family: var(--jd-font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.jd-offers-card__desc,
body.jd-body .jd-offers-card__desc {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jd-offers-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.jd-offers-card__meta span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 233, 168, 0.35);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
}

.jd-offers-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  align-self: flex-start;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe9a8 0%, #c9a227 50%, #b08947 100%);
  color: #1f1812 !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.28);
  transition: transform 0.3s var(--jd-ease), filter 0.3s;
}

.jd-offers-card__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #1f1812 !important;
}

.jd-offers__terms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin: 1.15rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.jd-offers__terms a {
  color: #ffe9a8 !important;
  font-weight: 600;
  text-decoration: none;
}

.jd-offers__terms a:hover {
  text-decoration: underline;
}

/* Single promo: wider, more premium */
.jd-offers__grid.is-count-1 .jd-offers-card {
  max-width: 820px;
  margin-inline: auto;
  width: 100%;
  padding: 1.35rem 1.4rem;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
}

.jd-offers__grid.is-count-1 .jd-offers-card__badge {
  width: 100px;
  min-height: 100px;
}

.jd-offers__grid.is-count-1 .jd-offers-card__num {
  font-size: 1.9rem;
}

@media (max-width: 900px) {
  .jd-offers__grid.is-count-2,
  .jd-offers__grid.is-count-3,
  .jd-offers__grid.is-count-many {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .jd-offers-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 0.75rem;
    padding: 1.1rem 0.95rem 1.15rem;
  }

  .jd-offers-card__content {
    align-items: center;
  }

  .jd-offers-card__desc {
    -webkit-line-clamp: 4;
  }

  .jd-offers-card__cta {
    align-self: center;
  }

  .jd-offers-card__badge {
    width: 80px;
    min-height: 80px;
  }

  .jd-offers-card__num {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jd-offers-card,
  .jd-offers-card__badge,
  .jd-offers-card__pulse,
  .jd-offers-card__num,
  .jd-offers__shine {
    animation: none !important;
  }
}
