/* ==========================================================================
   dz-home.css — Dazzle homepage upgrade
   Step 1: Hero. Tokens mirror innara-vista/css/main.css so both sites match.
   Load AFTER css/custom.css and css/model.css.
   ========================================================================== */

:root {
  --dz-olive: #2C2900;
  --dz-ink: #1A1A1A;
  --dz-cream: #F5F1E4;
  --dz-offwhite: #FAF8F3;
  --dz-gold: #C9A24B;
  --dz-gold-hover: #DAB765;
  --dz-teal: #0B4865;
  --dz-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --dz-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --dz-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dz-radius-pill: 999px;
}

/* ---------- Hero shell (keeps Canvas classes; only height + overlay change) ---------- */
#slider.dz-hero {
  min-height: 100vh !important;   /* beats Bootstrap .min-vh-100 */
  min-height: 100svh !important;  /* mobile browsers with a collapsing address bar */
}

#slider.dz-hero .dz-hero__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.28) 100%) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Switch off any template colour layer on the hero (the photo itself is untouched) */
#slider.dz-hero .slider-inner { background-color: transparent !important; }
#slider.dz-hero::before,
#slider.dz-hero::after,
#slider.dz-hero .slider-inner::before,
#slider.dz-hero .slider-inner::after { background: none !important; }

/* ---------- Content ---------- */
#slider.dz-hero .dz-hero__content {
  max-width: 860px;
  margin-inline: auto;
}

/* Eyebrow: now a badge, so it stays readable on any part of the photo */
#slider.dz-hero .dz-eyebrow {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 0 0 1.5rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(218, 183, 101, 0.6);
  border-radius: var(--dz-radius-pill);
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font: 600 0.875rem/1 var(--dz-body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dz-gold-hover);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Light sweep across the badge (only moves when motion is allowed, see below) */
#slider.dz-hero .dz-eyebrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}

#slider.dz-hero h1 {
  margin: 0;
  font-family: var(--dz-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #FFF8E8;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.55);
}

#slider.dz-hero h1 .t-rotate {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
}

#slider.dz-hero .dz-rule {
  display: block;
  width: 56px;
  height: 2px;
  margin: 1.75rem auto 1.5rem;
  background: var(--dz-gold-hover);
}

#slider.dz-hero .dz-hero__lead {
  max-width: 36rem;
  margin: 0 auto;
  font: 500 clamp(1.0625rem, 1.8vw, 1.3125rem)/1.65 var(--dz-body);
  color: rgba(255, 248, 232, 0.97);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

/* ---------- Actions ---------- */
#slider.dz-hero .dz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

#slider.dz-hero .dz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--dz-radius-pill);
  font: 600 0.875rem/1 var(--dz-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.35s var(--dz-ease), color 0.35s var(--dz-ease),
              border-color 0.35s var(--dz-ease), transform 0.35s var(--dz-ease);
}

#slider.dz-hero .dz-btn--gold {
  background: var(--dz-gold);
  color: var(--dz-ink);
}
#slider.dz-hero .dz-btn--gold:hover {
  background: var(--dz-gold-hover);
  color: var(--dz-ink);
  transform: translateY(-2px);
}

#slider.dz-hero .dz-btn--ghost {
  background: rgba(0, 0, 0, 0.25);
  color: var(--dz-cream);
  border-color: rgba(245, 241, 228, 0.7);
}
#slider.dz-hero .dz-btn--ghost:hover {
  border-color: var(--dz-gold-hover);
  color: var(--dz-gold-hover);
}

#slider.dz-hero .dz-btn:focus-visible {
  outline: 2px solid var(--dz-gold-hover);
  outline-offset: 3px;
}

/* ---------- Mobile first refinements ---------- */
@media (max-width: 575.98px) {
  #slider.dz-hero .dz-eyebrow {
    padding: 0.6rem 1rem;
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
  }
  #slider.dz-hero .dz-hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 20rem;
    margin-inline: auto;
  }
}

