/* ================= LOCAL FONTS ================= */
.email-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; border: 0; border-top: 5px solid #f4b400; border-radius: 12px; color: #171717; background: white; box-shadow: 0 20px 70px #0005; }
.email-dialog::backdrop { background: #0009; }
.email-dialog h2 { padding-right: 32px; font-size: 1.6rem; }
.email-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; background: transparent; border: 0; font-size: 1.8rem; }
.email-address { width: 100%; padding: 10px; border: 1px solid #aaa; border-radius: 5px; font-size: 16px; }
.email-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.email-help, .email-copy-status { font-size: .9rem; color: #555; }
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

/* ================= CSS VARIABLES ================= */
:root {
  --lmg-font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --lmg-font-heading: "Manrope", "Segoe UI", sans-serif;
  --lmg-black: #0d0d0d;
  --lmg-dark: #171717;
  --lmg-yellow: #f4b400;
  --lmg-yellow-dark: #866200;
  --lmg-white: #ffffff;
  --lmg-light: #f7f7f7;
  --lmg-grey: #666666;
  --lmg-border: #e5e5e5;
}

/* ================= GENERAL PAGE STYLES ================= */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--lmg-dark);
  background-color: var(--lmg-white);
  font-family: var(--lmg-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .about-statement {
  font-family: var(--lmg-font-heading);
}

h1, h2, h3 { text-wrap: balance; }

button, input, select, textarea { font-family: inherit; }

img {
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 110px;
}

.section-space {
  padding: 76px 0;
}

.section-label {
  margin-bottom: 12px;
  color: var(--lmg-yellow-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--lmg-black);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 42px;
  color: var(--lmg-grey);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--lmg-black);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--lmg-yellow);
}

.text-link:hover,
.text-link:focus {
  color: var(--lmg-yellow-dark);
}


.btn { font-weight: 700; border-radius: 6px; }
.btn-dark { --bs-btn-bg: var(--lmg-black); --bs-btn-border-color: var(--lmg-black); }
.btn-outline-warning { --bs-btn-color: var(--lmg-yellow); --bs-btn-border-color: var(--lmg-yellow); --bs-btn-hover-bg: var(--lmg-yellow); --bs-btn-hover-color: var(--lmg-black); }

/* ================= ACCESSIBILITY AND SKIP LINK ================= */
:focus-visible { outline: 3px solid var(--lmg-yellow-dark); outline-offset: 4px; }
.lmg-navbar :focus-visible, .hero-section :focus-visible, .media-spotlight :focus-visible { outline-color: var(--lmg-yellow); }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  transform: translateY(calc(-100% - 20px));
  padding: 12px 20px;
  color: var(--lmg-black);
  background: var(--lmg-yellow);
  font-weight: 700;
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: none; }

/* ================= NAVBAR ================= */

