html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #A58F7A #2B2B2B; /* thumb clay / track charcoal */
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
#contact,
#work {
  scroll-margin-top: calc(var(--muranoco-nav-h) + 1rem);
}

:root {
  --muranoco-nav-h: 3.5rem; /* 56px — mobile header */
}
@media (min-width: 1024px) {
  :root {
    --muranoco-nav-h: 5rem; /* 80px — desktop header */
  }
}

/* Compact header on scroll — shorter bar, smaller logo / links / CTA */
#mainNav {
  height: var(--muranoco-nav-h);
  transition:
    top 400ms ease,
    height 400ms ease,
    background-color 400ms ease,
    border-color 400ms ease,
    box-shadow 400ms ease,
    backdrop-filter 400ms ease;
}
#mainNav .nav-logo {
  height: 2rem; /* 32px — mobile default */
  width: auto;
  transition: height 400ms ease;
}
@media (min-width: 640px) {
  #mainNav .nav-logo {
    height: 2.25rem; /* 36px */
  }
}
@media (min-width: 1024px) {
  #mainNav .nav-logo {
    height: 2.75rem; /* 44px — desktop */
  }
}
#mainNav .nav-cta {
  display: none;
  padding: 0.6875rem 1.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    padding 400ms ease,
    font-size 400ms ease,
    gap 400ms ease,
    background-color 400ms ease,
    color 400ms ease;
}
#mainNav .nav-cta__icon {
  display: none;
}
@media (min-width: 1024px) {
  #mainNav .nav-cta {
    display: inline-flex;
  }
}
#mainNav .nav-link {
  transition: color 400ms ease, font-size 400ms ease, letter-spacing 400ms ease;
}
#mainNav .current-menu-item > .nav-link,
#mainNav .current_page_item > .nav-link,
#mainNav .current-menu-ancestor > .nav-link,
#mainNav .current-menu-parent > .nav-link,
#mainNav .nav-link[aria-current="page"] {
  color: #A58F7A;
}
#mainNav .current-menu-item > .nav-link::after,
#mainNav .current_page_item > .nav-link::after,
#mainNav .current-menu-ancestor > .nav-link::after,
#mainNav .current-menu-parent > .nav-link::after,
#mainNav .nav-link[aria-current="page"]::after {
  width: 100%;
}
#mainNav.is-compact {
  height: 3rem; /* 48px — scrolled mobile */
}
@media (min-width: 1024px) {
  #mainNav.is-compact {
    height: 3.5rem; /* 56px — scrolled desktop */
  }
}
#mainNav.is-compact .nav-logo {
  height: 1.75rem; /* 28px mobile compact */
}
@media (min-width: 1024px) {
  #mainNav.is-compact .nav-logo {
    height: 2rem; /* 32px desktop compact */
  }
}
#mainNav.is-compact .nav-link {
  font-size: 11px;
  letter-spacing: 0.14em;
}
#mainNav.is-compact .nav-cta {
  padding: 0.35rem 0.6rem;
  font-size: 0.625rem; /* 10px */
  letter-spacing: 0.08em;
}
@media (min-width: 1024px) {
  #mainNav.is-compact .nav-cta {
    padding: 0.4rem 1.15rem;
    font-size: 0.6875rem; /* 11px */
    letter-spacing: 0.1em;
  }
}
#mainNav.is-compact ul.hidden {
  gap: 1.75rem;
}

/* WP admin bar — keep fixed/sticky header below the bar */
body.admin-bar #mainNav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar #mainNav {
    top: 46px;
  }
}
/* Below 600px WP admin bar is not fixed — header can sit at top */
@media screen and (max-width: 600px) {
  body.admin-bar #mainNav {
    top: 0;
  }
}