/* ---------- Entrance animation: "focus pull" ----------
   Text arrives soft and slightly large, then snaps sharp, the gold rule
   draws outward, and a light sweep crosses the badge. Only opacity, transform
   and filter are animated, so nothing shifts the layout. Skipped entirely
   when the visitor prefers reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  #slider.dz-hero .dz-eyebrow {
    animation: dz-rise 0.9s var(--dz-ease) 0.1s both;
  }
  #slider.dz-hero .dz-eyebrow::after {
    animation: dz-sweep 6s ease-in-out 2.2s infinite;
  }
  #slider.dz-hero h1 {
    animation: dz-focus 1.2s var(--dz-ease) 0.25s both;
  }
  #slider.dz-hero .dz-rule {
    transform-origin: center;
    animation: dz-draw 0.9s var(--dz-ease) 0.8s both;
  }
  #slider.dz-hero .dz-hero__lead {
    animation: dz-rise 0.9s var(--dz-ease) 0.95s both;
  }
  #slider.dz-hero .dz-hero__actions {
    animation: dz-rise 0.9s var(--dz-ease) 1.15s both;
  }

  @keyframes dz-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes dz-focus {
    from { opacity: 0; transform: translateY(14px) scale(1.04); filter: blur(14px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  }
  @keyframes dz-draw {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
  @keyframes dz-sweep {
    0%   { transform: translateX(-120%) skewX(-20deg); }
    30%  { transform: translateX(380%) skewX(-20deg); }
    100% { transform: translateX(380%) skewX(-20deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  #slider.dz-hero .dz-btn { transition: none; }
  #slider.dz-hero .dz-btn--gold:hover { transform: none; }
}

/* ---------- Header: "Ongoing" tag on the Innara Vista menu item ---------- */
.dz-nav-tag {
  display: inline-block;
  margin-left: 0.4em;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  background: #C9A24B;
  color: #1A1A1A;
  font: 600 0.625rem/1.3 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}
/* ---------- Leadership (#about) ---------- */
#about.dz-leaders {
  background: #FAF8F3;
  color: #1A1A1A;
  padding-block: clamp(4rem, 8vw, 6rem);
}

#about.dz-leaders .dz-leaders__intro { margin-bottom: clamp(2rem, 5vw, 4rem); }

#about.dz-leaders .dz-leaders__eyebrow {
  margin: 0 0 0.75rem;
  font: 600 0.875rem/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A6A1F;
}

#about.dz-leaders .dz-leaders__heading {
  margin: 0;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  color: #1A1A1A;
}

.dz-leaders__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 1100px;
  margin-inline: auto;
}

.dz-leader {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Photo box with a built-in silhouette placeholder. The real photo covers it automatically. */
.dz-leader__photo {
  aspect-ratio: 1 / 1;
  background-color: #E9E3D0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='38' r='17' fill='%23C4B88F'/%3E%3Cpath d='M16 100c0-22 15-36 34-36s34 14 34 36z' fill='%23C4B88F'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 88%;
}
.dz-leader__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.dz-leader__body { padding: 1.5rem 1.5rem 1.25rem; }

.dz-leader__name {
  margin: 0 0 0.25rem;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #1A1A1A;
}

.dz-leader__role {
  margin: 0 0 1rem;
  font: 600 0.8125rem/1.4 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A6A1F;
}

.dz-leader__text {
  margin: 0 0 0.9rem;
  font: 400 1rem/1.7 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: rgba(26, 26, 26, 0.82);
}

/* Read more toggle (native details, no JavaScript) */
.dz-leader__more summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0;
  cursor: pointer;
  font: 600 0.9375rem/1 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #0B4865;
}
.dz-leader__more summary::-webkit-details-marker { display: none; }
.dz-leader__more summary::after { content: '+'; font-size: 1.25rem; line-height: 1; }
.dz-leader__more[open] summary::after { content: '\2212'; }
.dz-leader__more summary:focus-visible { outline: 2px solid #0B4865; outline-offset: 3px; }
.dz-more-close { display: none; }
.dz-leader__more[open] .dz-more-open { display: none; }
.dz-leader__more[open] .dz-more-close { display: inline; }

@media (min-width: 900px) {
  .dz-leaders__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .dz-leader__photo { aspect-ratio: 5 / 4; }
  .dz-leader__body { padding: 1.75rem 1.75rem 1.5rem; }
}

@media (hover: hover) {
  .dz-leader:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
}

@media (prefers-reduced-motion: no-preference) {
  .dz-leader__more[open] > .dz-leader__text { animation: dz-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
}

@media (prefers-reduced-motion: reduce) {
  .dz-leader { transition: none; }
  .dz-leader:hover { transform: none; }
}
/* ---------- Ongoing project spotlight (top of #projects) ---------- */
#projects .dz-now-wrap { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(1rem, 3vw, 2rem); }
#projects .dz-now-head { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

#projects .dz-now-head__eyebrow {
  margin: 0 0 0.75rem;
  font: 600 0.875rem/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A6A1F;
}
#projects .dz-now-head__title {
  margin: 0;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  color: #1A1A1A;
}