.lmg-navbar {
  min-height: 88px;
  padding: 10px 4%;
  background-color: var(--lmg-black);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.lmg-navbar .navbar-brand {
  margin-right: 12px;
  gap: 10px;
  padding-block: 0;
}

/* Frame the visible mark, excluding transparent space in the original PNG. */
.brand-logo {
  position: relative;
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
}

.brand-logo .business-logo {
  position: absolute;
  width: 211.85%;
  max-width: none;
  height: auto;
  left: -55.92%;
  top: -37.91%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  background-color: transparent;
}

.navbar-brand span {
  color: var(--lmg-white);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.lmg-navbar .nav-link {
  border: 0;
  background: transparent;
  text-align: left;
  margin: 0 5px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.lmg-navbar .nav-link:hover,
.lmg-navbar .nav-link:focus,
.lmg-navbar .nav-link.active {
  color: var(--lmg-yellow);
}

.lmg-navbar .dropdown-menu {
  width: 19rem; max-width: 100%;
  max-height: 72vh;
  overflow-y: auto;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.lmg-navbar .dropdown-item {
  white-space: normal;
  padding: 9px 12px;
  border-radius: 6px;
}

.lmg-navbar .dropdown-item:hover,
.lmg-navbar .dropdown-item:focus {
  color: var(--lmg-black);
  background-color: #fff3c2;
}

.lmg-navbar .form-control {
  min-width: 0;
  width: 170px;
}

/* ================= QUOTE BUTTON ================= */
.btn.quote-button {
  color: var(--lmg-black);
  background-color: var(--lmg-yellow);
  border: 1px solid var(--lmg-yellow);
  font-weight: 800;
  min-height: 48px;
  padding: 12px 20px;
  border-color: var(--lmg-black);
}

.btn.quote-button:hover,
.btn.quote-button:focus-visible {
  color: var(--lmg-black);
  background-color: #ffcf40;
  border-color: var(--lmg-black);
  outline: 3px solid var(--lmg-yellow-dark);
  outline-offset: 3px;
}


.lmg-navbar .quote-button { white-space: nowrap; }

/* ================= HERO ================= */

.hero-section {
  position: relative;
  display: flex;
  min-height: calc(100svh - 88px);
  align-items: center;
  overflow: hidden;
  color: var(--lmg-white);
  background-color: var(--lmg-black);
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Custom background URLs resolve relative to this stylesheet. */
.hero-product-slide {
  overflow: hidden;
  background: var(--lmg-black);
}

.hero-product-slide::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: var(--hero-project);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  opacity: .85;
}

.hero-product-slide .hero-slide-image {
  position: relative;
  width: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 991.98px) {
  .hero-product-slide .hero-slide-image {
    width: 100%;
    padding: 0;
    object-position: center;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.58) 55%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 42px;
  padding-bottom: 42px;
}

.hero-label {
  margin-bottom: 18px;
  color: var(--lmg-yellow);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hero-title {
  max-width: 850px;
  margin-bottom: 22px;
  color: var(--lmg-white);
  font-size: clamp(2.4rem, 4.7vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: block;
  color: var(--lmg-yellow);
}

.hero-description {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--lmg-white);
  font-size: 1.12rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-primary-button,
.hero-secondary-button {
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
}

.hero-primary-button {
  color: var(--lmg-black);
  background-color: var(--lmg-yellow);
  border: 2px solid var(--lmg-yellow);
}

.hero-primary-button:hover,
.hero-primary-button:focus {
  color: var(--lmg-black);
  background-color: var(--lmg-white);
  border-color: var(--lmg-white);
}

.hero-secondary-button {
  color: var(--lmg-white);
  background-color: transparent;
  border: 2px solid var(--lmg-white);
}

.hero-secondary-button:hover,
.hero-secondary-button:focus {
  color: var(--lmg-black);
  background-color: var(--lmg-white);
}

.hero-service-list {
  margin-top: 26px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-service-list span {
  margin: 0 7px;
  color: var(--lmg-yellow);
}



/* ================= QUICK SERVICE LINKS ================= */

.expertise-strip {
  color: var(--lmg-white);
  background-color: var(--lmg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-item {
  display: block;
  padding: 23px 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.expertise-item:hover,
.expertise-item:focus {
  color: var(--lmg-yellow);
}


/* ================= ABOUT PREVIEW ================= */

.about-preview {
  background-color: var(--lmg-white);
}

.about-copy {
  color: var(--lmg-grey);
  font-size: 1.03rem;
}

.about-statement {
  padding-left: 28px;
  border-left: 5px solid var(--lmg-yellow);
  color: var(--lmg-black);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
}


/* ================= FEATURED SERVICES ================= */

.featured-services {
  background-color: var(--lmg-light);
}

.service-card {
  height: 100%;
  padding: 30px;
  background-color: var(--lmg-white);
  border: 1px solid var(--lmg-border);
  border-top: 4px solid transparent;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.service-card:hover,
.service-card:focus-within {
  border-top-color: var(--lmg-yellow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.service-number {
  display: block;
  margin-bottom: 22px;
  color: var(--lmg-yellow-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--lmg-black);
  font-size: 1.35rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--lmg-grey);
}


/* ================= GALLERY PREVIEW ================= */

.work-preview-card {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  color: var(--lmg-white);
  background-color: var(--lmg-black);
  border-radius: 12px;
  text-decoration: none;
}

.work-preview-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  opacity: 0.78;
}

.work-preview-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.9)
  );
}

.work-preview-card small {
  color: var(--lmg-yellow);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-preview-card h3 {
  margin: 8px 0 0;
  color: var(--lmg-white);
  font-size: 1.45rem;
  font-weight: 800;
}

.work-preview-card:hover img,
.work-preview-card:focus img {
  opacity: 0.92;
}


/* ================= PODCAST AND VIDEO SECTION ================= */

.media-spotlight {
  position: relative;
  overflow: hidden;
  color: var(--lmg-white);
  background-color: var(--lmg-black);
}

.media-spotlight::after {
  pointer-events: none;
  position: absolute;
  top: -170px;
  right: -170px;
  width: 430px;
  height: 430px;
  content: "";
  background-color: var(--lmg-yellow);
  border-radius: 50%;
  opacity: 0.12;
}

.media-spotlight .section-title,
.media-spotlight h3 {
  color: var(--lmg-white);
}

.media-feature {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.media-feature p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}


.media-description { color: #c4c4c4; }

.media-spotlight .section-label { color: var(--lmg-yellow); }

/* ================= WHY LMG ================= */

.why-card {
  height: 100%;
  padding: 26px 0;
  border-top: 3px solid var(--lmg-yellow);
}

.why-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 800;
}

.why-card p {
  margin-bottom: 0;
  color: var(--lmg-grey);
}


/* ================= WORK PROCESS ================= */

.process-section {
  background-color: var(--lmg-light);
}

.process-step {
  height: 100%;
  padding: 26px;
  background-color: var(--lmg-white);
  border: 1px solid var(--lmg-border);
  border-radius: 10px;
}

.process-step strong {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--lmg-black);
  background-color: var(--lmg-yellow);
  border-radius: 50%;
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.process-step p {
  margin-bottom: 0;
  color: var(--lmg-grey);
}


/* ================= FINAL CALL TO ACTION ================= */

.home-cta {
  padding: 82px 0;
  color: var(--lmg-black);
  background-color: var(--lmg-yellow);
}

.home-cta h2 {
  max-width: 800px;
  margin: 0;
  color: var(--lmg-black);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-cta p {
  max-width: 660px;
  margin-top: 18px;
  margin-bottom: 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 1.05rem;
}

.home-cta .btn-dark {
  padding: 13px 24px;
  font-weight: 800;
}



/* ================= INNER PAGE STYLES ================= */
.page-header { padding: 64px 0 32px; background: var(--lmg-light); }
.page-header h1 { font-weight: 800; }
/* Services page */
.service-detail { scroll-margin-top: 110px; }
.service-detail h2 { font-size: 1.4rem; font-weight: 800; }

/* ================= FOOTER ================= */
.lmg-footer { padding-top: 56px; color: #c4c4c4; background: var(--lmg-black); font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-grid > * { min-width: 0; }
.lmg-footer p { margin-bottom: 16px; }
.lmg-footer h2 { margin: 0 0 16px; color: var(--lmg-yellow); font-size: 1rem; font-weight: 800; }
.lmg-footer a { color: var(--lmg-white); text-decoration: none; overflow-wrap: anywhere; }
.lmg-footer a:hover, .lmg-footer a:focus-visible { color: var(--lmg-yellow); text-decoration: underline; text-underline-offset: 5px; }
.lmg-footer :focus-visible { outline-color: var(--lmg-yellow); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--lmg-font-heading); font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.footer-slogan { color: var(--lmg-white); font-weight: 600; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; line-height: 1.4; }
.footer-links .footer-all-services { color: var(--lmg-yellow); font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 24px 60px 24px 0; border-top: 1px solid #353535; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ================= BACK-TO-TOP BUTTON ================= */
.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1025;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--lmg-black);
  border-radius: 8px;
  color: var(--lmg-black);
  background: var(--lmg-yellow);
  font-size: 1.5rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.back-to-top.is-visible { visibility: visible; opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--lmg-white); }

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1199.98px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lmg-navbar {
    padding-right: 2%;
    padding-left: 2%;
    min-height: 78px;
  }
  .lmg-navbar .nav-link {
    margin-right: 2px;
    margin-left: 2px;
    font-size: 0.92rem;
  }
  .brand-logo {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  .navbar-collapse {
    padding: 18px 0 10px;
  }
  .lmg-navbar .form-control {
    width: 100%;
  }
  .quote-button {
    display: block;
    width: 100%;
    margin: 8px 0 0 !important;
  }
  .hero-section {
    min-height: calc(100svh - 78px);
  }
  .lmg-navbar .navbar-collapse {
    max-height: calc(100svh - 86px);
    overflow-y: auto;
  }
  .lmg-navbar .dropdown-menu {
    width: 100%;
    max-height: 45svh;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 72px 0;
  }
  .navbar-brand span {
    font-size: 0.98rem;
  }
  .hero-section {
    min-height: calc(100svh - 78px);
  }
  .hero-overlay {
    background: rgba(0, 0, 0, 0.60);
  }
  .hero-content {
    padding-top: 32px;
    padding-bottom: 32px;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(2.15rem, 8vw, 3.5rem);
  }
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-service-list {
    line-height: 2;
  }
  .expertise-item {
    padding: 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .work-preview-card img {
    height: 310px;
  }
  .home-cta {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 28px;
  }
  .lmg-footer {
    padding-top: 40px;
  }
  .brand-logo {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  .lmg-navbar .navbar-brand {
    gap: 8px;
  }
  .navbar-brand span {
    font-size: .9rem;
  }
  .lmg-navbar {
    padding-inline: 0;
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.55;
  }
  .hero-service-list {
    font-size: .8rem;
  }
  .section-space {
    padding: 52px 0;
  }
}


/* ================= SERVICES, SAMPLE PACKAGES AND TESTIMONIALS ================= */
.section-tint { background: var(--lmg-light); }
.service-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 18px; }
.service-filters[hidden], .service-item[hidden] { display: none; }
.service-filter { padding: 10px 16px; border: 1px solid var(--lmg-border); border-radius: 24px; background: white; color: var(--lmg-black); font-weight: 600; }
.service-filter:hover, .service-filter[aria-pressed="true"] { background: var(--lmg-black); color: var(--lmg-white); border-color: var(--lmg-black); }
.service-detail h3 { font-size: 1.4rem; }
.service-detail:target { border-color: var(--lmg-yellow-dark); }
.options-grid, .testimonial-grid, .process-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
.pricing-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pricing-card .package-price { color: var(--lmg-black); font-size: 1.4rem; font-weight: 800; }
.pricing-card .btn { margin-top: auto; }
.pricing-card ul { padding-left: 20px; }
.pricing-card li { margin-bottom: 10px; }
.popular-package { border-color: var(--lmg-yellow-dark); }
.pricing-card .popular-label { background: var(--lmg-yellow); color: var(--lmg-black); border-radius: 4px; padding: 4px 10px; font-weight: 700; }
.testimonial-card { margin: 0; }
.testimonial-card blockquote { font-size: 1.1rem; line-height: 1.7; }
.testimonial-card figcaption { margin-top: 24px; }
.process-list { padding-left: 24px; }
.process-list li { padding: 8px 18px 8px 4px; }
.process-list li::marker { color: var(--lmg-yellow-dark); font-weight: 800; }
.process-list h3 { font-size: 1.25rem; }
.service-faq { max-width: 850px; }
.service-faq details { border-bottom: 1px solid var(--lmg-border); padding: 20px 0; }
.service-faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.service-faq details p { margin: 16px 0 0; }
.quote-draft { max-width: 800px; }
#quote-form { scroll-margin-top: 110px; }
@media (min-width: 768px) {
  .options-grid, .testimonial-grid, .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .options-grid, .process-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ================= GALLERY PAGE ================= */
.gallery-hero { padding: 72px 0; background: var(--lmg-black); color: var(--lmg-white); border-bottom: 6px solid var(--lmg-yellow); }
.gallery-hero h1, .contact-hero h1 { max-width: 960px; font-size: clamp(2.3rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; margin-bottom: 24px; }
.gallery-hero .section-label, .contact-hero .section-label { color: var(--lmg-yellow); }
.gallery-hero .section-intro, .contact-hero .section-intro { color: #d4d4d4; margin-bottom: 28px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.page-actions .btn { padding: 12px 20px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.gallery-filter { border: 1px solid var(--lmg-border); border-radius: 24px; padding: 10px 18px; background: white; color: var(--lmg-black); font-weight: 600; }
.gallery-filter:hover { border-color: var(--lmg-black); }
.gallery-filter[aria-pressed="true"] { background: var(--lmg-black); color: white; border-color: var(--lmg-black); }
.gallery-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; scroll-margin-top: 110px; }
.gallery-item { min-width: 0; margin: 0; border: 1px solid var(--lmg-border); border-radius: 10px; background: white; scroll-margin-top: 110px; }
.gallery-preview { display: block; position: relative; width: 100%; padding: 0; border: 0; border-radius: 9px 9px 0 0; overflow: hidden; background: var(--lmg-light); aspect-ratio: 16 / 10; }
.gallery-preview img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.gallery-preview:hover img, .gallery-preview:focus-visible img { filter: brightness(.88); }
.gallery-preview-label { position: absolute; inset: auto 12px 12px; display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 4px; background: rgba(13,13,13,.9); color: white; font-size: .9rem; }
.gallery-item figcaption { padding: 24px; }
.gallery-item figcaption h3 { font-size: 1.35rem; font-weight: 800; }
.gallery-item figcaption p:last-child { color: var(--lmg-grey); margin-bottom: 0; }
.gallery-item:target { border-color: var(--lmg-yellow-dark); }
.gallery-load-more { text-align: center; margin-top: 32px; }
.gallery-load-more .btn { min-height: 48px; padding-inline: 24px; }
.gallery-empty { padding: 32px; background: var(--lmg-light); border-left: 4px solid var(--lmg-yellow); }
.gallery-modal .modal-content { border: 0; }
.gallery-modal .modal-body { background: var(--lmg-light); }
.gallery-modal .modal-body img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.gallery-modal .modal-body p { padding-top: 16px; margin-bottom: 0; }
.gallery-cta { background: var(--lmg-yellow); }
.gallery-cta p { max-width: 760px; }
.gallery-filters[hidden], .gallery-item[hidden], .gallery-empty[hidden], #gallery-load-more[hidden], #galleryModalImage[hidden] { display: none; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ================= CONTACT PAGE ================= */
.contact-hero { background: var(--lmg-black); color: white; padding: 72px 0; border-bottom: 6px solid var(--lmg-yellow); }
.contact-enquiry { background: var(--lmg-light); }
.contact-enquiry .section-title { font-size: clamp(2rem, 3.5vw, 3rem); }
.contact-information { display: grid; gap: 16px; }
.contact-info-card { padding: 24px; border: 1px solid var(--lmg-border); background: white; border-radius: 8px; }
.contact-info-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.contact-info-card a { color: var(--lmg-black); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-info-card a:hover { color: var(--lmg-yellow-dark); }
.contact-info-card p { margin-bottom: 0; }
.contact-development-note { font-size: .95rem; color: var(--lmg-grey); }
.contact-form { padding: clamp(20px, 3vw, 40px); background: white; border: 1px solid var(--lmg-border); border-top: 4px solid var(--lmg-yellow); border-radius: 10px; }
.contact-form h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; }
.contact-form .form-label, .contact-form legend { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.contact-form .form-control, .contact-form .form-select { min-height: 48px; font-size: 1rem; padding: 12px; border-color: #aaa; }
.contact-form .form-select { padding-right: 36px; }
.contact-form textarea { resize: vertical; }
.contact-form .form-control:focus, .contact-form .form-select:focus, .contact-form .form-check-input:focus { border-color: var(--lmg-yellow-dark); box-shadow: 0 0 0 3px rgba(244,180,0,.25); }
.contact-form .form-check-input:checked { background-color: var(--lmg-black); border-color: var(--lmg-black); }
.contact-form .is-invalid { border-color: #b02a37; }
.contact-form .invalid-feedback { font-size: .95rem; color: #b02a37; }
.contact-form.was-validated .form-control:invalid,
.contact-form.was-validated .form-select:invalid { border-color: #b02a37; }
.contact-form input, .contact-form select, .contact-form textarea, #quote-title { scroll-margin-top: 115px; }
.contact-form .form-text { color: var(--lmg-grey); margin-bottom: 0; }
.contact-methods { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.contact-form .form-check-label { padding-block: 4px; cursor: pointer; }
.contact-form .form-check-input { margin-top: .55em; }
.contact-form .btn { min-height: 48px; padding-inline: 24px; }
.form-status:not(:empty) { margin-top: 24px; padding: 18px; border-left: 4px solid var(--lmg-yellow-dark); background: #fff8e1; }
.contact-faq .accordion { max-width: 900px; --bs-accordion-active-bg: #fff8e1; --bs-accordion-active-color: var(--lmg-black); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(244,180,0,.3); }
.contact-faq .accordion-button { font-weight: 700; line-height: 1.5; }
.contact-reassurance { background: var(--lmg-yellow); }
@media (min-width: 992px) { .contact-process .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .gallery-hero, .contact-hero { padding: 48px 0; }
  .contact-form .btn { width: 100%; }
}

/* ================= SEARCH FEEDBACK ================= */
.site-message {
  position: fixed;
  inset: auto 16px max(76px, env(safe-area-inset-bottom)) auto;
  width: min(440px, calc(100% - 32px));
  z-index: 1040;
  padding: 18px 22px;
  border: 1px solid var(--lmg-border);
  border-left: 4px solid var(--lmg-yellow-dark);
  border-radius: 8px;
  color: var(--lmg-black);
  background: #fff8e1;
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
  opacity: 0;
  pointer-events: none;
  overflow-wrap: anywhere;
}
.site-message.is-visible { opacity: 1; }

/* ================= RESPONSIVE IMAGES ================= */
.image-focus-center { object-position: center center; }
.image-focus-top { object-position: center top; }
.image-focus-left { object-position: left center; }

/* ================= HOMEPAGE IMAGES ================= */
.work-preview-card { background: var(--lmg-white); border: 1px solid var(--lmg-border); color: var(--lmg-black); }
.work-preview-card img { display: block; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--lmg-light); opacity: 1; }
.work-preview-card-content { position: static; padding: 24px; background: none; }
.work-preview-card small { color: var(--lmg-yellow-dark); font-size: .75rem; }
.work-preview-card h3 { color: var(--lmg-black); font-size: 1.3rem; }
.work-preview-card:hover img, .work-preview-card:focus-visible img { opacity: 1; filter: brightness(.94); }
.work-preview-card:focus-visible { outline-offset: 4px; }

/* ================= GALLERY IMAGES ================= */
.gallery-preview { aspect-ratio: 4 / 3; overflow: visible; padding-bottom: 36px; background: var(--lmg-light); }
.gallery-preview img { display: block; object-fit: contain; }
.gallery-preview-label { inset: auto 0 0; border-radius: 0; height: 36px; align-items: center; padding: 6px 12px; background: var(--lmg-black); }
.gallery-modal .modal-body img { object-fit: contain; }

/* ================= SERVICE CARD IMAGES ================= */
.service-card.service-detail { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--lmg-light); }
.service-detail-content { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.service-detail-content .service-number { margin-bottom: 10px; }
.service-detail-content .section-label { font-size: .72rem; }
.service-inclusions { padding-left: 20px; margin-bottom: 20px; }
.service-inclusions li { margin-bottom: 6px; }
.service-detail-content .service-quote { color: var(--lmg-black); font-weight: 800; margin-top: auto; }
.service-detail-content .quote-button { width: 100%; }

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Editorial details and accessible slideshow controls */
.hero-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid #ffffff40; width: fit-content; }
.hero-controls[hidden] { display: none; }
.hero-controls-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-right: 8px; }
.hero-controls button { min-height: 40px; min-width: 40px; padding: 6px 12px; border: 1px solid #ffffff65; border-radius: 5px; color: white; background: #0d0d0d80; font-size: .85rem; }
.hero-controls button:hover { color: var(--lmg-black); background: var(--lmg-yellow); border-color: var(--lmg-yellow); }
.hero-controls button:disabled { opacity: .65; cursor: default; }
.hero-position { font-size: .8rem; font-variant-numeric: tabular-nums; min-width: 48px; text-align: center; }
.page-header { position: relative; overflow: hidden; padding: 72px 0 52px; background: radial-gradient(circle at 90% 20%, #f4b40025, transparent 40%), var(--lmg-light); border-bottom: 1px solid var(--lmg-border); }
.page-header::after { content: ""; position: absolute; width: 250px; height: 250px; border: 36px solid #f4b40020; border-radius: 50%; right: 5%; top: -75px; pointer-events: none; }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.055em; }
.section-label { display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ""; width: 22px; height: 2px; background: currentColor; flex-shrink: 0; }
.studio-composition { position: relative; padding: 20px 65px 56px 20px; margin: 0 0 28px; background: #f4b40014; border-radius: 16px; }
.studio-main-image { display: block; width: 100%; height: auto; border-radius: 8px; }
.studio-detail-image { position: absolute; width: 39%; height: auto; right: 0; bottom: 30px; border: 8px solid white; border-radius: 8px; box-shadow: 0 16px 36px #0002; transform: rotate(5deg); }
.studio-composition figcaption { margin-top: 18px; font-size: .78rem; font-weight: 700; max-width: 60%; }
.studio-statement { font-size: 1.25rem; }
@media (max-width: 991.98px) { .hero-controls { margin-left: auto; margin-right: auto; justify-content: center; } }
@media (max-width: 575.98px) { .hero-controls-label { width: 100%; margin-right: 0; } .page-header { padding: 48px 0 32px; } }

/* Spam trap stays out of the visual and keyboard flow. */
.quote-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* Selected Work actions share a compact, responsive group. */
.selected-work-intro { min-width: 0; }
.selected-work-actions { display: flex; flex-shrink: 0; align-items: stretch; gap: 12px; margin-bottom: 24px; }
.selected-work-actions > a, .selected-showreel-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; white-space: nowrap; }
.selected-gallery-button { color: var(--lmg-black); background: var(--lmg-yellow); border: 1px solid var(--lmg-black); border-radius: 6px; font-weight: 800; text-decoration: none; }
.selected-gallery-button:hover { color: var(--lmg-black); background: #ffcf40; }
.selected-gallery-button:focus-visible { outline: 3px solid var(--lmg-black); outline-offset: 4px; }
.selected-showreel-button { gap: 10px; border: 1px solid var(--lmg-black); border-radius: 6px; color: var(--lmg-black); background: transparent; font-weight: 700; }
.selected-showreel-button:hover { background: var(--lmg-yellow); }
.selected-showreel-button:focus-visible { outline: 3px solid var(--lmg-black); outline-offset: 4px; }
.selected-showreel-button span[aria-hidden] { font-size: .75em; }
.showreel-status { color: var(--lmg-white); padding: 1rem; margin: 0; }
@media (max-width: 575.98px) { .selected-work-actions { flex-direction: column; } .selected-work-actions > * { width: 100%; } }