/* Mobile sidebar drawer */
.muranoco-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}
.muranoco-drawer[hidden] {
  display: none !important;
}
.muranoco-drawer.is-open {
  pointer-events: auto;
}
.muranoco-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(26, 26, 26, 0.48);
  opacity: 0;
  transition: opacity 360ms ease;
  -webkit-tap-highlight-color: transparent;
}
.muranoco-drawer.is-open .muranoco-drawer__backdrop {
  opacity: 1;
}
.muranoco-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 22.5rem);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: #F6F4F0; /* porcelain */
  box-shadow: -18px 0 48px rgba(26, 26, 26, 0.14);
  transform: translate3d(104%, 0, 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  padding:
    max(0.75rem, env(safe-area-inset-top, 0px))
    max(1.25rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    1.25rem;
  overflow: hidden;
  overflow-x: hidden;
}
.muranoco-drawer.is-open .muranoco-drawer__panel {
  transform: translate3d(0, 0, 0);
}
.muranoco-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(42, 42, 42, 0.08);
}
.muranoco-drawer__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.muranoco-drawer__logo {
  height: 2rem;
  width: auto;
}
.muranoco-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(42, 42, 42, 0.12);
  background: transparent;
  color: #1A1A1A;
  cursor: pointer;
  transition: background-color 280ms ease, border-color 280ms ease, color 280ms ease;
}
.muranoco-drawer__close:hover,
.muranoco-drawer__close:focus-visible {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #F6F4F0;
  outline: none;
}
.muranoco-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.35rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox — no bottom/side bars in drawer */
  -ms-overflow-style: none;
}
.muranoco-drawer__body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.muranoco-drawer__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A58F7A; /* clay */
}
.muranoco-drawer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
}
.muranoco-drawer__menu > li {
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 10px, 0); /* vertical only — avoids horizontal scrollbar */
  transition:
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.muranoco-drawer.is-open .muranoco-drawer__menu > li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.muranoco-drawer.is-open .muranoco-drawer__menu > li:nth-child(1) { transition-delay: 70ms; }
.muranoco-drawer.is-open .muranoco-drawer__menu > li:nth-child(2) { transition-delay: 110ms; }
.muranoco-drawer.is-open .muranoco-drawer__menu > li:nth-child(3) { transition-delay: 150ms; }
.muranoco-drawer.is-open .muranoco-drawer__menu > li:nth-child(4) { transition-delay: 190ms; }
.muranoco-drawer.is-open .muranoco-drawer__menu > li:nth-child(5) { transition-delay: 230ms; }
.muranoco-drawer.is-open .muranoco-drawer__menu > li:nth-child(6) { transition-delay: 270ms; }
.muranoco-drawer.is-open .muranoco-drawer__menu > li:nth-child(7) { transition-delay: 310ms; }
.muranoco-drawer.is-open .muranoco-drawer__menu > li:nth-child(8) { transition-delay: 350ms; }
.muranoco-drawer__link {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.55rem 0.15rem;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.45rem, 6.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1A1A1A;
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 42, 42, 0.06);
  transition: color 280ms ease, padding-left 280ms ease;
}
.muranoco-drawer__link:hover,
.muranoco-drawer__link:focus-visible,
.muranoco-drawer__menu .current-menu-item > .muranoco-drawer__link,
.muranoco-drawer__menu .current_page_item > .muranoco-drawer__link {
  color: #A58F7A;
  padding-left: 0.35rem;
  outline: none;
}
.muranoco-drawer__foot {
  padding-top: 1rem;
  border-top: 1px solid rgba(42, 42, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 360ms ease 180ms, transform 420ms ease 180ms;
}
.muranoco-drawer.is-open .muranoco-drawer__foot {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.muranoco-drawer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  background: #1A1A1A;
  color: #F6F4F0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 280ms ease, color 280ms ease;
}
.muranoco-drawer__cta:hover,
.muranoco-drawer__cta:focus-visible {
  background: #A58F7A;
  color: #F6F4F0;
  outline: none;
}
.muranoco-drawer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.muranoco-drawer__meta-link {
  font-size: 0.8125rem;
  color: rgba(90, 90, 90, 0.85);
  text-decoration: none;
  transition: color 280ms ease;
}
.muranoco-drawer__meta-link:hover,
.muranoco-drawer__meta-link:focus-visible {
  color: #1A1A1A;
  outline: none;
}

body.nav-drawer-open {
  overflow: hidden;
  overflow-x: hidden;
  touch-action: none;
}
body.admin-bar .muranoco-drawer__panel {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .muranoco-drawer__panel {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  body.admin-bar .muranoco-drawer__panel {
    top: 0;
  }
}
@media (min-width: 1024px) {
  .muranoco-drawer {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .muranoco-drawer__backdrop,
  .muranoco-drawer__panel,
  .muranoco-drawer__menu > li,
  .muranoco-drawer__foot,
  .muranoco-drawer__link {
    transition: none !important;
  }
}

/*
 * Elementor editor / preview iframe —
 * fixed theme header was covering the first container handles (can't select).
 * Keep header visible for context, but put it in normal flow + don't capture clicks.
 */
body.elementor-editor-active #preloader,
body.elementor-editor-preview #preloader {
  display: none !important;
}

body.elementor-editor-active #mainNav,
body.elementor-editor-preview #mainNav {
  position: relative !important;
  top: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

body.elementor-editor-active #navMobile,
body.elementor-editor-preview #navMobile,
body.elementor-editor-active .muranoco-drawer,
body.elementor-editor-preview .muranoco-drawer {
  display: none !important;
}

/*
 * Elementor editor/preview — reveal layers start at opacity:0 until GSAP.
 * Widget HTML is injected after main.js, so force the finished visual state.
 */
body.elementor-editor-active .hero-reveal,
body.elementor-editor-preview .hero-reveal,
body.elementor-editor-active .reveal,
body.elementor-editor-preview .reveal,
.elementor-editor-active .hero-reveal,
.elementor-editor-preview .hero-reveal,
.elementor-editor-active .reveal,
.elementor-editor-preview .reveal {
  opacity: 1 !important;
  transform: none !important;
}
body.elementor-editor-active .hero-rule,
body.elementor-editor-preview .hero-rule,
.elementor-editor-active .hero-rule,
.elementor-editor-preview .hero-rule {
  transform: scaleX(1) !important;
}

/* Front-end Elementor pages: clear fixed header (editor uses relative header above). */
body:not(.elementor-editor-active):not(.elementor-editor-preview) .elementor-page-main {
  padding-top: var(--muranoco-nav-h);
}

/*
 * Full-bleed heroes sit under the fixed nav — cancel main padding once,
 * then the hero uses a single matching top offset (no double blank band).
 */
body:not(.elementor-editor-active):not(.elementor-editor-preview)
  .elementor-page-main
  > .elementor
  > .elementor-top-section:first-child:has(.muranoco-page-hero),
body:not(.elementor-editor-active):not(.elementor-editor-preview)
  .elementor-page-main
  > .elementor
  > .elementor-section:first-child:has(.muranoco-page-hero),
body:not(.elementor-editor-active):not(.elementor-editor-preview)
  .elementor-page-main
  > .elementor
  > .elementor-top-section:first-child:has(.muranoco-hero),
body:not(.elementor-editor-active):not(.elementor-editor-preview)
  .elementor-page-main
  > .elementor
  > .elementor-section:first-child:has(.muranoco-hero) {
  margin-top: calc(-1 * var(--muranoco-nav-h));
}

/* Home hero — one nav-height offset; image starts right under the bar on mobile */
.muranoco-hero {
  padding-top: var(--muranoco-nav-h);
}

body {
  /* clip (not hidden) — overflow-x:hidden on body breaks position:sticky in many browsers */
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: #A58F7A #2B2B2B;
}

/* Brand scrollbar — thin clay thumb on charcoal track */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #2B2B2B; /* charcoal */
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: #A58F7A; /* clay */
  border-radius: 4px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background-color: #7F7767; /* stoneolive */
}

/* Fraunces can look italic via WONK/soft axes — keep display type upright. */
.font-display {
  font-style: normal;
  font-synthesis: none;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.font-display em,
.font-display .italic,
h1 .text-clay,
h2 .text-clay,
h3 .text-clay {
  font-style: normal !important;
  font-synthesis: none;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
/* Gap between stacked heading lines when clay accent starts on its own line. */
h1 > br + .text-clay,
h2 > br + .text-clay,
h3 > br + .text-clay {
  display: inline-block;
  margin-top: 0.2em;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .4;
  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.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
}

.hero-grid-bg {
  background-image: linear-gradient(rgba(165,143,122,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(165,143,122,.05) 1px,transparent 1px);
  background-size: 60px 60px;
}
.hero-glow { background: radial-gradient(circle, rgba(165,143,122,.10) 0%, transparent 65%); }

/* Home hero — mobile image focus vs desktop full-bleed crop */
.muranoco-hero__img {
  object-position: center 38%;
}
@media (min-width: 1024px) {
  .muranoco-hero__img {
    object-position: left center;
  }
}
@media (max-width: 1023px) {
  .muranoco-hero .hero-title {
    font-size: clamp(1.85rem, 8.4vw, 2.65rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
  }
  .muranoco-hero .hero-couplet + .hero-couplet {
    margin-top: 0.32em;
  }
  .muranoco-hero .hero-lead {
    font-size: 0.52em;
    margin-bottom: 0.06em;
  }
  .muranoco-hero__actions .hero-cta {
    width: 100%;
  }
  @media (min-width: 420px) {
    .muranoco-hero__actions {
      flex-direction: row;
      flex-wrap: wrap;
    }
    .muranoco-hero__actions .hero-cta {
      width: auto;
      flex: 1 1 auto;
    }
  }
}

/*
 * Inner page banners: cover is taller than the frame so parallax / Ken Burns
 * never flash porcelain above the image on load or scroll.
 */
.muranoco-page-hero {
  padding-top: var(--muranoco-nav-h, 3.5rem);
  /* Mobile: compact banner with room under the fixed header */
  min-height: clamp(17.5rem, 48vh, 22.5rem);
}
.muranoco-page-hero__content {
  min-height: calc(clamp(17.5rem, 48vh, 22.5rem) - var(--muranoco-nav-h, 3.5rem));
  padding-top: 2.75rem;
  box-sizing: border-box;
}
.muranoco-page-hero__title {
  font-size: clamp(1.75rem, 7vw, 2.35rem);
}
.muranoco-page-hero__lede {
  font-size: 0.9375rem; /* 15px */
}
@media (min-width: 640px) {
  .muranoco-page-hero {
    min-height: clamp(20rem, 52vh, 26rem);
  }
  .muranoco-page-hero__content {
    min-height: calc(clamp(20rem, 52vh, 26rem) - var(--muranoco-nav-h, 3.5rem));
    padding-top: 3.25rem;
  }
  .muranoco-page-hero__title {
    font-size: clamp(2.25rem, 5vw, 3rem);
  }
  .muranoco-page-hero__lede {
    font-size: 1rem;
  }
}
@media (min-width: 1024px) {
  .muranoco-page-hero {
    min-height: 85vh;
  }
  .muranoco-page-hero__content {
    min-height: calc(85vh - var(--muranoco-nav-h, 5rem));
    padding-top: 0;
  }
  .muranoco-page-hero__content.flex-col {
    padding-top: 2rem;
  }
  .muranoco-page-hero__title {
    font-size: 4rem;
  }
  .muranoco-page-hero__lede {
    font-size: 1rem;
    line-height: 1.7;
  }
}
.muranoco-page-hero [data-page-hero-media] {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  height: 124%;
  top: -12%;
  object-fit: cover;
  will-change: transform;
}

/* Home hero copy — load intro + micro-interactions (colors unchanged) */
.hero-title {
  font-size: clamp(3.15rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero-couplet + .hero-couplet {
  margin-top: 0.5em;
}
.hero-lead {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.12em;
  text-transform: none;
  color: #A58F7A; /* clay — lighter lead above softblack accents */
}
.hero-accent {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: #1A1A1A; /* softblack — previous accent color */
}
.hero-accent-dot {
  color: inherit;
}
.hero-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  will-change: opacity, transform;
}
.hero-rule {
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.hero-cta .hero-cta-icon {
  transition: transform 400ms ease;
}
.hero-cta:hover .hero-cta-icon {
  transform: translateX(4px);
}

/* Featured project cards — clear CTA + hover motion */
.project-card-cta-icon {
  transition: transform 400ms ease;
}
.project-card:hover .project-card-cta-icon {
  transform: translateX(4px);
}
.hero-stat {
  transition: transform 400ms ease, opacity 400ms ease;
}
.hero-stat:hover {
  transform: translateY(-2px);
}
@keyframes hero-play-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
.hero-play-pulse {
  animation: hero-play-pulse 2.4s ease infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-reveal,
  .hero-rule {
    opacity: 1;
    transform: none;
  }
  .hero-play-pulse {
    animation: none;
  }
}
.srv-glow { background: radial-gradient(circle, rgba(165,143,122,.07) 0%, transparent 60%); }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track { animation: ticker 32s linear infinite; }

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .6; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 9999px;
  border: 1px solid rgba(165,143,122,.35);
  animation: pulse-ring 2.4s ease infinite;
}
.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 9999px;
  border: 1px solid rgba(165,143,122,.15);
  animation: pulse-ring 2.4s ease .6s infinite;
}

#vModal { display: none; }
#vModal.open { display: flex; }
#vModal #vFrame.hidden,
#vModal #vVideo.hidden { display: none !important; }

#imgModal {
  display: none;
  opacity: 0;
}
#imgModal.open {
  display: flex;
  opacity: 1;
  animation: imgModalIn 220ms ease;
}
@keyframes imgModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #imgModal.open {
    animation: none;
  }
}

/* Image lightbox — close + nav arrows */
.img-modal-close {
  position: absolute;
  top: max(1.25rem, env(safe-area-inset-top, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(246, 244, 240, 0.45); /* porcelain */
  border-radius: 2px;
  background: rgba(26, 26, 26, 0.55);
  color: #F6F4F0; /* porcelain */
  cursor: pointer;
  transition: color 400ms ease, border-color 400ms ease, background-color 400ms ease;
}
.img-modal-close:hover,
.img-modal-close:focus-visible {
  color: #A58F7A; /* clay */
  border-color: rgba(165, 143, 122, 0.7);
  background: rgba(165, 143, 122, 0.12);
  outline: none;
}

.img-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(246, 244, 240, 0.45);
  border-radius: 2px;
  background: rgba(26, 26, 26, 0.72);
  color: #F6F4F0;
  cursor: pointer;
  transition: color 400ms ease, border-color 400ms ease, background-color 400ms ease, opacity 400ms ease;
}
.img-modal-nav--prev {
  left: max(0.75rem, env(safe-area-inset-left, 0px));
}
.img-modal-nav--next {
  right: max(0.75rem, env(safe-area-inset-right, 0px));
}
.img-modal-nav:hover,
.img-modal-nav:focus-visible {
  color: #A58F7A;
  border-color: rgba(165, 143, 122, 0.7);
  background: rgba(165, 143, 122, 0.16);
  outline: none;
}
.img-modal-nav[hidden],
.img-modal-counter[hidden],
.img-modal-project[hidden] {
  display: none !important;
}

.img-modal-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(96vw, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 7.5rem);
  margin-inline: auto;
  touch-action: pan-y;
}
.img-modal-image,
#imgModalImg {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: min(96vw, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 7.5rem);
  margin: 0;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.img-modal-footer {
  position: absolute;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(92vw, 22rem);
  padding: 0;
  background: transparent;
  pointer-events: none;
}
.img-modal-footer > * {
  pointer-events: auto;
}

.img-modal-counter {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  z-index: 30;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(246, 244, 240, 0.55);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.img-modal-project {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f6f4f0;
  text-decoration: none;
  transition: color 400ms ease;
}
.img-modal-project__name {
  display: block;
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #a58f7a;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.img-modal-project__name[hidden] {
  display: none !important;
}
.img-modal-project__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: rgba(246, 244, 240, 0.88);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 400ms ease;
}
.img-modal-project__rule {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: rgba(165, 143, 122, 0.55);
  transition: width 400ms ease, background-color 400ms ease;
}
.img-modal-project__cta svg {
  flex-shrink: 0;
  transition: transform 400ms ease;
}
.img-modal-project:hover,
.img-modal-project:focus-visible {
  color: #a58f7a;
  outline: none;
}
.img-modal-project:hover .img-modal-project__cta,
.img-modal-project:focus-visible .img-modal-project__cta {
  color: #a58f7a;
}
.img-modal-project:hover .img-modal-project__rule,
.img-modal-project:focus-visible .img-modal-project__rule {
  width: 2rem;
  background: #a58f7a;
}
.img-modal-project:hover .img-modal-project__cta svg,
.img-modal-project:focus-visible .img-modal-project__cta svg {
  transform: translateX(3px);
}

@media (min-width: 640px) {
  .img-modal-close {
    top: 1.5rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
  }
  .img-modal-nav {
    width: 3.25rem;
    height: 3.25rem;
  }
  .img-modal-nav--prev {
    left: max(1.25rem, env(safe-area-inset-left, 0px));
  }
  .img-modal-nav--next {
    right: max(1.25rem, env(safe-area-inset-right, 0px));
  }
  .img-modal-stage,
  .img-modal-image,
  #imgModalImg {
    max-width: min(92vw, calc(100vw - 9rem));
    max-height: calc(100dvh - 8.5rem);
  }
  .img-modal-footer {
    bottom: 1.75rem;
    width: min(92vw, 26rem);
    gap: 0.95rem;
  }
}
@media (min-width: 1024px) {
  .img-modal-nav--prev {
    left: max(1.75rem, env(safe-area-inset-left, 0px));
  }
  .img-modal-nav--next {
    right: max(1.75rem, env(safe-area-inset-right, 0px));
  }
  .img-modal-stage,
  .img-modal-image,
  #imgModalImg {
    max-width: min(92vw, calc(100vw - 11rem));
  }
}