#projects a.dz-now {
  position: relative;
  display: block;
  max-width: 1100px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #FFF8E8;
  text-decoration: none;
}
#projects a.dz-now:focus-visible { outline: 3px solid #DAB765; outline-offset: 4px; }

.dz-now picture { position: absolute; inset: 0; display: block; }
.dz-now img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Neutral shade, strongest where the text sits */
.dz-now::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.dz-now__pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(218, 183, 101, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font: 700 0.75rem/1 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #DAB765;
}
.dz-now__pill::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #DAB765;
}

.dz-now__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
}

.dz-now__title {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4rem);
  line-height: 1.05;
  color: #FFF8E8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.dz-now__tagline {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.35;
  color: #DAB765;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.dz-now__text {
  display: none;
  max-width: 34rem;
  font: 400 1rem/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: rgba(255, 248, 232, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.dz-now__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dz-now__facts li {
  margin: 0;
  padding: 0;
  font: 500 0.875rem/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #FFF8E8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.dz-now__facts li + li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0.75rem;
  border-radius: 50%;
  background: #DAB765;
  vertical-align: middle;
}

.dz-now__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: stretch;
  min-height: 48px;
  margin-top: 0.25rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  background: #C9A24B;
  color: #1A1A1A;
  font: 600 0.875rem/1 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.dz-now__cta span { display: inline-block; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }

@media (min-width: 768px) {
  #projects a.dz-now { aspect-ratio: auto; min-height: 480px; }
  .dz-now::after {
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.05) 100%),
      linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 65%);
  }
  .dz-now__pill { top: 1.5rem; left: 1.5rem; }
  .dz-now__content { max-width: 620px; padding: 2.5rem; }
  .dz-now__text { display: block; }
  .dz-now__cta { align-self: flex-start; }
}

@media (hover: hover) {
  #projects a.dz-now:hover .dz-now__cta { background: #DAB765; transform: translateY(-2px); }
  #projects a.dz-now:hover .dz-now__cta span { transform: translateX(4px); }
  #projects a.dz-now:hover img { transform: scale(1.05); }
}

@media (prefers-reduced-motion: no-preference) {
  .dz-now__pill::before { animation: dz-live 1.8s ease-in-out infinite; }
  @keyframes dz-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.65); }
  }
  /* Fade up on scroll. Only browsers that support scroll-driven animation use it. Others show the banner normally. */
  @supports (animation-timeline: view()) {
    #projects a.dz-now {
      animation: dz-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .dz-now img, .dz-now__cta, .dz-now__cta span { transition: none; }
}
/* ---------- Services (#services) ---------- */
#services .dz-svc-head { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
#services .dz-svc-head__title {
  margin: 0;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  color: #1A1A1A;
}
#services .dz-svc-head__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 1.25rem auto 0;
  background: #C9A24B;
}

/* ---- Fixed height: change ONLY these to resize the whole section ---- */
.dz-svc-row {
  --dz-svc-h: 40rem;
  height: var(--dz-svc-h);
  overflow: hidden;
}
@media (min-width: 768px) { .dz-svc-row { --dz-svc-h: 38rem; } }
@media (min-width: 992px) { .dz-svc-row { --dz-svc-h: clamp(34rem, 36vw, 41rem); } }