/* Mobile: keep arrows reachable without covering the image too much */
@media (max-width: 639px) {
  .img-modal-nav {
    width: 2.5rem;
    height: 2.5rem;
    top: auto;
    bottom: max(6.5rem, calc(env(safe-area-inset-bottom, 0px) + 6rem));
    transform: none;
  }
  .img-modal-nav--prev {
    left: max(0.75rem, env(safe-area-inset-left, 0px));
  }
  .img-modal-nav--next {
    right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
  .img-modal-close {
    top: max(0.85rem, env(safe-area-inset-top, 0px));
    right: max(0.85rem, env(safe-area-inset-right, 0px));
  }
}

/* Back to top — fixed control, above content / nav, below modals */
.back-to-top {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(165, 143, 122, 0.4); /* clay */
  border-radius: 2px;
  background-color: #1A1A1A; /* softblack */
  color: #F6F4F0; /* porcelain */
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 350ms ease,
    transform 350ms ease,
    visibility 350ms ease,
    background-color 400ms ease,
    border-color 400ms ease,
    color 400ms ease;
}
@media (max-width: 1023px) {
  body.has-mobile-bottom-nav .back-to-top {
    bottom: calc(4.1rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Mobile app-style sticky bottom nav */
.muranoco-mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 0 max(0.25rem, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(0.25rem, env(safe-area-inset-left, 0px));
  background: rgba(246, 244, 240, 0.96); /* porcelain */
  border-top: 1px solid rgba(42, 42, 42, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -6px 20px rgba(26, 26, 26, 0.05);
}
.muranoco-mobile-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.1rem;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.3rem 0.2rem 0.35rem;
  list-style: none;
}
.muranoco-mobile-nav__item {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.muranoco-mobile-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.15rem;
  color: rgba(90, 90, 90, 0.72);
  text-decoration: none;
  transition: color 280ms ease;
  -webkit-tap-highlight-color: transparent;
}
.muranoco-mobile-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  transition: background-color 280ms ease, color 280ms ease, box-shadow 280ms ease;
}
.muranoco-mobile-nav__icon svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}
.muranoco-mobile-nav__label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.muranoco-mobile-nav__item.is-active .muranoco-mobile-nav__link {
  color: #1A1A1A; /* softblack */
}
.muranoco-mobile-nav__item.is-active .muranoco-mobile-nav__icon {
  color: #A58F7A; /* clay */
  background: rgba(165, 143, 122, 0.14);
}
.muranoco-mobile-nav__item.is-active .muranoco-mobile-nav__link::after {
  content: '';
  position: absolute;
  top: 0.1rem;
  left: 50%;
  width: 0.85rem;
  height: 2px;
  border-radius: 1px;
  background: #A58F7A;
  transform: translateX(-50%);
}
.muranoco-mobile-nav__link:hover,
.muranoco-mobile-nav__link:focus-visible {
  color: #1A1A1A;
}
.muranoco-mobile-nav__link:focus-visible {
  outline: 2px solid #A58F7A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Featured — compact filled chip (same row height, not raised) */
.muranoco-mobile-nav__item--featured .muranoco-mobile-nav__icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.55rem;
  background: #1A1A1A;
  color: #F6F4F0;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.16);
}
.muranoco-mobile-nav__item--featured .muranoco-mobile-nav__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.muranoco-mobile-nav__item--featured .muranoco-mobile-nav__label {
  color: #1A1A1A;
  font-weight: 700;
}
.muranoco-mobile-nav__item--featured.is-active .muranoco-mobile-nav__icon,
.muranoco-mobile-nav__item--featured .muranoco-mobile-nav__link:hover .muranoco-mobile-nav__icon {
  background: #A58F7A;
  color: #F6F4F0;
}
.muranoco-mobile-nav__item--featured.is-active .muranoco-mobile-nav__label {
  color: #A58F7A;
}
.muranoco-mobile-nav__item--featured.is-active .muranoco-mobile-nav__link::after {
  display: none;
}

/* Reserve space so footer content isn't hidden behind the bar */
@media (max-width: 1023px) {
  body.has-mobile-bottom-nav {
    padding-bottom: calc(3.65rem + env(safe-area-inset-bottom, 0px));
  }
  body.has-mobile-bottom-nav footer {
    padding-bottom: 1.25rem;
  }
  body.has-mobile-bottom-nav .back-to-top {
    bottom: calc(4.1rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width: 1024px) {
  .muranoco-mobile-nav {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .muranoco-mobile-nav__link,
  .muranoco-mobile-nav__icon {
    transition: none;
  }
}

/* Footer — compact mobile layout */
@media (max-width: 1023px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
    row-gap: 1.75rem;
  }
  .site-footer__brand,
  .site-footer__contact {
    grid-column: 1 / -1;
  }
  .site-footer__about {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.55;
  }
  .site-footer__link {
    font-size: 0.8125rem;
    line-height: 1.35;
  }
  .site-footer__menu {
    gap: 0.55rem;
  }
  .site-footer__fax {
    display: none;
  }
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.back-to-top:hover {
  background-color: #A58F7A; /* clay */
  border-color: #A58F7A;
  color: #F6F4F0;
  transform: translate3d(0, -3px, 0);
}
.back-to-top:focus-visible {
  outline: 2px solid #A58F7A;
  outline-offset: 3px;
}
.back-to-top.is-visible:focus-visible {
  transform: translate3d(0, 0, 0);
}
.back-to-top.is-visible:hover:focus-visible {
  transform: translate3d(0, -3px, 0);
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition:
      opacity 200ms ease,
      visibility 200ms ease,
      background-color 200ms ease,
      border-color 200ms ease;
    transform: none;
  }
  .back-to-top.is-visible,
  .back-to-top:hover,
  .back-to-top.is-visible:focus-visible,
  .back-to-top.is-visible:hover:focus-visible {
    transform: none;
  }
}

/* Video cards — poster must fill even when Elementor forces img { height:auto } */
.video-card {
  position: relative;
  isolation: isolate;
}
.video-card__poster {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 0;
}
.video-card > video {
  z-index: 1;
  background: transparent;
}

/* Feature video card — play-focused hover (clay / porcelain / softblack) */
.video-card--autoplay .video-card__dim {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 400ms ease;
}
.video-card--autoplay:hover .video-card__dim,
.video-card--autoplay:focus-visible .video-card__dim {
  background-color: rgba(0, 0, 0, 0.32);
}
.video-card--autoplay .video-card__play {
  z-index: 2;
}
.video-card--autoplay .video-card__play-ring {
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(246, 244, 240, 0.4); /* porcelain */
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
}
.video-card--autoplay .video-card__play-disc {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(246, 244, 240, 0.4);
  background-color: rgba(26, 26, 26, 0.55); /* softblack */
  color: #F6F4F0; /* porcelain */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 0 rgba(165, 143, 122, 0);
  transform: scale(1);
  transition:
    transform 400ms ease,
    background-color 400ms ease,
    border-color 400ms ease,
    color 400ms ease,
    box-shadow 400ms ease;
  animation: videoPlayIdle 3.4s ease-in-out infinite;
}
.video-card--autoplay .video-card__play-disc svg {
  transform: translateX(1px); /* optical center for triangle */
  transition: opacity 400ms ease;
  opacity: 0.92;
}
.video-card--autoplay:hover .video-card__play-disc,
.video-card--autoplay:focus-visible .video-card__play-disc {
  transform: scale(1.08);
  background-color: #A58F7A; /* clay */
  border-color: #A58F7A;
  color: #F6F4F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  animation: none;
}
.video-card--autoplay:hover .video-card__play-disc svg,
.video-card--autoplay:focus-visible .video-card__play-disc svg {
  opacity: 1;
}
.video-card--autoplay:hover .video-card__play-ring,
.video-card--autoplay:focus-visible .video-card__play-ring {
  animation: videoPlayRing 720ms ease-out forwards;
}
@keyframes videoPlayIdle {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(165, 143, 122, 0);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 7px rgba(165, 143, 122, 0.14);
  }
}
@keyframes videoPlayRing {
  0% {
    opacity: 0.5;
    transform: scale(1);
    border-color: rgba(165, 143, 122, 0.55); /* clay */
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
    border-color: rgba(165, 143, 122, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-card--autoplay .video-card__dim {
    transition: background-color 180ms ease;
  }
  .video-card--autoplay .video-card__play-disc {
    animation: none;
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      color 180ms ease;
  }
  .video-card--autoplay:hover .video-card__play-disc,
  .video-card--autoplay:focus-visible .video-card__play-disc {
    transform: none;
    animation: none;
  }
  .video-card--autoplay:hover .video-card__play-ring,
  .video-card--autoplay:focus-visible .video-card__play-ring {
    animation: none;
    opacity: 0.45;
    transform: scale(1.12);
    border-color: rgba(165, 143, 122, 0.5);
  }
}

.mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 320px 190px 140px 140px;
  grid-template-areas:
    "text text text text text hero hero hero hero hero hero hero"
    "a a a a b b b c c c c c"
    "d d d d d d d e e f f f"
    "d d d d d d d e e g g g";
}
.mosaic > .m-text { grid-area: text; }
.mosaic > .m-hero { grid-area: hero; }
.mosaic > .m-a { grid-area: a; }
.mosaic > .m-b { grid-area: b; }
.mosaic > .m-c { grid-area: c; }
.mosaic > .m-d { grid-area: d; }
.mosaic > .m-e { grid-area: e; }
.mosaic > .m-f { grid-area: f; }
.mosaic > .m-g { grid-area: g; }

/* Fill fixed grid cells; beat Elementor’s `img { height: auto }` */
.mosaic > a {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
  justify-self: stretch;
}
.mosaic > a img,
.elementor .mosaic > a img,
.elementor-widget-muranoco_projects_mosaic .mosaic > a img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1023px) {
  .mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 280px 220px 220px 260px 220px 220px;
    grid-template-areas:
      "text text text text text text"
      "hero hero hero hero hero hero"
      "a a a b b b"
      "c c c c c c"
      "d d d d d d"
      "e e e f f f"
      "g g g g g g";
  }
}
@media (max-width: 639px) {
  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto repeat(8, 300px);
    grid-template-areas: "text" "hero" "a" "b" "c" "d" "e" "f" "g";
  }
}

/* Sticky aside columns (project overview, quote form, etc.) — in theme.css so live isn't dependent on purged Tailwind */
.muranoco-sticky-aside {
  align-self: start;
}
@media (min-width: 1024px) {
  .muranoco-sticky-aside {
    position: sticky;
    top: calc(var(--muranoco-nav-h, 5rem) + 1.5rem);
    z-index: 1;
  }
}

/* Project bento: equal tile band height so mixed layouts don’t leave gaps */
@media (min-width: 1024px) {
  .project-bento > .project-bento__third,
  .project-bento > .project-bento__hero,
  .project-bento > .project-bento__tall-solo,
  .project-bento > .project-bento__tall-stack {
    aspect-ratio: auto;
    height: 380px;
  }
}

/* Project bento — compact mobile grid, no orphan empty cells */
@media (max-width: 1023px) {
  .project-bento {
    gap: 0.5rem;
  }
  /* Solo tall tile was col-span-1 and left a blank cell — fill the row */
  .project-bento > .project-bento__tall-solo {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }
  .project-bento > .project-bento__hero {
    aspect-ratio: 16 / 10;
  }
  .project-bento > .project-bento__third {
    aspect-ratio: 1 / 1;
  }
  .project-bento > .project-bento__wide {
    aspect-ratio: 16 / 9;
  }
  .project-bento > .project-bento__tall-stack {
    gap: 0.5rem;
  }
  .project-bento .project-bento__tall-item {
    aspect-ratio: 3 / 4;
  }
  /* Photo/video captions stay readable on small tiles */
  .project-bento .photo-tile .absolute.inset-x-0,
  .project-bento .video-card .absolute.inset-x-0 {
    padding: 0.65rem 0.75rem;
  }
}
@media (max-width: 639px) {
  #project-media h2 {
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
  }
}

/* Contact / Quote forms */
.muranoco-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.muranoco-field-error {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #b54a3a;
}
.muranoco-form-error {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(181, 74, 58, 0.35);
  background: rgba(181, 74, 58, 0.06);
  color: #8f3a2e;
  font-size: 0.875rem;
  line-height: 1.5;
}
#contactForm .is-invalid,
#quoteForm .is-invalid {
  border-color: #b54a3a !important;
}
.muranoco-form-success:focus {
  outline: none;
}

/* Elementor / Murano office map — keep a real height so embeds never collapse */
.muranoco-office-map__frame {
  width: 100%;
  height: 420px;
  min-height: 280px;
  overflow: hidden;
  background: #ece8e1;
}
.muranoco-office-map__frame iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  display: block;
}
@media (max-width: 1023px) {
  .muranoco-office-map__frame {
    height: 360px;
  }
}
@media (max-width: 639px) {
  .muranoco-office-map__frame {
    height: 280px;
  }
}

/* Elementor Google Maps on Contact — full-bleed iframe */
.elementor-page-main .elementor-widget-google_maps .elementor-custom-embed,
.elementor-page-main .elementor-widget-google_maps iframe {
  width: 100%;
  display: block;
  min-height: 280px;
}
.elementor-page-main .elementor-widget-google_maps .elementor-custom-embed {
  height: 420px;
  min-height: 280px;
}
.elementor-page-main .elementor-widget-google_maps .elementor-widget-container {
  margin: 0;
}