/* ---- Panel ---- */
.dz-svc-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: clamp(1rem, 3vw, 3rem);
  background: #FAF8F3;
}

/* ---- Track (native scroll-snap) ---- */
.dz-svc-track {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  counter-reset: dzsvc;
}
.dz-svc-track::-webkit-scrollbar { display: none; }
.dz-svc-track:focus-visible { outline: 2px solid #0B4865; outline-offset: 3px; border-radius: 16px; }
@media (prefers-reduced-motion: no-preference) { .dz-svc-track { scroll-behavior: smooth; } }

/* ---- Card (one per slide, fills the full space) ---- */
.dz-svc {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 16px;
  text-align: left;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  counter-increment: dzsvc;
  overflow: hidden;
}
.dz-svc::after {
  content: counter(dzsvc, decimal-leading-zero);
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(1rem, 2.5vw, 2rem);
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  line-height: 1;
  color: rgba(201, 162, 75, 0.2);
  pointer-events: none;
}

.dz-svc__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(60px, 5vw, 76px);
  height: clamp(60px, 5vw, 76px);
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  border-radius: 50%;
  background: #C9A24B;
  color: #1A1A1A;
}
.dz-svc__icon svg {
  width: 46%;
  height: 46%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#services .dz-svc__title {
  flex: 0 0 auto;
  margin: 0 0 1rem;
  max-width: 88%;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
  line-height: 1.25;
  color: #1A1A1A;
}
#services .dz-svc__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 0.85rem;
  background: #C9A24B;
}

#services .dz-svc__text {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 1rem;
  overflow-y: auto;
  font: 400 clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem)/1.7 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: rgba(26, 26, 26, 0.78);
}

#services .dz-svc__more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font: 600 0.9375rem/1 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #0B4865;
  text-decoration: none;
  cursor: pointer;
}
#services .dz-svc__more span { display: inline-block; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
#services .dz-svc__more:focus-visible { outline: 2px solid #0B4865; outline-offset: 3px; border-radius: 2px; }

/* ---- Controls ---- */
.dz-svc-ctrl { flex: 0 0 auto; display: flex; align-items: center; gap: 1rem; }
.dz-svc-count {
  min-width: 4.5ch;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: #1A1A1A;
}
.dz-svc-bar { position: relative; flex: 1 1 auto; height: 2px; background: rgba(26, 26, 26, 0.12); overflow: hidden; }
.dz-svc-bar span {
  position: absolute;
  inset: 0;
  background: #C9A24B;
  transform-origin: left center;
  transform: scaleX(var(--p, 0.1667));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dz-svc-nav { display: flex; gap: 0.5rem; }
.dz-svc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 50%;
  background: #fff;
  color: #1A1A1A;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, opacity 0.3s;
}
.dz-svc-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dz-svc-btn:disabled { opacity: 0.35; cursor: default; }
.dz-svc-btn:focus-visible { outline: 2px solid #0B4865; outline-offset: 3px; }

@media (hover: hover) {
  .dz-svc-btn:not(:disabled):hover { background: #C9A24B; border-color: #C9A24B; }
  #services .dz-svc:hover .dz-svc__more span { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .dz-svc-bar span, .dz-svc-btn, #services .dz-svc__more span { transition: none; }
}
/* ---- Drag / swipe support ---- */
.dz-svc-track { cursor: grab; }
.dz-svc-track.is-drag {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  -webkit-user-select: none;
  user-select: none;
}
.dz-svc-track.is-drag .dz-svc__text { overflow-y: hidden; }

/* ---------- Completed projects (#completed) ---------- */
.dz-done {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: #FAF8F3;
  color: #1A1A1A;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.dz-done[hidden] { display: none; }

#completed .dz-done__head { max-width: 40rem; margin: 0 auto clamp(1.75rem, 4vw, 2.5rem); text-align: center; }
#completed .dz-done__eyebrow {
  margin: 0 0 0.75rem;
  font: 600 0.875rem/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A6A1F;
}
#completed .dz-done__title {
  margin: 0 0 1rem;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  color: #1A1A1A;
}
#completed .dz-done__lead {
  margin: 0;
  font: 400 1rem/1.7 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: rgba(26, 26, 26, 0.78);
}