/*
 * Elementor default Gaps → Widgets (--kit-widget-spacing: 20px) stacks space
 * between every widget. Murano sections already pad themselves — zero it out.
 * Critical when multiple widgets share one column (Projects page used to).
 */
.elementor-widget:not(:last-child),
.elementor-page-main .elementor-widget:not(:last-child) {
  --kit-widget-spacing: 0px;
  margin-block-end: 0;
}

/*
 * Dark-on-dark stack (On Site Videos → CTA): Elementor Gaps is not the issue —
 * both sections used ~120–160px vertical padding and blended into one empty band.
 */
.elementor-widget-muranoco_onsite_videos > .elementor-widget-container > section {
  padding-bottom: 4rem;
}
.elementor-widget-muranoco_onsite_videos + .elementor-widget-muranoco_cta_section > .elementor-widget-container > section,
.elementor-widget-muranoco_onsite_videos + .elementor-widget-muranoco_prebuild_section > .elementor-widget-container > section {
  padding-top: 4rem;
}
@media (min-width: 1024px) {
  .elementor-widget-muranoco_onsite_videos > .elementor-widget-container > section {
    padding-bottom: 5rem;
  }
  .elementor-widget-muranoco_onsite_videos + .elementor-widget-muranoco_cta_section > .elementor-widget-container > section,
  .elementor-widget-muranoco_onsite_videos + .elementor-widget-muranoco_prebuild_section > .elementor-widget-container > section {
    padding-top: 5rem;
  }
}

/* Projects Gallery — AJAX loading */
[data-muranoco-gallery].is-gallery-loading [data-gallery-grid] {
  pointer-events: none;
}
[data-muranoco-gallery].is-gallery-loading[data-gallery-loading="more"] [data-gallery-grid] {
  transition: opacity 320ms ease;
  opacity: 0.72;
}
[data-muranoco-gallery].is-gallery-loading[data-gallery-loading="filter"] [data-gallery-grid] {
  transition: opacity 220ms ease;
  opacity: 0.35;
}

/* Projects Gallery — Load More (eyebrow-style CTA) */
.gallery-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0.25rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1a1a; /* softblack */
  transition: color 400ms ease, opacity 320ms ease, transform 320ms ease;
}
.gallery-more-btn:hover,
.gallery-more-btn:focus-visible {
  color: #a58f7a; /* clay */
  outline: none;
}
.gallery-more-btn:active:not(:disabled) {
  transform: translateY(1px);
}
.gallery-more-btn:disabled {
  cursor: wait;
}
.gallery-more-btn__rule {
  display: block;
  width: 2rem;
  height: 1px;
  background: rgba(165, 143, 122, 0.5);
  transition: width 400ms ease, background-color 400ms ease, opacity 320ms ease;
}
.gallery-more-btn:hover .gallery-more-btn__rule,
.gallery-more-btn:focus-visible .gallery-more-btn__rule {
  width: 2.5rem;
  background: #a58f7a;
}
.gallery-more-btn__icon,
.gallery-more-btn__spinner {
  flex-shrink: 0;
  transition: transform 400ms ease, opacity 280ms ease;
}
.gallery-more-btn__spinner {
  display: none;
}
.gallery-more-btn:hover .gallery-more-btn__icon,
.gallery-more-btn:focus-visible .gallery-more-btn__icon {
  transform: translateY(2px);
}
.gallery-more-btn.is-loading {
  color: #a58f7a;
  pointer-events: none;
}
.gallery-more-btn.is-loading .gallery-more-btn__icon {
  display: none;
}
.gallery-more-btn.is-loading .gallery-more-btn__spinner {
  display: block;
  animation: gallery-more-spin 0.7s linear infinite;
}
.gallery-more-btn.is-loading .gallery-more-btn__rule {
  width: 2.75rem;
  background: #a58f7a;
  animation: gallery-more-rule-pulse 1.1s ease-in-out infinite;
}
.gallery-more-btn.is-loading .gallery-more-btn__label {
  letter-spacing: 0.2em;
}