#completed .dz-done__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  padding: 1.25rem 0;
  text-align: center;
  border-block: 1px solid rgba(26, 26, 26, 0.12);
}
#completed .dz-done__stats strong {
  display: block;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  line-height: 1;
  color: #8A6A1F;
}
#completed .dz-done__stats span {
  display: block;
  margin-top: 0.5rem;
  font: 500 0.8125rem/1.35 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: rgba(26, 26, 26, 0.75);
}

/* Phone and tablet: swipe row with the next card peeking in */
#completed .dz-done__list {
  display: flex;
  gap: 1rem;
  margin: 0 -0.75rem;
  padding: 0.5rem 0.75rem 1.25rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#completed .dz-done__list::-webkit-scrollbar { display: none; }
#completed .dz-done__list:focus-visible { outline: 2px solid #0B4865; outline-offset: 4px; }
#completed .dz-done__item { flex: 0 0 82%; max-width: 340px; margin: 0; padding: 0; scroll-snap-align: start; }

.dz-done__card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Photo area: fixed shape, so nothing jumps when real photos are added */
.dz-done__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, #0B4865 0%, #0A3550 100%);
}
.dz-done__media > svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 78%;
  height: auto;
  transform: translateX(-50%);
  fill: none;
  stroke: rgba(245, 241, 228, 0.5);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dz-done__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dz-done__type,
.dz-done__status {
  position: absolute;
  z-index: 1;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  font: 600 0.6875rem/1 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dz-done__type { top: 0.875rem; left: 0.875rem; color: #F5F1E4; }
.dz-done__status { bottom: 0.875rem; left: 0.875rem; color: #DAB765; }

.dz-done__body { padding: 1.25rem 1.25rem 1.5rem; }
#completed .dz-done__name {
  margin: 0 0 0.5rem;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #1A1A1A;
}
#completed .dz-done__loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  font: 400 0.9375rem/1.4 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: rgba(26, 26, 26, 0.72);
}
.dz-done__loc svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #8A6A1F;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#completed .dz-done__facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
#completed .dz-done__facts li {
  margin: 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(201, 162, 75, 0.14);
  font: 600 0.8125rem/1.2 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #5E4710;
}

/* Desktop: three columns, no scrolling */
@media (min-width: 992px) {
  #completed .dz-done__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; overflow: visible; }
  #completed .dz-done__item { max-width: none; }
}

@media (hover: hover) {
  .dz-done__card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .dz-done__card {
      animation: dz-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .dz-done__card { transition: none; }
  .dz-done__card:hover { transform: none; }
}
/* ---------- Connect cards: icon ---------- */
#connect .dz-conn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.14);
  color: #8A6A1F;
}
#connect .dz-conn__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ---------- Brand statements band (replaces the sample testimonials) ---------- */
.testimonial .dz-quote__text {
  margin: 0 0 1.25rem;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.375rem, 1.05rem + 1.5vw, 2.125rem);
  line-height: 1.35;
  color: #FFF8E8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.testimonial .dz-quote__who {
  margin: 0;
  font: 600 0.8125rem/1.4 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #DAB765;
}
/* ==========================================================================
   POLISH PASS: brings the older Canvas blocks in line with the new sections.
   Order follows the page: shared buttons, gallery, services band, connect,
   contact, footer, modals. Colours and fonts use the --dz-* tokens at the top.
   !important is used ONLY where a Canvas utility class forces a value
   (fw-light, ls-1, ls-3, text-uppercase, font-body, bg-contrast-100).
   ========================================================================== */

/* ---------- Shared: gold pill buttons ----------
   Brochure, Quick Enquiry band, every form submit (page + popups), footer submit. */
a#myBtn1.button.button-border,
a#myBtn2.button.button-border,
.form-widget .button.button-border,
#footer .button.button-border {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.875rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--dz-radius-pill);
  background: var(--dz-gold);
  color: var(--dz-ink);
  font: 600 0.875rem/1 var(--dz-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background-color 0.35s var(--dz-ease), transform 0.35s var(--dz-ease);
}
a#myBtn1.button.button-border:hover,
a#myBtn2.button.button-border:hover,
.form-widget .button.button-border:hover,
#footer .button.button-border:hover {
  background: var(--dz-gold-hover);
  border-color: transparent;
  color: var(--dz-ink);
  transform: translateY(-2px);
}
a#myBtn1.button.button-border:focus-visible,
a#myBtn2.button.button-border:focus-visible,
.form-widget .button.button-border:focus-visible,
#footer .button.button-border:focus-visible {
  outline: 2px solid var(--dz-gold-hover);
  outline-offset: 3px;
}

/* ---------- Gallery block (old "We create & craft" heading + tiles) ---------- */
#projects > .section {
  background: var(--dz-offwhite);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
}
#projects > .section h2 {
  max-width: 46rem;
  margin-inline: auto;
  font-family: var(--dz-display);
  font-weight: 400 !important;      /* overrides fw-light */
  letter-spacing: 0 !important;     /* overrides ls-1 */
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.88);
}
#projects > .section h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 1.5rem auto 0;
  background: var(--dz-gold);
}

/* Hover overlay: olive instead of black, Fraunces titles, template labels hidden */
#projects .portfolio .bg-overlay-bg {
  background: linear-gradient(to top, rgba(44, 41, 0, 0.85), rgba(44, 41, 0, 0.35)) !important;
}
#projects .portfolio-desc h3 {
  position: relative;
  margin: 0;
  padding-bottom: 0.9rem;
}
#projects .portfolio-desc h3,
#projects .portfolio-desc h3 a {
  font-family: var(--dz-display);
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--dz-cream);
}
#projects .portfolio-desc h3::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36px;
  height: 2px;
  margin-left: -18px;
  background: var(--dz-gold-hover);
}
#projects .portfolio-desc > span { display: none; }  /* template labels: "Media, Icons" etc. */

/* Tiles still point to href="#" (jumps to page top). Switched off until real links exist. */
#projects .portfolio a[href="#"] { pointer-events: none; cursor: default; }

#projects .mt-5.text-center { padding-block: 0.5rem clamp(2.5rem, 5vw, 4rem); }

/* ---------- Services: "Like our services?" band ---------- */
#services > .section.dark:not(.parallax) {
  background-color: var(--dz-olive) !important;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
  text-align: center;
}
#services > .section.dark:not(.parallax) h2 {
  font-family: var(--dz-display);
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  line-height: 1.25;
  color: var(--dz-cream);
}

/* ---------- Connect ---------- */
#connect {
  background: var(--dz-offwhite);
  padding-block: clamp(4rem, 8vw, 6rem);
}
#connect > h2 {
  font-family: var(--dz-display) !important;   /* overrides font-body */
  font-weight: 500 !important;                 /* overrides fw-light */
  letter-spacing: 0 !important;                /* overrides ls-3 */
  text-transform: none !important;             /* overrides text-uppercase */
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  color: var(--dz-ink);
}
#connect > h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 1.25rem auto 0;
  background: var(--dz-gold);
}
#connect .section { background: transparent; }

#connect .entry { display: flex; }
#connect .entry > .grid-inner {
  flex: 1 1 auto;
  align-content: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1rem;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s var(--dz-ease), box-shadow 0.4s var(--dz-ease);
}
#connect .entry-title h3 {
  margin: 0;
  font-family: var(--dz-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--dz-ink);
}
#connect .entry-title .before-heading {
  display: block;
  margin-top: 0.75rem;
  font: 400 1rem/1.7 var(--dz-body);
  letter-spacing: 0;
  text-transform: none;
  color: rgba(26, 26, 26, 0.78);
}
/* Gold text on white is too faint to read, so the link uses the deep teal */
#connect .entry-content .more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin-top: 0.75rem;
  font: 600 0.9375rem/1 var(--dz-body);
  color: var(--dz-teal);
}
#connect .entry-content .more-link:hover { color: var(--dz-olive); }