@keyframes gallery-more-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes gallery-more-rule-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.08);
  }
}

.project-tile.is-gallery-enter {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  will-change: opacity, transform;
}

/* ─── Blog / archive / search / single ─── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.75rem;
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #f7f5f2; /* pearl */
  border: 1px solid rgba(212, 208, 200, 0.55); /* dove */
  transition: border-color 400ms ease, transform 400ms ease, box-shadow 400ms ease;
}
.blog-card:hover {
  border-color: rgba(165, 143, 122, 0.55); /* clay */
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}
.blog-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.blog-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 390 / 254;
  background: #e8e4dc;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}
.blog-card__media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.blog-card:hover .blog-card__media-shade {
  opacity: 1;
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.35rem 1.6rem;
}
.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.blog-card__cat,
.blog-card__date {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7568; /* stoneolive-ish */
}
.blog-card__cat {
  color: #a58f7a; /* clay */
}
.blog-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(212, 208, 200, 0.9);
}
.blog-card__title {
  display: block;
  font-family: "Fraunces", "Times New Roman", serif;
  font-style: normal;
  font-synthesis: none;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
  transition: color 400ms ease;
}
.blog-card:hover .blog-card__title {
  color: #a58f7a;
}
.blog-card__excerpt {
  display: block;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #6b6570; /* slatetaupe approx */
  flex: 1;
}
.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 400ms ease, gap 400ms ease;
}
.blog-card:hover .blog-card__more {
  color: #a58f7a;
  gap: 0.7rem;
}

.blog-pagination {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
}
.blog-pagination-wrap:empty {
  display: none;
}
.blog-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6570;
  border: 1px solid rgba(212, 208, 200, 0.7);
  background: #f7f5f2;
  text-decoration: none;
  transition: color 400ms ease, border-color 400ms ease, background-color 400ms ease;
}
a.blog-pagination__num:hover {
  color: #a58f7a;
  border-color: #a58f7a;
}
.blog-pagination__num.is-current {
  color: #f7f5f2;
  background: #1a1a1a;
  border-color: #1a1a1a;
}
.blog-pagination__gap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  color: #9a958a;
  letter-spacing: 0.12em;
}
.blog-pagination__edge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 400ms ease, gap 400ms ease;
}
a.blog-pagination__edge:hover {
  color: #a58f7a;
  gap: 0.65rem;
}
.blog-pagination__edge.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.blog-loop.is-blog-loading [data-blog-grid] {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.blog-loop.is-blog-loading [data-blog-pagination-wrap] {
  opacity: 0.55;
  pointer-events: none;
}

/* ─── 404 ─── */
.muranoco-404__mark {
  font-size: clamp(8rem, 28vw, 22rem);
}
.muranoco-404__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 8.5rem;
  padding: 1.35rem 1.35rem 1.5rem;
  background: #f7f5f2;
  border: 1px solid rgba(212, 208, 200, 0.55);
  text-decoration: none;
  transition: border-color 400ms ease, transform 400ms ease, box-shadow 400ms ease;
}
.muranoco-404__link:hover {
  border-color: rgba(165, 143, 122, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}
.muranoco-404__link-label {
  font-family: "Fraunces", "Times New Roman", serif;
  font-style: normal;
  font-synthesis: none;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}
.muranoco-404__link-note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b6570;
  max-width: 18ch;
}
.muranoco-404__link-arrow {
  margin-top: auto;
  color: #a58f7a;
  transition: transform 400ms ease;
}
.muranoco-404__link:hover .muranoco-404__link-arrow {
  transform: translateX(4px);
}

.blog-search {
  display: flex;
  width: 100%;
  border: 1px solid rgba(212, 208, 200, 0.7);
  background: #fff;
}
.blog-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.9rem 1.1rem;
  font-size: 0.9375rem;
  color: #1a1a1a;
  outline: none;
}
.blog-search__input::placeholder {
  color: #9a958a;
}
.blog-search__submit {
  flex-shrink: 0;
  border: 0;
  border-left: 1px solid rgba(212, 208, 200, 0.7);
  background: #1a1a1a;
  color: #f7f5f2;
  padding: 0 1.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 400ms ease;
}
.blog-search__submit:hover {
  background: #a58f7a;
}

.blog-single__feature-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-single__cat {
  text-decoration: none;
  color: inherit;
  transition: opacity 400ms ease;
}
.blog-single__cat:hover {
  opacity: 0.75;
  color: inherit;
}
.blog-single__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-single__tag-list a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6570;
  border: 1px solid rgba(212, 208, 200, 0.7);
  text-decoration: none;
  transition: color 400ms ease, border-color 400ms ease;
}
.blog-single__tag-list a:hover {
  color: #a58f7a;
  border-color: #a58f7a;
}
.blog-single__nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .blog-single__nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
.blog-single__nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  transition: color 400ms ease;
}
.blog-single__nav-link--next {
  text-align: right;
}
.blog-single__nav-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a58f7a;
}
.blog-single__nav-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-style: normal;
  font-synthesis: none;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}
.blog-single__nav-link:hover .blog-single__nav-title {
  color: #a58f7a;
}

.blog-comment-form textarea,
.blog-comment-form input[type="text"],
.blog-comment-form input[type="email"],
.blog-comment-form input[type="url"] {
  width: 100%;
  border: 1px solid rgba(212, 208, 200, 0.7);
  background: #fff;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 400ms ease;
}
.blog-comment-form textarea:focus,
.blog-comment-form input:focus {
  border-color: #a58f7a;
}
.blog-comment-list .comment-body {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(212, 208, 200, 0.45);
}
.blog-comment-list .comment-author {
  font-weight: 600;
  color: #1a1a1a;
}
.blog-comment-list .comment-meta {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #7a7568;
  margin: 0.35rem 0 0.75rem;
}