/* ---------- Contact ---------- */
.dz-form-head { max-width: 40rem; margin: 0 auto clamp(1.5rem, 4vw, 2.25rem); text-align: center; }
.dz-form-head__eyebrow {
  margin: 0 0 0.75rem;
  font: 600 0.875rem/1.5 var(--dz-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A6A1F;
}
.dz-form-head__title {
  margin: 0 0 1rem;
  font-family: var(--dz-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  color: var(--dz-ink);
}
.dz-form-head__lead { margin: 0; font: 400 1rem/1.7 var(--dz-body); color: rgba(26, 26, 26, 0.78); }

/* Map: the iframe has height="55" in the HTML, which collapses it on phones */
#contact .gmap { min-height: 320px; }
#contact .gmap iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

#contact .bg-contrast-100 { background-color: var(--dz-offwhite) !important; }
#contact h3 {
  font-family: var(--dz-display) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  font-size: 1.5rem;
  color: var(--dz-ink);
}

/* Form fields (page form and all popups). 16px text stops iPhones zooming in on tap. */
.form-widget .form-control.border-form-control {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 6px;
  box-shadow: none;
  font: 400 1rem/1.4 var(--dz-body);
  color: var(--dz-ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-widget textarea.form-control.border-form-control { min-height: 9rem; resize: vertical; }
.form-widget .form-control.border-form-control::placeholder { color: rgba(26, 26, 26, 0.55); }
.form-widget .form-control.border-form-control:focus {
  border-color: var(--dz-teal);
  box-shadow: 0 0 0 3px rgba(11, 72, 101, 0.15);
  outline: 0;
}

/* ---------- Footer ---------- */
#footer.dark { background-color: var(--dz-olive) !important; }
#footer #copyrights {
  background-color: rgba(0, 0, 0, 0.28) !important;
  border-top: 1px solid rgba(245, 241, 228, 0.08);
  font: 400 0.875rem/1.6 var(--dz-body);
  color: rgba(245, 241, 228, 0.7);
}
#footer .widget h4 {
  font-family: var(--dz-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--dz-cream);
}
#footer .widget h4::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: var(--dz-gold);
}
#footer .footer-site-links a {
  display: inline-block;
  padding: 0.6rem 0;
  font: 400 0.9375rem/1.4 var(--dz-body);
  color: rgba(245, 241, 228, 0.82);
}
#footer .footer-site-links a:hover { color: var(--dz-gold-hover); }
#footer .lead { font: 400 0.9375rem/1.7 var(--dz-body); color: rgba(245, 241, 228, 0.82); }
#footer .form-control {
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--dz-body);
  font-size: 1rem;
}
#footer .form-control:focus {
  border-color: var(--dz-gold-hover);
  box-shadow: 0 0 0 3px rgba(218, 183, 101, 0.35);
  outline: 0;
}
#footer .social-icon { border: 1px solid rgba(245, 241, 228, 0.3); color: var(--dz-cream); }
#footer .social-icon:hover { background-color: var(--dz-gold) !important; border-color: var(--dz-gold); color: var(--dz-ink) !important; }

/* ---------- Popups (all 11): olive header, rounded corners ----------
   Header padding is left alone on purpose: the close "x" is positioned against it. */
div[class^="modal-header"] { background-color: var(--dz-olive); }
div[class^="modal-content"] { border-radius: 12px; overflow: hidden; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 991.98px) {
  #footer .row > [class*="col-"] + [class*="col-"] { margin-top: 2rem; }
}
@media (max-width: 575.98px) {
  .form-widget .button.button-border { width: 100%; }
  #footer .button.button-border { width: 100%; max-width: 20rem; }
}

@media (hover: hover) {
  #connect .entry > .grid-inner:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  a#myBtn1.button.button-border,
  a#myBtn2.button.button-border,
  .form-widget .button.button-border,
  #footer .button.button-border,
  #connect .entry > .grid-inner,
  .form-widget .form-control.border-form-control { transition: none; }
  a#myBtn1.button.button-border:hover,
  a#myBtn2.button.button-border:hover,
  .form-widget .button.button-border:hover,
  #footer .button.button-border:hover,
  #connect .entry > .grid-inner:hover { transform: none; }
}