
:root {
  --bg: #160b20;
  --bg2: #23102f;
  --bg3: #321342;
  --purple: #a441ed;
  --lilac: #e8b9ff;
  --text: #f9efff;
  --muted: #dcc7e8;
  --line: #783aa2;
  --script: 'Great Vibes', cursive;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  font-size: 15px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--sans);
}

a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.wrap {
  width: min(1200px, 92%);
  margin: auto;
}

.section-dark {
  position: relative;
  padding: 65px 0;
  background:
    radial-gradient(
      circle at 75% 15%,
      rgba(125,45,175,.16),
      transparent 42%
    ),
    var(--bg);
  border-bottom: 1px solid rgba(187,111,244,.48);
}

.script-title {
  font: 400 clamp(43px,4.5vw,62px)/1.15 var(--script);
  color: var(--lilac);
  margin: 0 0 17px;
  text-shadow: 0 0 12px rgba(189,107,255,.25);
}

.centered { text-align: center; }

.section-subtitle {
  text-align: center;
  margin: -4px auto 34px;
  color: var(--muted);
}

.overline {
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 800;
  color: #e3b4ff;
}

.btn {
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 10px 20px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.btn:hover { transform: translateY(-3px); }

.btn-glow {
  background: linear-gradient(135deg,#8424cf,#b64bfa);
  border-color: #c58cff;
  color: white;
  box-shadow:
    0 0 16px rgba(181,73,255,.55),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.btn-glow:hover {
  box-shadow: 0 0 25px rgba(196,102,255,.8);
}

.btn-outline {
  border: 2px solid #bc79ed;
  background: rgba(42,14,61,.55);
  color: #f5e2ff;
}

.btn-big {
  padding: 12px 24px;
  font-size: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================
   HEADER
   ========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18,7,29,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #783ba5;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-paw {
  font-size: 38px;
  line-height: 1;
  filter: drop-shadow(0 0 8px #b04fff);
}

.brand-name {
  font: 400 clamp(25px,2.3vw,35px)/.98 var(--script);
  color: #f2caff;
  white-space: nowrap;
  text-shadow:
    0 0 8px #9c32d3,
    0 0 2px #fff;
}

.brand-name small,
.footer-brand small {
  display: block;
  font: 800 10px/1.7 var(--sans);
  letter-spacing: .25em;
  text-align: center;
  text-shadow: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 17px;
}

.nav-links a {
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover { color: #dda4ff; }

.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================
   MATCHING ICONS
   ========================================== */

.calendar-icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  vertical-align: middle;
  border: 2px solid currentColor;
  border-radius: 3px;
  position: relative;
  background: linear-gradient(
    to bottom,
    transparent 32%,
    currentColor 32%,
    currentColor 43%,
    transparent 43%
  );
}

.calendar-icon::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 5px;
  left: 3px;
  top: -5px;
  background: currentColor;
  box-shadow: 7px 0 currentColor;
}

.calendar-icon::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  left: 4px;
  bottom: 3px;
  background: currentColor;
  box-shadow: 5px 0 currentColor;
}

.pin-icon {
  display: inline-block;
  width: 13px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 65% 65% 65% 0;
  transform: rotate(-45deg);
  position: relative;
  margin-right: 5px;
}

.pin-icon::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  top: 4px;
  left: 3px;
}

.large-icon {
  width: 45px;
  height: 45px;
  border-width: 4px;
  border-radius: 6px;
}

.large-icon::before {
  width: 4px;
  height: 10px;
  left: 9px;
  top: -10px;
  box-shadow: 20px 0 currentColor;
}

.large-icon::after {
  width: 8px;
  height: 8px;
  left: 9px;
  bottom: 7px;
  box-shadow: 15px 0 currentColor;
}

/* ==========================================
   HERO — UNCHANGED
   ========================================== */

.hero {
  padding: 75px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(
    ellipse at 70% 45%,
    #4d1c67 0%,
    #270f36 43%,
    #14091e 85%
  );
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 24px;
  min-height: 370px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font: 400 clamp(65px,7vw,108px)/1.1 var(--script);
  color: #e9bdff;
  margin: 15px 0 0;
  white-space: nowrap;
  text-shadow: 0 0 25px rgba(207,130,255,.55);
}

.hero-subtitle {
  font-size: 18px;
  font-size: clamp(18px,2vw,27px);
  font-weight: 800;
  letter-spacing: .25em;
  margin: 0 0 18px;
}

.hero-intro {
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 17px;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #aa76ce;
  background: rgba(255,255,255,.06);
  border-radius: 99px;
  padding: 7px 15px;
  font-size: 13px;
  margin: 0 0 20px;
}

.hero-copy .btn {
  display: flex;
  width: max-content;
}

/* HERO LOGO ALIGNMENT */

.hero-visual {
  position: relative;
  width: 100%;
  height: 480px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at 26% 16%,
      rgba(255,255,255,.32) 0%,
      rgba(239,196,255,.12) 13%,
      transparent 32%
    ),
    radial-gradient(
      circle at 70% 75%,
      rgba(171,75,235,.15),
      rgba(110,36,164,.08) 55%,
      rgba(229,174,255,.12) 100%
    );
  border: 2px solid rgba(232,180,255,.65);
  box-shadow:
    inset 12px 15px 28px rgba(255,255,255,.14),
    inset -18px -20px 35px rgba(117,32,171,.3),
    0 0 25px rgba(197,107,255,.3),
    0 0 55px rgba(155,60,225,.15);
  z-index: 0;
}

.hero-glow::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 17%;
  width: 42%;
  height: 14%;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  filter: blur(13px);
  transform: rotate(-27deg);
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 84%;
  max-width: 405px;
  height: auto;
  max-height: 82%;
  object-fit: contain;
  object-position: center;
  transform: translateY(-8px);
  filter: drop-shadow(
    0 0 12px rgba(207,124,255,.3)
  );
}

/* HERO FLOATING BUBBLES */

.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubbles i {
  position: absolute;
  bottom: -90px;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(221,167,255,.75);
  background: radial-gradient(
    circle at 25% 20%,
    rgba(255,255,255,.65),
    rgba(192,115,255,.1) 40%,
    rgba(108,39,160,.22) 75%
  );
  box-shadow:
    inset 0 0 13px #b678e1,
    0 0 14px rgba(170,84,255,.55);
  animation: float 13s linear infinite;
}

.bubbles i:nth-child(1) { left: 2%; animation-delay: -2s; }
.bubbles i:nth-child(2) { left: 12%; width: 23px; animation-delay: -8s; }
.bubbles i:nth-child(3) { left: 21%; width: 67px; animation-delay: -4s; }
.bubbles i:nth-child(4) { left: 30%; width: 30px; animation-delay: -10s; }
.bubbles i:nth-child(5) { left: 43%; width: 59px; animation-delay: -6s; }
.bubbles i:nth-child(6) { left: 52%; width: 25px; animation-delay: -1s; }
.bubbles i:nth-child(7) { left: 62%; width: 74px; animation-delay: -9s; }
.bubbles i:nth-child(8) { left: 71%; width: 32px; animation-delay: -3s; }
.bubbles i:nth-child(9) { left: 79%; width: 54px; animation-delay: -7s; }
.bubbles i:nth-child(10) { left: 88%; width: 27px; animation-delay: -11s; }
.bubbles i:nth-child(11) { left: 94%; width: 61px; animation-delay: -5s; }
.bubbles i:nth-child(12) { left: 37%; width: 20px; animation-delay: -12s; }

@keyframes float {
  0% {
    transform: translateY(0) scale(.75);
    opacity: 0;
  }
  15%, 80% { opacity: .9; }
  100% {
    transform: translateY(-850px) scale(1.25);
    opacity: 0;
  }
}

/* ==========================================
   ABOUT US
   ========================================== */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.about-copy { min-width: 0; }

.about-copy p:not(.overline) {
  font-size: 15px;
  color: #ebddf2;
}

.about-instagram {
  display: inline-flex;
  margin-top: 16px;
  color: #e8b9ff;
  font-weight: 700;
  text-decoration: none;
}

.about-instagram:hover { text-decoration: underline; }

.team-photos {
  height: 330px;
  position: relative;
}

/* Purple borders matching the service cards */

.photo-frame {
  position: absolute;
  width: 62%;
  height: 265px;
  overflow: hidden;
  background: linear-gradient(145deg,#8b49b3,#29113a);
  border: 6px solid #9d55d3;
  border-radius: 12px;
  box-shadow: 0 10px 30px #0a0513;
}

.photo-one {
  left: 4%;
  top: 7px;
  transform: rotate(-7deg);
}

.photo-two {
  right: 2%;
  top: 53px;
  transform: rotate(6deg);
}

.photo-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* VAN PHOTO */

.photo-one { background: #1b0b26; }

.photo-one .van-view {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.photo-one .van-view img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.van-view {
  display: block;
  width: 100%;
  height: 100%;
  background: #1b0b26;
}

/* EMPLOYEE & PET PLACEHOLDER */

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  font-size: 56px;
  color: #f6dfff;
  background: linear-gradient(135deg,#68328c,#32133f);
}

.photo-placeholder span {
  font: 700 12px/1.3 var(--sans);
  padding: 0 8px;
}

/* TRANSLUCENT EXPERIENCE BUBBLES */

.badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px,4vw,65px);
  margin-top: 38px;
}

.badge-bubble {
  position: relative;
  flex: 0 0 clamp(120px,13vw,155px);
  width: clamp(120px,13vw,155px);
  height: clamp(120px,13vw,155px);
  border-radius: 50%;
  border: 1.5px solid rgba(231,190,255,.78);
  background: radial-gradient(
    circle at 25% 20%,
    rgba(255,255,255,.68) 0%,
    rgba(219,172,255,.18) 18%,
    rgba(149,74,204,.13) 50%,
    rgba(92,29,139,.34) 82%
  );
  box-shadow:
    inset -9px -13px 25px rgba(78,22,121,.5),
    inset 5px 7px 16px rgba(250,230,255,.3),
    0 0 24px rgba(190,110,244,.32);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 14px;
}

.badge-bubble::before {
  content: '';
  position: absolute;
  left: 18%;
  top: 11%;
  width: 38%;
  height: 13%;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: rotate(-28deg);
  filter: blur(2px);
}

.badge-bubble > span {
  font-size: 25px;
  color: #e7bbff;
}

.badge-bubble strong {
  font-size: 16px;
  line-height: 1.2;
}

.badge-bubble small { font-size: 12px; }

.claims-note {
  font-size: 12px;
  color: #cba5e1;
  text-align: center;
  margin-top: 20px;
}


/* ==========================================
   HOW IT WORKS
   ========================================== */

.process {
  background: radial-gradient(
    ellipse at center,
    #351447,
    #1a0b25 80%
  );
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step {
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -25px;
  top: 52px;
  font-size: 32px;
  color: #d79cff;
}

/* MAIN GLASS BUBBLES */

.step-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;

  border: 1.5px solid rgba(231, 190, 255, .78);

  background: radial-gradient(
    circle at 25% 20%,
    rgba(255, 255, 255, .68) 0%,
    rgba(219, 172, 255, .18) 18%,
    rgba(149, 74, 204, .13) 50%,
    rgba(92, 29, 139, .34) 82%
  );

  box-shadow:
    inset -9px -13px 25px rgba(78, 22, 121, .5),
    inset 5px 7px 16px rgba(250, 230, 255, .3),
    0 0 24px rgba(190, 110, 244, .32);

  display: grid;
  place-items: center;

  margin: 0 auto 12px;
  font-size: 55px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* GLOSSY REFLECTION — SAME AS ABOUT US BUBBLES */

.step-icon::before {
  content: '';
  position: absolute;

  left: 18%;
  top: 11%;

  width: 38%;
  height: 13%;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, .35);

  transform: rotate(-28deg);
  filter: blur(2px);

  pointer-events: none;
  z-index: -1;
}

/* REMOVE THE SMALL DECORATIVE BUBBLES */

.step-icon::after {
  content: none;
}

/* STEP NUMBERS */

.step-number {
  display: inline-block;
  background: #7434a2;
  border-radius: 15px;
  padding: 0 13px;

  font-weight: 800;
  font-size: 13px;
}

/* STEP TITLES */

.step h3 {
  margin: 8px 0 4px;
  font-size: 17px;
}

/* STEP DESCRIPTIONS */

.step p {
  margin: 0 auto;
  color: #d8c1e7;
  font-size: 13px;
  max-width: 190px;
}



/* ==========================================
   SERVICES — PROFESSIONAL LAYOUT
   ========================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* ALL SERVICE CARDS */

.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  background: #2a123a;
  border: 2px solid #9d55d3;
  border-radius: 16px;

  text-align: center;

  box-shadow: 0 6px 22px rgba(138, 52, 201, .18);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(164, 65, 237, .3);
}

/* LARGE FEATURED CARD */

.service-featured {
  grid-column: span 2;
  grid-row: span 2;

  border-color: #dba4ff;
  box-shadow: 0 0 22px rgba(160, 68, 230, .2);
}

/* PHOTO CONTAINERS */

.service-photo {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;

  background: #21102e;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* PHOTOS FIT WITHOUT CROPPING */

.service-photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  background: #21102e;
}

/* LARGER PHOTO FOR FEATURED SERVICE */

.service-featured .service-photo {
  height: 350px;
}

/* CONSISTENT SMALL-CARD PHOTOS */

.service-card:not(.service-featured) .service-photo {
  height: 190px;
}

/* ICONS */

.service-icon {
  position: relative;
  z-index: 3;

  width: 54px;
  height: 54px;

  margin: -27px auto 12px;

  display: grid;
  place-items: center;

  border: 2px solid #c88aff;
  border-radius: 50%;

  background: #42165c;
  color: #ffffff;

  font-size: 25px;
  flex-shrink: 0;
}

/* TITLES */

.service-card h3 {
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 18px 10px;

  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;

  overflow-wrap: anywhere;
}

.service-card:not(.service-featured) h3 {
  font-size: 16px;
}

/* DESCRIPTIONS */

.service-card > p:not(.service-price) {
  margin: 0 20px 18px;

  color: #e5d2f1;

  font-size: 13px;
  line-height: 1.7;

  flex-grow: 1;
}

/* FEATURED SERVICE DESCRIPTION */

.service-featured > p:not(.service-price) {
  flex-grow: 0;
  margin-bottom: 20px;
}

/* FEATURED SERVICE LIST */

.service-list {
  width: min(100% - 48px, 440px);

  margin: 0 auto 22px;
  padding-left: 24px;

  color: #f1dcfa;

  text-align: left;
  font-size: 13px;
  line-height: 1.9;
}

.service-list li {
  padding-left: 4px;
  margin-bottom: 5px;
}

/* PRICING — ALIGNED AT BOTTOM */

.service-price {
  width: calc(100% - 32px);

  margin: auto 16px 18px !important;
  padding: 14px 6px 0;

  border-top: 1px solid #a768d2;

  color: #e8b9ff !important;

  font-size: 13px !important;
  font-weight: 800;

  text-align: center;
}

/* FOOTNOTE */

.service-footnote {
  text-align: center;
  color: #d6bde5;
  margin: 24px 0 0;
  font-size: 14px;
}

/* ==========================================
   SERVICES — TABLET
   ========================================== */

@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .service-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .service-featured .service-photo {
    height: 320px;
  }

  .service-card:not(.service-featured) .service-photo {
    height: 210px;
  }
}

/* ==========================================
   SERVICES — MOBILE
   ========================================== */

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .service-featured {
    grid-column: auto;
    grid-row: auto;
  }

  .service-featured .service-photo {
    height: 290px;
  }

  .service-card:not(.service-featured) .service-photo {
    height: 240px;
  }

  .service-card h3 {
    min-height: auto;
  }

  .service-list {
    width: calc(100% - 40px);
  }
}

/* ==========================================
   OUR WORK
   ========================================== */

.work { background: #1c0c27; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  align-items: stretch;
}

.work-card {
  min-width: 0;
  border: 1px solid #8f4ec0;
  border-radius: 15px;
  overflow: hidden;
  background: #2a123a;
  transition: transform .25s;
}

.comparison-photos {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 3px;
  background: #54246d;
}

.comparison-photos figure {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #1b0b26;
}

.comparison-photos img {
  display: block;
  width: 100%;
  height: 215px;
  object-fit: contain;
  object-position: center;
  background: #1b0b26;
}

.comparison-photos figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 13px;
  border-radius: 30px;
  background: rgba(25,9,36,.86);
  border: 1px solid #c58aff;
  color: white;
  font-weight: 800;
  font-size: 12px;
}

.work-caption { padding: 15px; }

.work-caption h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.work-caption p {
  font-size: 12px;
  color: #d9c3e7;
  margin: 0;
}

.video-card {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}

.video-card .work-media {
  flex: 1;
  min-height: 560px;
  position: relative;
  background: #110719;
}

.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #110719;
}

/* ==========================================
   REVIEWS
   ========================================== */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.review-card {
  border: 1px solid #8d47bd;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  background: #281136;
  min-height: 245px;
}

.review-avatar {
  width: 85px;
  height: 85px;
  position: relative;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #bf80ee;
  background: #5a2878;
}

.review-avatar img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-avatar span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 40px;
}

.review-stars {
  color: #d8a4ff;
  font-size: 23px;
  letter-spacing: .12em;
  margin: 0;
}

.review-card p:not(.review-stars) { font-size: 14px; }
.review-card small { color: #c6a5d8; }

/* ==========================================
   SERVICE AREA
   ========================================== */

.area-grid {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(260px,1fr);
  gap: 30px;
  align-items: center;
}

.area-existing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
  min-width: 0;
}

.area-illustration {
  min-height: 280px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle,
    #51226d,
    transparent 70%
  );
  border-radius: 20px;
}

.map-ring {
  width: min(100%,240px);
  aspect-ratio: 1;
  border: 2px dashed #a76cce;
  border-radius: 45% 55% 52% 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle,#6c2a94,#2b103a);
  box-shadow: 0 0 30px #8139b766;
  text-align: center;
}

.map-ring span { font-size: 75px; }
.map-ring strong { font-size: 19px; }
.map-ring small { font-size: 13px; }
.area-copy p { color: #e2d0ed; }
.area-copy form { margin: 20px 0; }

.area-copy label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.zip-row {
  display: flex;
  gap: 9px;
}

.zip-row input {
  min-width: 0;
  flex: 1;
  background: #f7edff;
  color: #2d173e;
  border: 2px solid #bd82ed;
  border-radius: 99px;
  padding: 10px 17px;
}

.zip-feedback {
  min-height: 20px;
  font-size: 13px;
}

/* ==========================================
   BUSINESS HOURS
   ========================================== */

.business-hours {
  padding: 23px;
  border: 1px solid #9d55d3;
  border-radius: 17px;
  background: #2a123a;
  box-shadow: 0 0 15px rgba(138,52,201,.2);
}

.business-hours h3 {
  margin: 0 0 8px;
  color: #e8b9ff;
  font-size: 22px;
}

.hours-status {
  font-weight: 800;
  font-size: 13px;
  margin: 0 0 15px;
}

.hours-status.is-open { color: #9ff0b6; }
.hours-status.is-closed { color: #ffb1bd; }

.hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 8px;
  border-bottom: 1px solid rgba(190,130,238,.2);
  font-size: 12px;
}

.hours-list > div strong { font-weight: 600; }

.hours-list > div span {
  text-align: right;
  white-space: nowrap;
}

.hours-list > div.is-today {
  background: rgba(180,91,243,.22);
  border-radius: 7px;
  color: white;
}

.hours-list > div.is-today strong { font-weight: 900; }
.hours-notes { margin-top: 15px; }

.hours-notes p {
  margin: 7px 0;
  font-size: 12px;
  color: #e5d1f1;
}

/* ==========================================
   SOCIALS
   ========================================== */

.socials-section {
  text-align: center;
  background: radial-gradient(
    circle at center,
    #351344,
    #1c0b28 58%,
    #16091f
  );
}

.socials-content { max-width: 780px; }

.socials-content > p:not(.overline) {
  max-width: 650px;
  margin: 14px auto 24px;
  color: #eedcf7;
}

.socials-handle {
  font-weight: 800;
  color: #e7b1ff !important;
  overflow-wrap: anywhere;
}

.socials-footer { font-size: 13px; }

/* ==========================================
   READY TO BOOK
   ========================================== */

.ready {
  background: linear-gradient(
    90deg,
    #411258,
    #7831aa,
    #43135b
  );
  border-top: 2px solid #a457d6;
  border-bottom: 2px solid #a457d6;
  padding: 35px 0;
}

.ready-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.ready .script-title {
  font-size: clamp(48px,5vw,72px);
  margin: 0;
}

.ready p { margin: 0; }

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: #100719;
  padding: 28px 0 18px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-row p,
.footer-row > a:not(.footer-brand) {
  font-size: 12px;
  text-decoration: none;
}

.footer-brand {
  font: 400 34px/1 var(--script);
  color: #e8b9ff;
  text-decoration: none;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid #60317e;
  margin-top: 24px;
  padding-top: 17px;
  text-align: center;
  color: #c0a2d2;
  font-size: 11px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1150px) {
  .nav {
    flex-wrap: wrap;
    padding: 9px 0;
  }
  .nav-links {
    order: 3;
    width: 100%;
    padding-bottom: 7px;
  }
  .hero h1 {
    font-size: clamp(65px,7vw,100px);
  }
}

@media (max-width: 1050px) {
  .area-grid { grid-template-columns: 1fr; }
  .area-existing { grid-template-columns: 1fr 1fr; }
  .business-hours {
    max-width: 600px;
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 1000px) {
  .hero-visual { height: 400px; }
  .hero-glow { width: min(100%,390px); }
  .hero-logo {
    width: 82%;
    max-width: 330px;
  }
  .service-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .service-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .service-featured .service-photo { height: 260px; }
  .work-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .video-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .video-card .work-media {
    height: 500px;
    min-height: 0;
    flex: none;
  }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 145px; }
  .section-dark { padding: 58px 0; }
  .hero { padding: 55px 0 60px; }
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
  }
  .hero-copy .btn { margin: auto; }
  .hero h1 {
    font-size: clamp(58px,11vw,88px);
    white-space: normal;
  }
  .hero-visual { height: 340px; }
  .hero-glow { width: min(90vw,330px); }
  .hero-logo {
    width: 80%;
    max-width: 280px;
    transform: translateY(-6px);
  }
  .about-layout { grid-template-columns: 1fr; }
  .about-copy { text-align: center; }
  .about-copy .button-row { justify-content: center; }
  .team-photos { height: 315px; }
  .badges {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    justify-items: center;
    gap: 25px;
  }
  .steps {
    grid-template-columns: repeat(2,1fr);
    gap: 30px 18px;
  }
  .step:not(:last-child)::after { display: none; }
  .service-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .service-featured .service-photo { height: 240px; }
  .review-grid { grid-template-columns: 1fr; }
  .area-existing { grid-template-columns: 1fr; }
  .area-illustration { min-height: 240px; }
  .ready-layout {
    flex-direction: column;
    text-align: center;
  }
  .ready .button-row { justify-content: center; }
  .footer-row {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .zip-row { flex-wrap: wrap; }
  .zip-row input { flex-basis: 100%; }
}

@media (max-width: 560px) {
  .service-grid,
  .work-grid { grid-template-columns: 1fr; }
  .service-featured,
  .video-card {
    grid-column: auto;
    grid-row: auto;
  }
  .video-card .work-media { height: 420px; }
  .comparison-photos img { height: 210px; }
}

@media (max-width: 440px) {
  .brand-paw { font-size: 27px; }
  .brand-name { font-size: 25px; }
  .brand-name small { font-size: 7px; }
  .nav-cta {
    padding: 8px 13px;
    font-size: 12px;
  }
  .nav-links { gap: 8px 12px; }
  .nav-links a { font-size: 11px; }
  .hero-subtitle { letter-spacing: .12em; }
  .hero-visual { height: 290px; }
  .hero-glow { width: min(90vw,280px); }
  .hero-logo {
    width: 80%;
    max-width: 235px;
  }
  .badge-bubble {
    width: 125px;
    height: 125px;
    flex-basis: 125px;
  }
  .step-icon {
    width: 105px;
    font-size: 42px;
  }
  .step h3 { font-size: 15px; }
  .photo-frame { height: 230px; }
  .team-photos { height: 275px; }
  .comparison-photos img { height: 200px; }
  .business-hours { padding: 17px; }
  .hours-list > div { font-size: 11px; }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubbles i {
    animation: none;
    opacity: .3;
  }
  .btn,
  .service-card,
  .work-card { transition: none; }
  .btn:hover,
  .service-card:hover,
  .work-card:hover { transform: none; }
}

/* ==========================================
   ABOUT US — SMALL PHOTO VIEWER
   ========================================== */

/* The background remains visible behind the photo */

.van-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 5, 22, 0.55);
}

.van-lightbox.is-visible {
  display: flex;
}

/* Medium-sized viewer, not full-screen */

.van-lightbox-panel {
  position: relative;
  width: fit-content;
  max-width: min(680px, 88vw);
  max-height: 75vh;
  padding: 12px;
  border: 3px solid #9d55d3;
  border-radius: 16px;
  background: #23102f;
  box-shadow: 0 15px 45px rgba(0,0,0,.55);
}

.van-lightbox-panel img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(75vh - 30px);
  object-fit: contain;
  border-radius: 8px;
}

/* Close button */

.van-lightbox-close {
  position: absolute;
  top: -17px;
  right: -17px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 2px solid #9d55d3;
  border-radius: 50%;
  background: #321342;
  color: white;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(164,65,237,.45);
}

.van-lightbox-close:hover {
  background: #7831aa;
}


/* ==========================================
   SERVICES — EXTRA COMPACT DESIGN
   ========================================== */

/* Smaller overall grid */

#services .service-grid {
  width: min(100%, 900px);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 12px;
  align-items: stretch;
}

/* Smaller service boxes */

#services .service-card {
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
}

/* Featured card stays on the left */

#services .service-featured {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* ==========================================
   PHOTO SIZES AND ALIGNMENT
   ========================================== */

#services .service-photo {
  width: 100%;
  overflow: hidden;
  background: #21102e;
}

/* Featured husky photo */

#services .service-featured .service-photo {
  height: 270px;
}

/* Four smaller photos */

#services .service-card:not(.service-featured) .service-photo {
  height: 125px;
}

/* Make photos fill their containers */

#services .service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bubble Bath */

#services .service-card:nth-child(2) .service-photo img {
  object-position: center 18%;
}

/* Cat Grooming */

#services .service-card:nth-child(3) .service-photo img {
  object-position: center 15%;
}

/* First Groom */

#services .service-card:nth-child(4) .service-photo img {
  object-position: center 22%;
}

/* Gentle Care */

#services .service-card:nth-child(5) .service-photo img {
  object-position: center 20%;
}

/* ==========================================
   SMALLER ICONS
   ========================================== */

#services .service-icon {
  width: 46px;
  height: 46px;

  margin: -23px auto 8px;

  font-size: 20px;
  flex-shrink: 0;
}

/* ==========================================
   COMPACT TEXT
   ========================================== */

#services .service-card h3 {
  min-height: 0;
  margin: 0 10px 6px;

  font-size: 14px;
  line-height: 1.3;
}

#services .service-featured h3 {
  font-size: 18px;
}

/* Descriptions */

#services .service-card > p:not(.service-price) {
  margin: 0 12px 8px;

  font-size: 11px;
  line-height: 1.45;
}

#services .service-featured > p:not(.service-price) {
  flex-grow: 0;
}

/* Featured service list */

#services .service-list {
  width: calc(100% - 24px);
  max-width: 270px;

  margin: 0 auto 10px;
  padding-left: 16px;

  font-size: 11px;
  line-height: 1.45;
}

#services .service-list li {
  margin-bottom: 2px;
}

/* Pricing */

#services .service-price {
  width: calc(100% - 20px);

  margin: auto 10px 10px !important;
  padding-top: 7px;

  font-size: 11px !important;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {
  #services .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  #services .service-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  #services .service-featured .service-photo {
    height: 250px;
  }

  #services .service-card:not(.service-featured) .service-photo {
    height: 150px;
  }
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 560px) {
  #services .service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  #services .service-featured {
    grid-column: auto;
    grid-row: auto;
  }

  #services .service-featured .service-photo {
    height: 220px;
  }

  #services .service-card:not(.service-featured) .service-photo {
    height: 175px;
  }

  #services .service-card h3 {
    font-size: 16px;
  }

  #services .service-card > p:not(.service-price) {
    font-size: 12px;
  }
}


/* ==========================================
   SERVICES — GENTLE GROOMING
   ========================================== */

#services .gentle-grooming {
  width: min(100%, 900px);
  margin: 30px auto 0;
  padding: 24px 30px;

  background: linear-gradient(
    135deg,
    #2a123a,
    #21102e
  );

  border: 1px solid #9d55d3;
  border-radius: 16px;

  box-shadow: 0 0 18px rgba(164, 65, 237, .15);

  text-align: center;
}

#services .gentle-grooming h3 {
  margin: 0 0 12px;

  font-family: var(--script);
  font-size: 38px;
  font-weight: 400;

  color: var(--lilac);
}

#services .gentle-grooming p {
  max-width: 780px;
  margin: 0 auto;

  font-size: 14px;
  line-height: 1.8;

  color: #e5d2f1;
}

/* GENTLE GROOMING — MOBILE */

@media (max-width: 560px) {
  #services .gentle-grooming {
    margin-top: 24px;
    padding: 20px 16px;
  }

  #services .gentle-grooming h3 {
    font-size: 32px;
  }

  #services .gentle-grooming p {
    font-size: 13px;
  }
}


/* ==========================================
   SERVICES — INTERACTIVE DETAILS & PRICING
   ========================================== */

#services .service-tap-hint {
  margin: -18px auto 22px;

  color: #e8b9ff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* CLICKABLE SERVICE CARDS */

#services .service-card[data-service] {
  cursor: pointer;
}

#services .service-details-btn {
  display: block;

  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 7px 5px;

  border: 1px solid #b875e8;
  border-radius: 30px;

  background: linear-gradient(
    135deg,
    #71329b,
    #42165c
  );

  color: #f8eaff;

  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;

  cursor: pointer;

  transition:
    background .2s ease,
    box-shadow .2s ease;
}

#services .service-details-btn:hover {
  background: #8742b8;

  box-shadow:
    0 0 14px rgba(196, 112, 255, .4);
}

/* ADD-ON SERVICES BUTTON */

#services .service-addons {
  display: flex;
  justify-content: center;

  margin-top: 24px;
}

#services .service-addons-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;
  padding: 10px 22px;

  border: 1px solid #b875e8;
  border-radius: 30px;

  background: linear-gradient(
    135deg,
    #42165c,
    #2a123a
  );

  color: #e8b9ff;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition:
    background .2s ease,
    box-shadow .2s ease;
}

#services .service-addons-btn:hover {
  background: #582478;

  box-shadow:
    0 0 18px rgba(196, 112, 255, .3);
}

/* ==========================================
   SERVICE DETAILS — POP-UP
   ========================================== */

#services .service-modal {
  width: min(92%, 470px);
  max-height: 85vh;
  max-height: 85dvh;

  margin: auto;
  padding: 0;

  overflow-y: auto;
  overscroll-behavior: contain;

  border: 2px solid #b875e8;
  border-radius: 20px;

  background: linear-gradient(
    145deg,
    #321342,
    #1b0b26
  );

  color: #f9efff;

  box-shadow:
    0 0 35px rgba(164, 65, 237, .35),
    0 20px 70px rgba(0, 0, 0, .65);
}

#services .service-modal::backdrop {
  background: rgba(10, 4, 17, .8);

  backdrop-filter: blur(5px);
}

#services .service-modal[open] {
  animation: serviceModalAppear .25s ease;
}

@keyframes serviceModalAppear {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* POP-UP CONTENT */

#services .service-modal-panel {
  position: relative;

  padding: 25px 24px;

  text-align: center;
}

/* CLOSE BUTTON */

#services .service-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;

  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;
  padding: 0;

  border: 1px solid #a768d2;
  border-radius: 50%;

  background: #42165c;
  color: #ffffff;

  font-size: 25px;
  line-height: 1;

  cursor: pointer;
}

#services .service-modal-close:hover {
  background: #71329b;
}

/* SERVICE ICON */

#services .service-modal-icon {
  display: grid;
  place-items: center;

  width: 65px;
  height: 65px;

  margin: 0 auto 12px;

  border: 1px solid #d4a0ff;
  border-radius: 50%;

  background: radial-gradient(
    circle at 25% 20%,
    rgba(255, 255, 255, .3),
    rgba(164, 65, 237, .2) 45%,
    #42165c
  );

  box-shadow:
    inset 0 0 14px rgba(222, 169, 255, .2),
    0 0 16px rgba(164, 65, 237, .3);

  font-size: 29px;
}

/* POP-UP TITLE */

#services .service-modal h2 {
  margin: 0 0 12px;

  color: #e8b9ff;

  font-family: var(--script);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.15;
}

/* SERVICE DESCRIPTION */

#services .service-modal-description {
  color: #e5d2f1;

  font-size: 13px;
  line-height: 1.75;
}

#services .service-modal-description p {
  margin: 0 0 14px;
}

#services .service-modal-description h3 {
  margin: 10px 0;

  color: #e8b9ff;

  font-family: var(--script);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

#services .service-modal-description ul {
  margin: 12px 0 18px;
  padding-left: 24px;

  text-align: left;
}

/* PRICING LIST */

#services .service-modal-pricing {
  margin: 18px 0;
}

#services .service-pricing-heading {
  margin: 0 0 10px;

  color: #e8b9ff;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;

  text-transform: uppercase;
}

#services .service-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  margin-bottom: 5px;
  padding: 9px 12px;

  border-radius: 7px;

  background: rgba(255, 255, 255, .045);

  font-size: 13px;
  text-align: left;
}

#services .service-pricing-row:nth-of-type(even) {
  background: rgba(164, 65, 237, .12);
}

#services .service-pricing-row strong {
  flex-shrink: 0;

  color: #e8b9ff;

  font-size: 14px;
  font-weight: 800;
}

#services .service-custom-price {
  padding: 12px;

  border: 1px solid #783aa2;
  border-radius: 10px;

  background: rgba(164, 65, 237, .08);

  color: #e8b9ff;

  font-size: 13px;
  font-weight: 700;
}

#services .service-modal-book {
  width: 100%;
  margin-top: 5px;
}

/* KEYBOARD ACCESSIBILITY */

#services .service-details-btn:focus-visible,
#services .service-addons-btn:focus-visible,
#services .service-modal-close:focus-visible {
  outline: 2px solid #e8b9ff;
  outline-offset: 3px;
}

/* ==========================================
   SERVICE POP-UP — MOBILE
   ========================================== */

@media (max-width: 560px) {

  #services .service-modal {
    width: 92%;
    max-height: 85vh;
    max-height: 85dvh;
  }

  #services .service-modal-panel {
    padding: 22px 16px;
  }

  #services .service-modal h2 {
    font-size: 33px;
  }

  #services .service-modal-description h3 {
    font-size: 27px;
  }

  #services .service-pricing-row {
    padding: 9px 10px;
    font-size: 12px;
  }

  #services .service-details-btn {
    min-height: 44px;
    font-size: 12px;
  }

  #services .service-addons-btn {
    min-height: 44px;
    font-size: 12px;
    padding: 10px 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  #services .service-modal[open] {
    animation: none;
  }
}


/* ==========================================
   SERVICES — SIX CARD LAYOUT
   ========================================== */

#services .service-grid {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);

  gap: 16px;
  align-items: stretch;
}

/* FULL-SERVICE GROOM — LEFT */

#services .service-featured:not(.service-addon-card) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* BUBBLE BATH */

#services .service-card[data-service="bubble-bath"] {
  grid-column: 2;
  grid-row: 1;
}

/* CAT GROOMING */

#services .service-card[data-service="cat-grooming"] {
  grid-column: 3;
  grid-row: 1;
}

/* FIRST GROOM */

#services .service-card[data-service="first-groom"] {
  grid-column: 2;
  grid-row: 2;
}

/* GENTLE CARE */

#services .service-card[data-service="gentle-care"] {
  grid-column: 3;
  grid-row: 2;
}

/* ADD-ON SERVICES — RIGHT */

#services .service-addon-card {
  grid-column: 4;
  grid-row: 1 / span 2;
}

/* MATCH BOTH LARGE CARD PHOTOS */

#services .service-featured .service-photo {
  height: 340px;
}

#services .service-addon-card .service-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* ALIGN ALL PRICING BUTTONS */

#services .service-details-btn {
  flex-shrink: 0;
}


/* ==========================================
   OUR WORK — CLEAN TRANSFORMATION CARDS
   ========================================== */

#work .comparison-card {
  width: 100%;
  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 1px solid #9d55d3;
  border-radius: 15px;

  background: #2a123a;

  box-shadow: 0 0 14px rgba(164, 65, 237, .12);
}

/* ==========================================
   BEFORE & AFTER PHOTO ALIGNMENT
   ========================================== */

#work .comparison-card .comparison-photos {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 2px;
  padding: 0;

  background: #9d55d3;
}

#work .comparison-card .comparison-photos figure {
  position: relative;

  width: 100%;
  min-width: 0;

  aspect-ratio: 4 / 5;
  max-height: 220px;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #21102e;
}

/* FILL PHOTO AREA WITHOUT STRETCHING */

#work .comparison-card .comparison-photos img {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center 40%;

  border: none;
  border-radius: 0;
}

/* ==========================================
   INDIVIDUAL PET PHOTO CROPPING
   ========================================== */

/* MORRIS */

#work img[src="images/dog 1 before.jpeg"] {
  object-position: center 35%;
}

#work img[src="images/dog 1 after.jpeg"] {
  object-position: center 40%;
}

/* MIGUELITO */

#work img[src="images/dog 2 before.jpeg"] {
  object-position: center 30%;
}

#work img[src="images/dog 2 after.jpeg"] {
  object-position: center 35%;
}

/* JOSEY */

#work img[src="images/dog 3 before.jpeg"] {
  object-position: center 45%;
}

#work img[src="images/dog 3 after.jpeg"] {
  object-position: center 30%;
}

/* MINKA */

#work img[src="images/cat before.jpeg"] {
  object-position: center 35%;
}

#work img[src="images/cat after.jpeg"] {
  object-position: center 25%;
}

/* ==========================================
   BEFORE & AFTER LABELS
   ========================================== */

#work .comparison-card figcaption {
  position: absolute;

  left: 50%;
  bottom: 10px;

  transform: translateX(-50%);

  padding: 5px 15px;

  border: 1px solid #c58aff;
  border-radius: 30px;

  background: rgba(25, 9, 36, .88);

  color: #ffffff;

  font-size: 11px;
  font-weight: 800;

  white-space: nowrap;
}

/* ==========================================
   PET INFORMATION
   ========================================== */

#work .comparison-card .work-caption {
  display: flex;
  flex-direction: column;
  align-items: center;

  flex: 1;

  padding: 15px 16px 18px;

  text-align: center;
}

/* PET NAME */

#work .comparison-card .work-caption h3 {
  margin: 0 0 5px;

  color: #f9efff;

  font-size: 21px;
  font-weight: 800;

  line-height: 1.3;
}

/* GROOMING TYPE */

#work .work-groom-type {
  display: block;

  margin: 0 0 7px;

  color: #e8b9ff;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.4;
}

/* ==========================================
   FIVE GOLD STARS
   ========================================== */

#work .work-stars {
  margin: 2px 0 12px;

  color: #f5c451;

  font-size: 19px;
  letter-spacing: 4px;
  line-height: 1;

  text-shadow: 0 0 8px rgba(245, 196, 81, .25);
}

/* PET DESCRIPTION */

#work .comparison-card .work-caption p {
  width: 100%;

  margin: 0;
  padding-top: 12px;

  border-top: 1px solid rgba(184, 117, 232, .4);

  color: #dcc7e8;

  font-size: 12px;
  line-height: 1.65;

  text-align: center;
}

/* ==========================================
   OUR WORK — MOBILE
   ========================================== */

@media (max-width: 560px) {

  #work .comparison-card .comparison-photos figure {
    aspect-ratio: 4 / 5;
    max-height: 230px;
  }

  #work .comparison-card .work-caption {
    padding: 14px 14px 18px;
  }

  #work .comparison-card .work-caption h3 {
    font-size: 20px;
  }

  #work .work-groom-type {
    font-size: 12px;
  }

  #work .comparison-card .work-caption p {
    font-size: 13px;
  }

}


/* ==========================================
   SERVICE AREA — LOCATIONS & ZIP CHECKER
   ========================================== */

#areas .area-copy {
  min-width: 0;
}

#areas .area-intro {
  margin: 15px 0 20px;
  color: #e2d0ed;
  line-height: 1.65;
}

/* SERVICE LOCATIONS — TWO COLUMNS */

#areas .service-locations {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;
  margin: 20px 0 25px;
}

#areas .service-location {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;
  min-height: 42px;
  padding: 10px 7px;

  border: 1px solid #9250bf;
  border-radius: 30px;

  background: linear-gradient(
    135deg,
    #39174e,
    #291037
  );

  color: #f5e5ff;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;

  text-align: center;
}

#areas .service-location .pin-icon {
  flex-shrink: 0;
  width: 10px;
  height: 13px;

  color: #d6a0ff;
  margin-right: 3px;
}

#areas .service-location .pin-icon::after {
  width: 3px;
  height: 3px;
  top: 3px;
  left: 2px;
}

/* GREATER LOS ANGELES — CENTERED */

#areas .location-wide {
  grid-column: 1 / -1;

  width: 100%;
  max-width: 270px;

  justify-self: center;
}

/* ==========================================
   ZIP CODE CHECKER
   ========================================== */

#areas #zip-form {
  margin: 20px 0;
}

#areas #zip-form label {
  font-size: 14px;
  font-weight: 800;

  margin-bottom: 10px;
}

#areas .zip-row {
  display: flex;
  align-items: stretch;

  gap: 9px;
}

#areas .zip-row input {
  flex: 1;
  min-width: 0;

  padding: 12px 15px;

  font-size: 14px;
  outline: none;

  transition: box-shadow .2s;
}

#areas .zip-row input:focus {
  box-shadow: 0 0 12px rgba(190, 130, 237, .5);
}

#areas .zip-row .btn {
  padding: 12px 15px;

  font-size: 12px;
  white-space: nowrap;
}

#areas .zip-help {
  margin: 9px 0 0;

  color: #cdb2df;

  font-size: 12px;
  line-height: 1.5;
}

/* ==========================================
   ZIP CODE RESULTS
   ========================================== */

#areas .zip-feedback:empty {
  display: none;
}

#areas .zip-feedback:not(:empty) {
  display: flex;
  flex-direction: column;

  gap: 9px;

  margin: 15px 0 0;
  padding: 15px;

  border: 1px solid #9250bf;
  border-radius: 12px;

  background: #2a123a;

  font-size: 13px;
  line-height: 1.5;
}

#areas .zip-feedback strong {
  font-size: 15px;
}

#areas .zip-feedback p {
  margin: 0;
  font-size: 12px;
}

#areas .zip-feedback .btn {
  align-self: flex-start;

  margin-top: 5px;
  padding: 9px 17px;

  font-size: 12px;
}

/* COVERED ZIP CODE */

#areas .zip-feedback.zip-success {
  background: rgba(35, 100, 62, .18);
  border-color: #68c88a;
}

#areas .zip-success strong {
  color: #9ff0b6;
}

/* UNCONFIRMED ZIP CODE */

#areas .zip-feedback.zip-unknown {
  background: rgba(110, 48, 148, .2);
  border-color: #b875e8;
}

#areas .zip-unknown strong {
  color: #e8b9ff;
}

/* INVALID ZIP CODE */

#areas .zip-feedback.zip-invalid {
  background: rgba(150, 40, 60, .15);
  border-color: #d77c91;
}

#areas .zip-invalid strong {
  color: #ffb1bd;
}

/* ==========================================
   SERVICE AREA — MOBILE
   ========================================== */

@media (max-width: 760px) {

  #areas .area-copy {
    text-align: center;
  }

  #areas .service-locations {
    max-width: 450px;
    margin: 20px auto 25px;
  }

  #areas #zip-form {
    max-width: 450px;
    margin: 20px auto;
  }

  #areas .zip-feedback .btn {
    align-self: center;
  }

}

@media (max-width: 480px) {

  #areas .service-location {
    font-size: 11px;
    padding: 9px 5px;
  }

  #areas .zip-row {
    flex-direction: column;
  }

  #areas .zip-row input {
    width: 100%;
    flex-basis: auto;
    text-align: center;
  }

  #areas .zip-row .btn {
    width: 100%;
  }

}

/* SERVICES — MOBILE LAYOUT FIX */

@media (max-width: 760px) {

  #services .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 14px;
  }

  #services .service-grid > .service-card {
    grid-column: auto;
    grid-row: auto;
  }

  #services .service-grid > .service-featured,
  #services .service-grid > .service-addon-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  #services .service-grid .service-card .service-photo {
    height: 160px;
  }

  #services .service-grid .service-featured .service-photo,
  #services .service-grid .service-addon-card .service-photo {
    height: 240px;
  }

  #services .service-card h3 {
    font-size: 16px;
    overflow-wrap: normal;
  }

  #services .service-card > p:not(.service-price) {
    font-size: 13px;
    line-height: 1.6;
  }

  #services .service-list {
    font-size: 13px;
    line-height: 1.6;
  }

  #services .service-details-btn {
    white-space: normal;
    min-height: 44px;
  }

}

/* ABOUT US — SINGLE VAN PHOTO */

#about .team-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

#about .photo-one {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 4 / 3;
  transform: none;
}

#about .photo-one .van-view img {
  object-fit: contain;
}

@media (max-width: 760px) {
  #about .photo-one {
    max-width: 420px;
  }
}

#about .photo-one {
  aspect-ratio: auto;
}

#about .photo-one .van-view {
  height: auto;
}

#about .photo-one .van-view img {
  width: 100%;
  height: auto;
}

/* ==========================================
   SERVICE PHOTO LOADING STATE
   ========================================== */

#services .service-photo.is-loading,
#services .service-photo.is-unavailable {
  position: relative;
  overflow: hidden;
  background: #23102f;
}

#services .service-photo.is-loading img,
#services .service-photo.is-unavailable img {
  visibility: hidden;
}

/* Loading Spinner */

#services .service-photo.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(232, 185, 255, 0.2);
  border-top-color: #e8b9ff;
  border-radius: 50%;
  animation: service-photo-spin 0.8s linear infinite;
  pointer-events: none;
}

@keyframes service-photo-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Unavailable Photo */

#services .service-photo.is-unavailable::after {
  content: "Photo temporarily unavailable";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #e8b9ff;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}

/* Reduced Motion Accessibility */

@media (prefers-reduced-motion: reduce) {
  #services .service-photo.is-loading::after {
    animation: none;
    transform: translate(-50%, -50%);
  }
}

/* ==========================================
   ADMIN SERVICE PHOTOS — MOBILE LAYOUT
   ========================================== */

@media (max-width: 760px) {

    #service-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: start;
    }

    #service-media-grid .service-media-card[data-photo-field] {
        grid-column: auto;
        grid-row: auto;
        padding: 8px;
    }

    #service-media-grid
    .service-media-card[data-photo-field] img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    /* Featured services span both columns */

    #service-media-grid
    .service-media-card[data-photo-field="fullGroomPhoto"],
    #service-media-grid
    .service-media-card[data-photo-field="addonsPhoto"] {
        grid-column: 1 / -1;
    }

    #service-media-grid
    .service-media-card[data-photo-field="fullGroomPhoto"] img,
    #service-media-grid
    .service-media-card[data-photo-field="addonsPhoto"] img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.43 / 1;
        object-fit: cover;
    }

    #service-media-grid .service-media-card h4 {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    #service-media-grid .service-replace-button {
        width: 100%;
        font-size: 11px;
        padding: 10px 4px;
    }
}

/* Force circular How It Works bubbles on mobile */

@media (max-width: 760px) {
  #process .step-icon {
    width: 105px !important;
    height: 105px !important;
    min-width: 105px !important;
    min-height: 105px !important;
    max-width: 105px !important;
    max-height: 105px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    box-sizing: border-box;
    flex-shrink: 0;
  }
}

/* ==========================================
   OUR WORK — RESPONSIVE SINGLE PHOTO
   ========================================== */

#work .comparison-card .comparison-photos:has(> figure:only-child) {
    grid-template-columns: minmax(0, 1fr);
    background: #21102e;
    padding: 12px 12px 0;
    gap: 0;
}

#work .comparison-card .comparison-photos > figure:only-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    overflow: visible;
}

#work .comparison-card .comparison-photos > figure:only-child img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    border: 1px solid #9d55d3;
    border-radius: 10px;
}

#work .comparison-card .comparison-photos > figure:only-child figcaption {
    position: static;
    transform: none;
    margin: 8px auto 0;
    padding: 3px 14px;
    font-size: 11px;
}

#work .comparison-card:has(.comparison-photos > figure:only-child) {
    align-self: start;
}

@media (max-width: 560px) {

    #work .comparison-card .comparison-photos > figure:only-child img {
        max-height: 260px;
    }

}

/* SINGLE PHOTO — FIT CARD TO IMAGE */

#work .comparison-card:has(.comparison-photos > figure:only-child) {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    justify-self: center;
    align-self: start;
}

#work .comparison-card .comparison-photos:has(> figure:only-child) {
    width: fit-content;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    background: transparent;
}

#work .comparison-card .comparison-photos > figure:only-child img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    border: none;
    border-radius: 0;
}

#work .comparison-card:has(.comparison-photos > figure:only-child) .work-caption {
    padding: 12px 16px 16px;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 560px) {
    #work .comparison-card .comparison-photos > figure:only-child img {
        max-height: 260px;
    }
}

/* SINGLE PHOTO — GALLERY ALIGNMENT */

#work .comparison-card:has(.comparison-photos > figure:only-child) {
    justify-self: start;
    align-self: start;
    margin: 0;
}

@media (max-width: 560px) {
    #work .comparison-card:has(.comparison-photos > figure:only-child) {
        justify-self: center;
    }
}

/* SINGLE PHOTO — REMOVE PHOTO LABEL */

#work .comparison-card .comparison-photos > figure:only-child figcaption {
    display: none;
}

/* ==========================================
   OUR WORK — RESPONSIVE VIDEO CARDS
   ========================================== */

/* Uploaded video-only gallery cards */

#work .dynamic-gallery-card:has(> video):not(:has(.comparison-photos)) {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    align-self: start;
}

/* Uploaded videos */

#work .dynamic-gallery-card > video {
    display: block;
    width: auto !important;
    height: auto;
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
    border-radius: 0 !important;
    margin: 0 auto;
    background: #110719;
}

/* Behind the Scenes card */

#work .video-card {
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    align-self: start;
}

/* Behind the Scenes video container */

#work .video-card .work-media {
    width: fit-content;
    max-width: 100%;
    height: auto;
    min-height: 0;
    flex: none;
    margin: 0 auto;
}

/* Behind the Scenes video */

#work .video-card video {
    position: static;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

/* Mobile layout */

@media (max-width: 560px) {

    #work .dynamic-gallery-card:has(> video):not(:has(.comparison-photos)) {
        justify-self: center;
    }

    #work .dynamic-gallery-card > video {
        max-height: 300px;
    }

    #work .video-card video {
        max-height: 380px;
    }

}

/* ==========================================
   OUR WORK — UNIFIED RESPONSIVE MEDIA
   ========================================== */

#work .work-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    align-self: start;
    justify-self: stretch;
    overflow: hidden;
    margin: 0;
}

/* Gallery cards */

#work .dynamic-gallery-card {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    justify-self: stretch !important;
}

/* Before and after photos */

#work .comparison-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 0;
    margin: 0;
}

#work .comparison-photos figure {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
}

#work .comparison-photos figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Single photo cards */

#work .comparison-card:has(.comparison-photos > figure:only-child) {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
}

#work .comparison-card .comparison-photos:has(> figure:only-child) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding: 0;
    margin: 0;
}

#work .comparison-card .comparison-photos > figure:only-child {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    max-height: none;
    overflow: hidden;
}

#work .comparison-card .comparison-photos > figure:only-child img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    border: none;
    border-radius: 0;
    margin: 0 auto;
}

#work .comparison-photos > figure:only-child figcaption {
    display: none;
}

/* Video-only gallery cards */

#work .dynamic-gallery-card:has(> video):not(:has(.comparison-photos)) {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
}

/* Uploaded videos */

#work .dynamic-gallery-card > video {
    display: block;
    width: 100% !important;
    height: auto;
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
    object-position: center;
    border-radius: 0 !important;
    margin: 0;
    background: #110719;
}

/* Behind the Scenes */

#work .video-card {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    align-self: start;
}

#work .video-card .work-media {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
}

#work .video-card video {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #110719;
}

/* Gallery captions */

#work .work-caption {
    width: 100%;
    padding: 16px;
    overflow-wrap: anywhere;
}

/* Mobile responsiveness */

@media (max-width: 760px) {

    #work .work-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        justify-self: stretch;
    }

    #work .dynamic-gallery-card > video {
        max-height: 400px;
    }

    #work .video-card video {
        max-height: 420px;
    }
    
    #work .comparison-card .comparison-photos > figure:only-child img {
        max-height: 340px;
    }

    #work .work-caption {
        padding: 14px;
    }
}

/* ==========================================
   OUR WORK — EQUAL PROPORTIONS & ALIGNMENT
   ========================================== */

/* Equal height transformation cards */

#work .comparison-card:has(.comparison-photos > figure:nth-child(2)):not(:has(> video)) {
    align-self: stretch;
}

/* Consistent before and after photo proportions */

#work .comparison-card .comparison-photos:has(> figure:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-shrink: 0;
}

#work .comparison-card .comparison-photos > figure:not(:only-child) {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: none;
}

#work .comparison-card .comparison-photos > figure:not(:only-child) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Desktop — Behind the Scenes spans both rows */

@media (min-width: 1001px) {

    #work .video-card {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: stretch;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #work .video-card .work-media {
        position: relative;
        flex: 1;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    #work .video-card video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
    }

    #work .video-card .work-caption {
        flex-shrink: 0;
    }
}

/* Tablet and half desktop */

@media (min-width: 561px) and (max-width: 1000px) {

    #work .video-card {
        grid-column: 1 / -1;
        grid-row: auto;
        width: min(100%, 360px);
        justify-self: center;
        align-self: start;
    }

    #work .video-card .work-media {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    #work .video-card video {
        position: static;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

/* Phone */

@media (max-width: 560px) {

    #work .video-card {
        grid-column: auto;
        grid-row: auto;
        width: min(100%, 360px);
        justify-self: center;
    }

    #work .video-card .work-media {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    #work .video-card video {
        position: static;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

/* ==========================================
   OUR WORK — SINGLE PHOTO ONLY
   ========================================== */

#work .comparison-card:has(.comparison-photos > figure:only-child):not(:has(video)) {
    display: flex;
    flex-direction: column;
    width: fit-content !important;
    min-width: 0;
    max-width: 100%;
    height: auto !important;
    align-self: start;
    justify-self: start !important;
    overflow: hidden;
}

#work .comparison-card:not(:has(video))
.comparison-photos:has(> figure:only-child) {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    aspect-ratio: auto !important;
    padding: 0;
    margin: 0;
    background: transparent;
}

#work .comparison-card:not(:has(video))
.comparison-photos > figure:only-child {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#work .comparison-card:not(:has(video))
.comparison-photos > figure:only-child img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    max-width: 100%;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
}

#work .comparison-photos > figure:only-child figcaption {
    display: none;
}

#work .comparison-card:has(.comparison-photos > figure:only-child):not(:has(video))
.work-caption {
    width: 100%;
    box-sizing: border-box;
    flex: none;
    text-align: center;
    overflow-wrap: anywhere;
}

/* TABLET AND MOBILE */

@media (max-width: 1000px) {

    #work .comparison-card:has(.comparison-photos > figure:only-child):not(:has(video)) {
        justify-self: center !important;
    }
}

@media (max-width: 560px) {

    #work .comparison-card:has(.comparison-photos > figure:only-child):not(:has(video)) {
        width: fit-content !important;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* ==========================================
   OUR WORK — VIDEO ONLY
   ========================================== */

#work .dynamic-gallery-card:has(> video):not(:has(.comparison-photos)) {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    height: auto !important;
    align-self: start;
    justify-self: stretch !important;
    overflow: hidden;
}

#work .dynamic-gallery-card:has(> video):not(:has(.comparison-photos)) > video {
    display: block;
    position: static;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    max-width: 100%;
    aspect-ratio: auto !important;
    object-fit: contain;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0 !important;
}

#work .dynamic-gallery-card:has(> video):not(:has(.comparison-photos)) .work-caption {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex: none;
    text-align: center;
    overflow-wrap: anywhere;
}

/* ==========================================
   OUR BEAUTIFUL WORK
   CATEGORIZED RESPONSIVE GALLERY
   ========================================== */

#work .categorized-work-gallery {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;

    --gallery-gap: 18px;
    --video-height: min(400px, 52svh);
}


/* ==========================================
   SECTION HEADINGS
   ========================================== */

#work .work-gallery-section {
    width: 100%;
    min-width: 0;
    margin: 0 auto 42px;
}

#work .work-gallery-section + .work-gallery-section {
    padding-top: 36px;
    border-top: 1px solid rgba(157, 85, 211, .35);
}

#work .work-gallery-heading {
    color: #e8b9ff;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    text-align: center;
    margin: 0 0 8px;
}

#work .work-gallery-subtitle {
    color: #dcc7e8;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin: 0 auto 24px;
    max-width: 650px;
}


/* ==========================================
   SHARED GALLERY GRID
   ========================================== */

#work .categorized-work-grid {
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: var(--gallery-gap);
    grid-auto-rows: auto;
    align-items: start;
    margin: 0 auto;
}

#work .categorized-work-grid > .work-card {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: start !important;
    margin: 0 !important;
}

#work .categorized-work-grid .work-caption {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
    flex: none !important;
    overflow-wrap: anywhere;
}


/* ==========================================
   BEFORE & AFTER
   KEEP APPROVED PHOTO DESIGN
   ========================================== */

#work .categorized-work-grid[data-gallery-type="comparison"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#work .categorized-work-grid[data-gallery-type="comparison"]
> .comparison-card {
    width: 100% !important;
    justify-self: stretch !important;
    grid-column: auto !important;
    grid-row: auto !important;
}


/* ==========================================
   BEHIND THE SCENES
   ========================================== */

#work .categorized-work-grid[data-gallery-type="comparison"]
> .video-card {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;

    align-self: start !important;
    justify-self: center !important;
}


/* ==========================================
   FRESHLY GROOMED
   KEEP APPROVED SINGLE PHOTO DESIGN
   ========================================== */

#work .categorized-work-grid[data-gallery-type="single"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#work .categorized-work-grid[data-gallery-type="single"]
> .comparison-card {
    width: 100% !important;
    justify-self: stretch !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

#work .categorized-work-grid[data-gallery-type="single"]
figcaption {
    display: none !important;
}


/* ==========================================
   GROOMING IN MOTION
   VIDEO-ONLY CARDS
   ========================================== */

#work .categorized-work-grid[data-gallery-type="video"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    align-items: start;
}

#work .categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card {
    --video-ratio: 0.5625;

    display: flex;
    flex-direction: column;

    width: min(
        100%,
        calc(var(--video-height) * var(--video-ratio))
    ) !important;

    min-width: 0 !important;
    max-width: 100% !important;

    height: auto !important;

    justify-self: center !important;
    align-self: start !important;

    grid-column: auto !important;
    grid-row: auto !important;

    overflow: hidden;

    border: 1px solid #9d55d3;
    border-radius: 15px;
    background: #2a123a;
}

#work .categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card > video {
    display: block;

    position: static !important;

    width: 100% !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 100% !important;
    max-height: none !important;

    aspect-ratio: var(--video-ratio) !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    border-radius: 0 !important;

    background: transparent !important;
}

#work .categorized-work-grid[data-gallery-type="video"]
.work-caption {
    width: 100% !important;
    padding: 14px !important;
    text-align: center;
}


/* ==========================================
   THE FULL SPA EXPERIENCE
   ========================================== */

#work .categorized-work-grid[data-gallery-type="combined"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
    gap: 24px;
}

#work .categorized-work-grid[data-gallery-type="combined"]
> .dynamic-gallery-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    grid-column: auto !important;
    grid-row: auto !important;

    justify-self: stretch !important;

    overflow: hidden;
    border: 1px solid #9d55d3;
    border-radius: 15px;
    background: #2a123a;
}


/* Shared combined media layout */

#work .combined-work-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;

    gap: 12px;
    padding: 12px;

    box-sizing: border-box;
}


/* Before & After with Video */

#work .combined-comparison-card .comparison-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100% !important;
    min-width: 0;

    height: auto !important;
    gap: 6px;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent;
}

#work .combined-comparison-card .comparison-photos figure {
    position: relative;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 3 / 4 !important;

    max-height: none !important;

    overflow: hidden;
    border-radius: 10px;

    margin: 0 !important;
}

#work .combined-comparison-card .comparison-photos img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-height: none !important;

    object-fit: cover !important;
    object-position: center;

    margin: 0 !important;
}


/* Single Photo with Video */

#work .combined-single-card .combined-work-media {
    grid-template-columns: auto auto;
}

#work .combined-single-card .comparison-photos {
    display: block;

    width: auto !important;
    max-width: 100%;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent;
}

#work .combined-single-card .comparison-photos figure {
    display: block;

    position: relative;

    width: auto !important;
    height: auto !important;

    aspect-ratio: auto !important;

    max-height: none !important;

    margin: 0 !important;
    overflow: hidden;
}

#work .combined-single-card .comparison-photos img {
    display: block;

    position: static !important;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: var(--video-height) !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;

    margin: 0 auto !important;

    border-radius: 10px;
}

#work .combined-single-card figcaption {
    display: none !important;
}


/* Combined videos */

#work .combined-work-video {
    width: min(
        100%,
        calc(var(--video-height) * var(--video-ratio, .5625))
    );

    max-width: 100%;
    min-width: 0;

    justify-self: center;
    align-self: center;

    overflow: hidden;
    border-radius: 10px;
}

#work .combined-work-video video {
    display: block;

    position: static !important;

    width: 100% !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: none !important;

    min-height: 0 !important;

    aspect-ratio: var(--video-ratio, .5625) !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border-radius: 10px !important;
}


/* Landscape combined videos */

#work .categorized-work-grid[data-gallery-type="combined"]
[data-video-orientation="landscape"] .combined-work-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* Combined captions */

#work .categorized-work-grid[data-gallery-type="combined"]
.work-caption {
    width: 100% !important;
    padding: 16px !important;
    text-align: center;
}


/* ==========================================
   TABLET / HALF DESKTOP
   ========================================== */

@media (max-width: 1100px) {

    #work .categorized-work-gallery {
        --gallery-gap: 16px;
        --video-height: min(360px, 50svh);
    }

    #work .categorized-work-grid[data-gallery-type="comparison"],
    #work .categorized-work-grid[data-gallery-type="single"],
    #work .categorized-work-grid[data-gallery-type="video"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #work .categorized-work-grid[data-gallery-type="comparison"]
    > .video-card {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;

        max-width: 420px !important;
        justify-self: center !important;
    }

    #work .combined-work-media,
    #work .combined-single-card .combined-work-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================
   SMALL TABLETS
   ========================================== */

@media (max-width: 760px) {

    #work .combined-comparison-card .combined-work-media {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #work .combined-comparison-card .comparison-photos {
        max-width: 500px;
        margin: 0 auto !important;
    }

    #work .combined-work-video {
        justify-self: center;
    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 600px) {

    #work .categorized-work-gallery {
        --gallery-gap: 16px;
        --video-height: min(340px, 48svh);
    }

    #work .work-gallery-section {
        margin-bottom: 30px;
    }

    #work .work-gallery-section + .work-gallery-section {
        padding-top: 28px;
    }

    #work .work-gallery-heading {
        font-size: 25px;
    }

    #work .work-gallery-subtitle {
        font-size: 13px;
        margin-bottom: 18px;
    }

    #work .categorized-work-grid[data-gallery-type="comparison"],
    #work .categorized-work-grid[data-gallery-type="single"],
    #work .categorized-work-grid[data-gallery-type="video"],
    #work .categorized-work-grid[data-gallery-type="combined"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #work .categorized-work-grid[data-gallery-type="comparison"]
    > .video-card {
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: center !important;
    }

    #work .combined-work-media,
    #work .combined-single-card .combined-work-media,
    #work .categorized-work-grid[data-gallery-type="combined"]
    [data-video-orientation="landscape"] .combined-work-media {
        grid-template-columns: minmax(0, 1fr) !important;

        gap: 12px;
        padding: 10px;
    }

    #work .combined-single-card .comparison-photos {
        justify-self: center;
    }

    #work .categorized-work-grid .work-caption {
        padding: 14px !important;
    }

}


/* Preserve hidden media */

#work .categorized-work-gallery [hidden] {
    display: none !important;
}

/* BEHIND THE SCENES — DESKTOP FIX */

@media (min-width: 1001px) {

    #work .video-card .work-media {
        position: relative;
        display: block;
        flex: none;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    #work .video-card video {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        max-height: 600px;
        object-fit: contain;
    }

}

/* ==========================================
   BEFORE & AFTER — EQUAL CARD SIZING
   ========================================== */

#work .categorized-work-grid[data-gallery-type="comparison"] {
    grid-auto-rows: 1fr;
    align-items: stretch;
}

/* Equal transformation cards */

#work .categorized-work-grid[data-gallery-type="comparison"]
> .comparison-card {
    width: 100% !important;
    height: 100% !important;
    align-self: stretch !important;

    display: flex;
    flex-direction: column;
}

/* Consistent photo dimensions */

#work .categorized-work-grid[data-gallery-type="comparison"]
.comparison-photos {
    width: 100%;
    flex-shrink: 0;
}

#work .categorized-work-grid[data-gallery-type="comparison"]
.comparison-photos figure {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    max-height: none !important;
}

#work .categorized-work-grid[data-gallery-type="comparison"]
.comparison-photos img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

/* Equal caption areas */

#work .categorized-work-grid[data-gallery-type="comparison"]
> .comparison-card .work-caption {
    flex: 1 !important;
}

/* ==========================================
   DESKTOP — BEHIND THE SCENES
   SPAN EXACTLY TWO ROWS
   ========================================== */

@media (min-width: 1101px) {

    #work .categorized-work-grid[data-gallery-type="comparison"]
    > .video-card {
        grid-column: 3 !important;
        grid-row: 1 / span 2 !important;

        width: 100% !important;
        height: 100% !important;

        align-self: stretch !important;
        justify-self: stretch !important;

        display: flex;
        flex-direction: column;
    }

    #work .categorized-work-grid[data-gallery-type="comparison"]
    > .video-card .work-media {
        position: relative;
        flex: 1;
        width: 100%;
        height: 0;
        min-height: 0;
        overflow: hidden;
    }

    #work .categorized-work-grid[data-gallery-type="comparison"]
    > .video-card video {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;
        max-height: none !important;

        object-fit: contain;
    }

    #work .categorized-work-grid[data-gallery-type="comparison"]
    > .video-card .work-caption {
        flex-shrink: 0;
    }
}

/* Tablet and mobile */

@media (max-width: 1100px) {

    #work .categorized-work-grid[data-gallery-type="comparison"] {
        grid-auto-rows: auto;
    }

    #work .categorized-work-grid[data-gallery-type="comparison"]
    > .video-card {
        height: auto !important;
    }
}

/* ==========================================
   FRESHLY GROOMED — ORIGINAL SIZE & ALIGNMENT
   ========================================== */

#work .categorized-work-grid[data-gallery-type="single"] {
    grid-auto-rows: 1fr;
    align-items: stretch;
}

/* Equal card sizes */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="single"]
> .comparison-card {
    display: flex;
    flex-direction: column;

    width: 100% !important;
    height: 100% !important;

    align-self: stretch !important;
    justify-self: stretch !important;
}

/* Preserve original photo proportions */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="single"]
.comparison-photos {
    display: flex;
    flex-direction: column;

    width: 100% !important;
    flex: 1;

    padding: 0;
    margin: 0;

    background: #2a123a;
}

/* Keep original photo size */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="single"]
.comparison-photos > figure:only-child {
    display: block;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

/* No shrinking, cropping or stretching */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="single"]
.comparison-photos > figure:only-child img {
    position: static !important;

    display: block;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;

    object-fit: contain !important;

    margin: 0;
    padding: 0;
}

/* Align pet information */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="single"]
.work-caption {
    flex: none !important;
    min-height: 200px !important;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 16px;
    text-align: center;
}

/* ==========================================
   GROOMING IN MOTION — ORIGINAL SIZE & ALIGNMENT
   ========================================== */

#work .categorized-work-grid[data-gallery-type="video"] {
    grid-auto-rows: 1fr;
    align-items: stretch;
}

/* Equal video card dimensions */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card {
    display: flex;
    flex-direction: column;

    width: 100% !important;
    height: 100% !important;

    align-self: stretch !important;
    justify-self: stretch !important;

    overflow: hidden;

    background: #2a123a;
}

/* Preserve natural video proportions */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card > video {
    position: static !important;

    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: var(--video-height) !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center;

    flex-shrink: 0;

    margin: 0 auto !important;
    padding: 0 !important;

    background: transparent !important;
}

/* Align pet information */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card .work-caption {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex: none !important;

    width: 100%;
    min-height: 200px !important;

    margin-top: auto;

    padding: 16px !important;

    text-align: center;
}

/* Mobile caption spacing */

@media (max-width: 600px) {

    #work .categorized-work-gallery
    .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-caption {
        padding: 14px !important;
    }

}

/* ==========================================
   GROOMING IN MOTION — BEHIND THE SCENES STYLE
   ========================================== */

#work .categorized-work-grid[data-gallery-type="video"] {
    grid-auto-rows: 1fr;
    align-items: stretch;
}

/* Equal card dimensions */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card {
    display: flex;
    flex-direction: column;

    width: 100% !important;
    height: 100% !important;

    align-self: stretch !important;
    justify-self: stretch !important;

    overflow: hidden;
}

/* Match Behind the Scenes video framing */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card > video {
    position: relative !important;

    display: block;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 9 / 16 !important;

    max-width: 100% !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center !important;

    flex-shrink: 0;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 12px;
    background: #160b20 !important;
}

/* Consistent caption alignment */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card .work-caption {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex: 1 !important;

    width: 100%;
    min-height: 200px !important;

    padding: 16px !important;

    text-align: center;
}

/* Mobile responsiveness */

@media (max-width: 600px) {

    #work .categorized-work-gallery
    .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-caption {
        padding: 14px !important;
    }
}

/* ==========================================
   GROOMING IN MOTION — VIDEO FRAMING & FULLSCREEN
   ========================================== */

/* Normal gallery appearance */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card > video {
    object-fit: contain !important;
    object-position: center !important;

    aspect-ratio: var(--video-ratio, 0.5625) !important;

    width: 100% !important;
    height: auto !important;

    background: transparent !important;

    border: none !important;
    box-shadow: none !important;

    border-radius: 12px 12px 0 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Fullscreen playback */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card > video:fullscreen {
    width: 100vw !important;
    height: 100vh !important;

    max-width: 100vw !important;
    max-height: 100vh !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #000 !important;

    border-radius: 0 !important;
}

/* Safari fullscreen compatibility */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card > video:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #000 !important;

    border-radius: 0 !important;
}

/* ==========================================
   THE FULL SPA EXPERIENCE — MEDIA ALIGNMENT
   ========================================== */

#work .categorized-work-grid[data-gallery-type="combined"]
.combined-comparison-card .combined-work-media {
    display: grid !important;

    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;

    align-items: stretch;
    gap: 12px;
    padding: 12px;
}

/* Before and After photos */

#work .combined-comparison-card .comparison-photos {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    width: 100% !important;
    min-width: 0;

    gap: 10px;
}

#work .combined-comparison-card .comparison-photos figure {
    position: relative;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 3 / 4 !important;
    max-height: none !important;

    margin: 0;
    overflow: hidden;
}

#work .combined-comparison-card .comparison-photos img {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
    object-position: center;
}

/* Video aligned with both photos */

#work .combined-comparison-card .combined-work-video {
    position: relative;

    width: 100% !important;
    min-width: 0;
    height: auto;

    overflow: hidden;
    border-radius: 12px;
}

#work .combined-comparison-card .combined-work-video video {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;

    max-height: none !important;

    object-fit: cover !important;
    object-position: center;

    border-radius: 12px;
}

/* Correct fullscreen playback */

#work .combined-comparison-card
.combined-work-video video:fullscreen {
    width: 100vw !important;
    height: 100vh !important;

    object-fit: contain !important;

    background: black !important;
    border-radius: 0 !important;
}

/* Tablet and mobile */

@media (max-width: 760px) {

    #work .categorized-work-grid[data-gallery-type="combined"]
    .combined-comparison-card .combined-work-media {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #work .combined-comparison-card .combined-work-video video {
        position: static;

        width: 100% !important;
        height: auto !important;

        aspect-ratio: var(--video-ratio, 0.5625);
        object-fit: contain !important;
    }
}

/* ==========================================
   FULL SPA EXPERIENCE — PET DETAILS ALIGNMENT
   ========================================== */

@media (min-width: 761px) {

    #work .categorized-work-grid[data-gallery-type="combined"]
    > .combined-comparison-card {
        display: grid !important;

        grid-template-columns:
            minmax(0, 2fr)
            minmax(0, 1fr);

        grid-template-rows: auto auto auto auto auto;

        column-gap: 14px;
        row-gap: 0;

        padding: 12px;
        align-items: start;
    }

    /* Remove intermediate layout containers */

    #work .categorized-work-grid[data-gallery-type="combined"]
    > .combined-comparison-card > .combined-work-media,

    #work .categorized-work-grid[data-gallery-type="combined"]
    > .combined-comparison-card > .work-caption {
        display: contents !important;
    }

    /* Before and After photos */

    #work .combined-comparison-card .comparison-photos {
        grid-column: 1;
        grid-row: 1;

        width: 100% !important;
        min-width: 0;

        align-self: start;
    }

    /* Video on the right */

    #work .combined-comparison-card .combined-work-video {
        grid-column: 2;
        grid-row: 1 / 5;

        position: relative;

        width: 100% !important;
        height: auto !important;

        aspect-ratio: var(--video-ratio, 0.5625);

        align-self: start;
    }

    /* Pet name directly below photos */

    #work .combined-comparison-card .work-caption > h3 {
        grid-column: 1;
        grid-row: 2;

        width: 100%;

        margin: 18px 0 6px !important;

        text-align: center;
        align-self: center;
    }

    /* Grooming type below name */

    #work .combined-comparison-card
    .work-caption > .work-groom-type {
        grid-column: 1;
        grid-row: 3;

        width: 100%;

        margin: 0 0 8px !important;

        text-align: center;
        align-self: center;
    }

    /* Stars below grooming type */

    #work .combined-comparison-card
    .work-caption > .work-stars {
        grid-column: 1;
        grid-row: 4;

        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        margin: 0 0 12px !important;
        padding: 0 !important;
    }

    /* Description across the entire bottom */

    #work .combined-comparison-card .work-caption > p {
        grid-column: 1 / -1;
        grid-row: 5;

        width: 100%;

        margin: 18px 0 0 !important;
        padding: 16px 10px 6px;

        border-top: 1px solid rgba(180, 100, 230, 0.35);

        text-align: center;
    }
}

/* ==========================================
   PUBLIC GALLERY — SINGLE PHOTO CROPPING
   ========================================== */

#work .dynamic-gallery-card[data-media-type="photos"][data-photo-type="single"]
.comparison-photos {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0;
    margin: 0;
    flex: 0 0 auto !important;
}

#work .dynamic-gallery-card[data-media-type="photos"][data-photo-type="single"]
.comparison-photos > figure:only-child {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 4 !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#work .dynamic-gallery-card[data-media-type="photos"][data-photo-type="single"]
.comparison-photos > figure:only-child img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0;
}

/* ==========================================
   PUBLIC — GROOMING IN MOTION
   RESPONSIVE VIDEO GALLERY
   ========================================== */

#work .categorized-work-grid[data-gallery-type="video"] {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-auto-flow: row;

    align-items: stretch !important;

    gap: 20px;
    width: 100%;
}


/* ==========================================
   VIDEO CARD ALIGNMENT
   ========================================== */

#work .categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card {
    display: flex !important;
    flex-direction: column;

    width: 100% !important;
    height: auto !important;

    min-width: 0 !important;
    max-width: 100% !important;

    grid-column: span 1;

    align-self: stretch !important;

    overflow: hidden;
}


/* ==========================================
   CONSISTENT VIDEO CROPPING
   ========================================== */

#work .categorized-work-grid[data-gallery-type="video"]
.dynamic-gallery-card video:not(:fullscreen) {
    display: block !important;

    width: 100% !important;
    height: 460px !important;

    min-height: 460px !important;
    max-height: 460px !important;
    max-width: 100% !important;

    aspect-ratio: auto !important;

    object-fit: cover !important;
    object-position: center !important;

    background: #000 !important;

    margin: 0 !important;

    flex-shrink: 0 !important;

    box-sizing: border-box;
}


/* ==========================================
   DESKTOP — WIDE HORIZONTAL VIDEOS
   ========================================== */

@media (min-width: 1101px) {

    #work .categorized-work-grid[data-gallery-type="video"] {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        grid-auto-flow: row;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card[data-video-orientation="landscape"] {
        grid-column: span 2;
    }

}


/* ==========================================
   TABLET — AUTOMATIC GAP FILLING
   ========================================== */

@media (min-width: 761px) and (max-width: 1100px) {

    #work .categorized-work-grid[data-gallery-type="video"] {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        grid-auto-flow: row dense;
    }

    /* Vertical videos */

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card {
        grid-column: span 1;
    }

    /* Horizontal videos */

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card[data-video-orientation="landscape"] {
        grid-column: 1 / -1;
    }

}


/* ==========================================
   PET INFORMATION ALIGNMENT
   ========================================== */

#work .categorized-work-grid[data-gallery-type="video"]
.dynamic-gallery-card .work-caption {
    display: flex;
    flex-direction: column;

    flex: 1;

    width: 100%;

    text-align: center;

    box-sizing: border-box;
}

#work .categorized-work-grid[data-gallery-type="video"]
.dynamic-gallery-card h3 {
    min-height: 28px;
    text-align: center;
}

#work .categorized-work-grid[data-gallery-type="video"]
.dynamic-gallery-card .work-groom-type {
    min-height: 24px;
    text-align: center;
}

#work .categorized-work-grid[data-gallery-type="video"]
.dynamic-gallery-card .work-stars {
    min-height: 24px;
    text-align: center;
}

#work .categorized-work-grid[data-gallery-type="video"]
.dynamic-gallery-card .work-caption p {
    flex: 1;
    text-align: center;
}


/* ==========================================
   MOBILE — STACKED VIDEO CARDS
   ========================================== */

@media (max-width: 760px) {

    #work .categorized-work-grid[data-gallery-type="video"] {
        grid-template-columns:
            minmax(0, 1fr) !important;

        grid-auto-flow: row;

        gap: 16px;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card {
        grid-column: 1 / -1;
    }

    /* Vertical videos */

    #work .categorized-work-grid[data-gallery-type="video"]
    .dynamic-gallery-card video:not(:fullscreen) {
        width: 100% !important;

        height: auto !important;

        min-height: 0 !important;
        max-height: none !important;

        aspect-ratio: 9 / 16 !important;

        object-fit: cover !important;
    }

    /* Horizontal videos */

    #work .categorized-work-grid[data-gallery-type="video"]
    .dynamic-gallery-card[data-video-orientation="landscape"]
    video:not(:fullscreen) {
        aspect-ratio: 16 / 9 !important;
    }

}


/* ==========================================
   FULLSCREEN — ORIGINAL VIDEO DIMENSIONS
   ========================================== */

#work .categorized-work-grid[data-gallery-type="video"]
.dynamic-gallery-card video:fullscreen {
    width: 100vw !important;
    height: 100vh !important;

    min-height: 0 !important;
    max-height: none !important;
    max-width: none !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;

    background: #000 !important;

    margin: 0 !important;
    border: none;
    border-radius: 0;
}

/* ==================================================
   PUBLIC WEBSITE — GROOMING IN MOTION
   RESPONSIVE VIDEO GALLERY
   ================================================== */

/* Video gallery only */

#work .categorized-work-grid[data-gallery-type="video"] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
    gap: 22px;
}

/* Reset conflicting card dimensions */

#work .categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card {
    display: flex !important;
    flex-direction: column !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

/* Consistent vertical video dimensions */

#work .categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card video {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    object-position: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #160b20;
}

/* Desktop horizontal videos — two columns */

#work .categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card[data-video-orientation="landscape"] {
    grid-column: span 2 !important;
}

#work .categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card[data-video-orientation="landscape"] video {
    aspect-ratio: 2 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Consistent caption layout */

#work .categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card .work-caption {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 22px 18px !important;
    box-sizing: border-box;
    text-align: center;
}

#work .categorized-work-grid[data-gallery-type="video"]
.work-caption h3 {
    margin: 0 0 8px !important;
}

#work .categorized-work-grid[data-gallery-type="video"]
.work-caption .work-groom-type {
    margin: 0 0 12px !important;
}

#work .categorized-work-grid[data-gallery-type="video"]
.work-caption .work-stars {
    margin: 0 0 16px !important;
}

#work .categorized-work-grid[data-gallery-type="video"]
.work-caption p {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 14px 0 0 !important;
    box-sizing: border-box;
}


/* ==================================================
   TABLET — TWO COLUMNS + AUTOMATIC GAP FILLING
   ================================================== */

@media (min-width: 761px) and (max-width: 1100px) {

    #work .categorized-work-grid[data-gallery-type="video"] {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        grid-auto-flow: row dense !important;
        grid-auto-rows: auto !important;
        gap: 20px;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card[data-video-orientation="landscape"] {
        grid-column: 1 / -1 !important;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card[data-video-orientation="landscape"] video {
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
    }

}


/* ==================================================
   MOBILE — SINGLE COLUMN, NATURAL CARD HEIGHTS
   ================================================== */

@media (max-width: 760px) {

    #work .categorized-work-grid[data-gallery-type="video"] {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        grid-auto-rows: auto !important;
        align-items: start !important;
        justify-items: center !important;
        gap: 18px;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        width: 100% !important;
        max-width: 360px !important;
        height: auto !important;
        min-height: 0 !important;
        align-self: start !important;
        margin: 0 auto !important;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card video:not(:fullscreen) {
        width: 100% !important;
        aspect-ratio: 3 / 4 !important;
        height: auto !important;
        object-fit: contain !important;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card[data-video-orientation="landscape"]
    video:not(:fullscreen) {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        object-fit: contain !important;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-caption {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 16px 15px !important;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-caption p {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 12px 0 0 !important;
    }

}


/* ==================================================
   FULLSCREEN — SHOW COMPLETE ORIGINAL VIDEO
   ================================================== */

#work .categorized-work-grid[data-gallery-type="video"]
video:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    background: #000 !important;
    border-radius: 0 !important;
}

#work .categorized-work-grid[data-gallery-type="video"]
video:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    background: #000 !important;
}

/* ==========================================
   GROOMING IN MOTION — MOBILE ALIGNMENT FIX
   ========================================== */

@media (max-width: 760px) {

    #work .categorized-work-grid[data-gallery-type="video"] {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-rows: auto !important;
        justify-items: stretch !important;
        align-items: start !important;

        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        gap: 20px !important;
    }

    /* Identical width for ALL video cards */

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card,
    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card[data-video-orientation="landscape"] {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        justify-self: stretch !important;
        align-self: start !important;

        box-sizing: border-box !important;
        overflow: hidden;
    }

    /* Vertical videos */

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card video:not(:fullscreen) {
        display: block !important;
        position: static !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        aspect-ratio: 9 / 16 !important;
        object-fit: contain !important;

        margin: 0 !important;
    }

    /* Horizontal videos — same card width */

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card[data-video-orientation="landscape"]
    video:not(:fullscreen) {
        width: 100% !important;
        height: auto !important;

        aspect-ratio: 16 / 9 !important;
        object-fit: contain !important;
    }

    /* Compact pet information */

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-caption {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;

        flex: 0 0 auto !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        padding: 14px !important;
        gap: 5px !important;

        box-sizing: border-box;
    }

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-caption h3,
    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-groom-type,
    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-stars {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove excessive description spacing */

    #work .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card .work-caption p {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 5px 0 0 !important;
        padding: 8px 0 0 !important;
    }
}

/* ==========================================
   PUBLIC — FULL SPA EXPERIENCE VIDEO CROPPING
   ========================================== */

#work .categorized-work-grid[data-gallery-type="combined"]
.combined-work-video {
    aspect-ratio: 2 / 3 !important;
    height: auto !important;
    overflow: hidden;
}

#work .categorized-work-grid[data-gallery-type="combined"]
.combined-work-video video:not(:fullscreen) {
    display: block;
    width: 100% !important;
    height: 100% !important;

    aspect-ratio: 2 / 3 !important;

    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* FULLSCREEN — ORIGINAL VIDEO PROPORTIONS */

#work .categorized-work-grid[data-gallery-type="combined"]
.combined-work-video video:fullscreen {
    width: 100vw !important;
    height: 100vh !important;

    aspect-ratio: auto !important;
    object-fit: contain !important;

    background: #000 !important;
    border-radius: 0 !important;
}

/* ==========================================
   PUBLIC — SINGLE PHOTO + VIDEO LAYOUT
   ========================================== */

#work .categorized-work-grid[data-gallery-type="combined"]
> .combined-single-card {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.25fr);

    grid-template-rows: auto 1fr;

    width: 100% !important;
    max-width: 650px !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 auto !important;
    padding: 12px;

    column-gap: 14px;
    row-gap: 0;

    align-items: start;
}

/* Remove intermediate media container */

#work .combined-single-card > .combined-work-media {
    display: contents !important;
}

/* Smaller photo on the left */

#work .combined-single-card .comparison-photos {
    grid-column: 1;
    grid-row: 1;

    display: block !important;

    width: 100% !important;
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent;
}

#work .combined-single-card .comparison-photos figure {
    position: relative;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 1 / 1 !important;

    margin: 0 !important;

    overflow: hidden;
    border-radius: 10px;
}

#work .combined-single-card .comparison-photos img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-height: none !important;

    object-fit: cover !important;
    object-position: center;

    margin: 0 !important;
}

/* Larger video on the right */

#work .combined-single-card .combined-work-video {
    grid-column: 2;
    grid-row: 1 / 3;

    position: relative;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 2 / 3 !important;

    align-self: start;
    justify-self: stretch;

    overflow: hidden;

    border-radius: 12px;
    border: 1px solid #9d55d3;
}

/* Video fills its outline */

#work .combined-single-card
.combined-work-video video:not(:fullscreen) {
    display: block !important;
    position: absolute !important;

    inset: 0;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    border-radius: 0 !important;
}

/* Pet information directly underneath photo */

#work .combined-single-card > .work-caption {
    grid-column: 1;
    grid-row: 2;

    display: flex !important;
    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 14px 4px 4px !important;

    gap: 6px;

    text-align: center;
    overflow-wrap: anywhere;
}

#work .combined-single-card .work-caption h3 {
    margin: 0 !important;
}

#work .combined-single-card .work-caption p {
    margin: 4px 0 0 !important;

    height: auto !important;
    min-height: 0 !important;
}

/* ==========================================
   PUBLIC — FULL SPA EXPERIENCE ORDER
   ========================================== */

/* Before & After + Video always first */

#work .categorized-work-grid[data-gallery-type="combined"]
> .combined-comparison-card {
    order: 0 !important;
}

/* Single Photo + Video always underneath */

#work .categorized-work-grid[data-gallery-type="combined"]
> .combined-single-card {
    order: 1 !important;
}

/* Prevent cards from filling earlier empty spaces */

#work .categorized-work-grid[data-gallery-type="combined"] {
    grid-auto-flow: row !important;
}

/* ==========================================
   TABLET
   ========================================== */

@media (min-width: 761px) and (max-width: 1100px) {

    #work .categorized-work-grid[data-gallery-type="combined"]
    > .combined-single-card {

        max-width: 600px !important;

        column-gap: 12px;
        padding: 12px;
    }
}

/* ==========================================
   MOBILE — PHOTO ABOVE VIDEO
   ========================================== */

@media (max-width: 760px) {

    #work .categorized-work-grid[data-gallery-type="combined"]
    > .combined-single-card {

        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;

        max-width: 350px !important;

        gap: 12px;
        padding: 12px;
    }

    /* Photo first */

    #work .combined-single-card .comparison-photos {
        grid-column: 1;
        grid-row: 1;

        max-width: 250px !important;
        justify-self: center;
    }

    /* Pet information second */

    #work .combined-single-card > .work-caption {
        grid-column: 1;
        grid-row: 2;

        padding: 0 6px 8px !important;
    }

    /* Video last */

    #work .combined-single-card .combined-work-video {
        grid-column: 1;
        grid-row: 3;

        width: 100% !important;
        max-width: 300px !important;

        justify-self: center;

        aspect-ratio: 2 / 3 !important;
    }
}

/* ==========================================
   FULLSCREEN — ORIGINAL VIDEO PROPORTIONS
   ========================================== */

#work .combined-single-card
.combined-work-video video:fullscreen {

    width: 100vw !important;
    height: 100vh !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #000 !important;
    border-radius: 0 !important;
}

/* ==========================================
   PUBLIC — SINGLE PHOTO + VIDEO MOBILE FIX
   ========================================== */

@media (max-width: 760px) {

    #work .categorized-work-grid[data-gallery-type="combined"]
    > .combined-single-card {

        display: grid !important;

        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto auto !important;

        width: 100% !important;
        max-width: 320px !important;

        height: auto !important;
        min-height: 0 !important;

        padding: 12px !important;
        gap: 10px !important;

        margin: 0 auto !important;
        box-sizing: border-box;

        align-items: start !important;
        align-content: start !important;
    }

    /* PHOTO — FIRST */

    #work .combined-single-card .comparison-photos {

        grid-column: 1 !important;
        grid-row: 1 !important;

        width: 100% !important;
        max-width: 260px !important;

        justify-self: center !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    #work .combined-single-card .comparison-photos figure {

        width: 100% !important;
        height: auto !important;

        aspect-ratio: 1 / 1 !important;

        margin: 0 !important;
        overflow: hidden;
    }

    #work .combined-single-card .comparison-photos img {

        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center !important;
    }

    /* VIDEO — SECOND */

    #work .combined-single-card .combined-work-video {

        grid-column: 1 !important;
        grid-row: 2 !important;

        width: 100% !important;
        max-width: 260px !important;

        height: auto !important;
        aspect-ratio: 4 / 5 !important;

        justify-self: center !important;

        margin: 0 !important;

        overflow: hidden;
        box-sizing: border-box;
    }

    #work .combined-single-card
    .combined-work-video video:not(:fullscreen) {

        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center !important;
    }

    /* PET INFORMATION — LAST */

    #work .combined-single-card > .work-caption {

        grid-column: 1 !important;
        grid-row: 3 !important;

        width: 100% !important;
        max-width: 260px !important;

        height: auto !important;
        min-height: 0 !important;

        justify-self: center !important;

        padding: 6px 0 2px !important;
        margin: 0 !important;

        gap: 5px !important;

        text-align: center !important;
    }

    #work .combined-single-card .work-caption h3 {

        margin: 0 !important;
    }

    #work .combined-single-card .work-stars {

        margin: 4px 0 !important;
    }

    #work .combined-single-card .work-caption p {

        width: 100% !important;

        margin: 4px 0 0 !important;
        padding: 10px 0 0 !important;

        border-top: 1px solid rgba(180, 100, 255, 0.35);

        height: auto !important;
        min-height: 0 !important;
    }
}

/* ==========================================
   PUBLIC — BEFORE & AFTER + VIDEO
   DESKTOP AND TABLET INFORMATION LAYOUT
   ========================================== */

@media (min-width: 761px) {

    #work .categorized-work-grid[data-gallery-type="combined"]
    > .combined-comparison-card {

        display: grid !important;

        grid-template-columns:
            minmax(0, 2fr)
            minmax(0, 1fr) !important;

        grid-template-rows: repeat(4, auto) !important;

        column-gap: 16px !important;
        row-gap: 8px !important;

        align-items: start !important;
        align-content: start !important;
    }

    /* Allow independent placement of content */

    #work .combined-comparison-card > .combined-work-media,
    #work .combined-comparison-card > .work-caption {

        display: contents !important;
    }

    /* BEFORE AND AFTER PHOTOS — LEFT */

    #work .combined-comparison-card .comparison-photos {

        grid-column: 1 !important;
        grid-row: 1 !important;

        width: 100% !important;
        margin: 0 !important;

        align-self: start !important;
    }

    /* VIDEO — RIGHT */

    #work .combined-comparison-card .combined-work-video {

        grid-column: 2 !important;
        grid-row: 1 !important;

        width: 100% !important;

        margin: 0 !important;
        align-self: start !important;
    }

    /* PET NAME — UNDER VIDEO */

    #work .combined-comparison-card .work-caption > h3 {

        grid-column: 2 !important;
        grid-row: 2 !important;

        width: 100% !important;

        margin: 8px 0 0 !important;

        text-align: center !important;
    }

    /* GROOMING SERVICE — UNDER NAME */

    #work .combined-comparison-card
    .work-caption > .work-groom-type {

        grid-column: 2 !important;
        grid-row: 3 !important;

        width: 100% !important;

        margin: 0 !important;

        text-align: center !important;
    }

    /* STARS — UNDER GROOMING SERVICE */

    #work .combined-comparison-card
    .work-caption > .work-stars {

        grid-column: 2 !important;
        grid-row: 4 !important;

        width: 100% !important;

        margin: 0 !important;

        text-align: center !important;
    }

    /* DESCRIPTION — UNDER BEFORE AND AFTER */

    #work .combined-comparison-card .work-caption > p {

        grid-column: 1 !important;
        grid-row: 2 / 5 !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 8px 0 0 !important;
        padding: 14px 8px !important;

        border-top: 1px solid rgba(180, 100, 255, 0.35);

        text-align: center !important;
        overflow-wrap: anywhere;

        align-self: start !important;
        box-sizing: border-box;
    }
}

/* ==========================================
   PUBLIC — RESTORE PURPLE MEDIA OUTLINES
   ========================================== */

#work .combined-comparison-card .comparison-photos figure,
#work .combined-single-card .comparison-photos figure {

    border: 2px solid #9d55d3 !important;
    border-radius: 12px !important;

    overflow: hidden;
    box-sizing: border-box;
}

#work .combined-comparison-card .combined-work-video,
#work .combined-single-card .combined-work-video {

    border: 2px solid #9d55d3 !important;
    border-radius: 12px !important;

    overflow: hidden;
    box-sizing: border-box;
}

/* ==========================================
   BEFORE & AFTER + VIDEO — REMOVE PHOTO GAP
   ========================================== */

@media (min-width: 761px) {

    #work .categorized-work-grid[data-gallery-type="combined"]
    > .combined-comparison-card {
        grid-template-rows: repeat(5, auto) !important;
    }

    /* Photos occupy the first row */

    #work .combined-comparison-card .comparison-photos {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: start !important;
    }

    /* Video spans two rows independently */

    #work .combined-comparison-card .combined-work-video {
        grid-column: 2 !important;
        grid-row: 1 / 3 !important;
        align-self: start !important;
    }

    /* Divider and description directly below photos */

    #work .combined-comparison-card .work-caption > p {
        grid-column: 1 !important;
        grid-row: 2 / 6 !important;

        align-self: start !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 4px 0 0 !important;
        padding: 12px 0 0 !important;

        border-top: 1px solid rgba(180, 100, 255, 0.35);

        text-align: center !important;
    }

    /* Keep pet information underneath video */

    #work .combined-comparison-card .work-caption > h3 {
        grid-row: 3 !important;
    }

    #work .combined-comparison-card .work-caption > .work-groom-type {
        grid-row: 4 !important;
    }

    #work .combined-comparison-card .work-caption > .work-stars {
        grid-row: 5 !important;
    }
}

/* ==========================================
   GROOMING IN MOTION — MOBILE VIDEO FIX
   ========================================== */

@media (max-width: 760px) {

    #work .categorized-work-gallery
    .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card {

        padding: 12px !important;
        box-sizing: border-box !important;
    }

    /* Compact video with purple outline */

    #work .categorized-work-gallery
    .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card > video:not(:fullscreen) {

        display: block !important;
        position: static !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        aspect-ratio: 2 / 3 !important;

        object-fit: cover !important;
        object-position: center !important;

        border: 2px solid #9d55d3 !important;
        border-radius: 12px !important;

        margin: 0 !important;
        padding: 0 !important;

        flex: 0 0 auto !important;
        box-sizing: border-box !important;
    }

    /* Consistent cropping for horizontal videos */

    #work .categorized-work-gallery
    .categorized-work-grid[data-gallery-type="video"]
    > .dynamic-gallery-card[data-video-orientation="landscape"]
    > video:not(:fullscreen) {

        aspect-ratio: 2 / 3 !important;
        object-fit: cover !important;
    }
}

/* ==========================================
   PUBLIC — CONSISTENT GALLERY MEDIA OUTLINES
   DESKTOP, TABLET AND MOBILE
   ========================================== */

/* ==========================================
   GROOMING IN MOTION — VIDEO CARDS
   ========================================== */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card {

    padding: 12px !important;
    box-sizing: border-box !important;
}

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card > video:not(:fullscreen) {

    display: block !important;
    position: static !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: 2 / 3 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 2px solid #9d55d3 !important;
    border-radius: 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    flex: 0 0 auto !important;
    box-sizing: border-box !important;
}

/* Consistent horizontal video framing */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="video"]
> .dynamic-gallery-card[data-video-orientation="landscape"]
> video:not(:fullscreen) {

    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
}


/* ==========================================
   FRESHLY GROOMED — SINGLE PHOTOS
   ========================================== */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="single"]
> .comparison-card {

    padding: 12px !important;
    box-sizing: border-box !important;
}

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="single"]
.comparison-photos {

    width: 100% !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
}

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="single"]
.comparison-photos > figure:only-child {

    width: 100% !important;

    border: 2px solid #9d55d3 !important;
    border-radius: 12px !important;

    margin: 0 !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}


/* ==========================================
   BEFORE & AFTER — INDIVIDUAL PHOTO OUTLINES
   ========================================== */

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="comparison"]
> .comparison-card {

    padding: 12px !important;
    box-sizing: border-box !important;
}

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="comparison"]
> .comparison-card .comparison-photos {

    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 10px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
}

#work .categorized-work-gallery
.categorized-work-grid[data-gallery-type="comparison"]
> .comparison-card .comparison-photos figure {

    width: 100% !important;
    min-width: 0 !important;

    border: 2px solid #9d55d3 !important;
    border-radius: 12px !important;

    margin: 0 !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* ==========================================
   OUR WORK — GROOM FILTERS
   STYLE 3: MINIMAL LUXURY
   ========================================== */

#work .groom-filter-section {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 900px;

    margin: 0 auto 24px;
    padding: 8px 12px 12px;

    text-align: center;

    background: transparent;
    border: none;
    box-shadow: none;
}

/* FILTER HEADING */

#work .groom-filter-heading {
    margin: 0 0 12px;

    font-family: var(--sans);
    font-size: 20px;
    font-weight: 600;

    color: var(--lilac);
}

/* FILTER BUTTON ALIGNMENT */

#work .groom-filter-buttons {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: 10px 24px;

    margin: 0 auto 12px;
}

/* MINIMAL SERVICE BUTTONS */

#work .groom-filter-button {
    position: relative;

    padding: 10px 4px;
    min-height: 44px;

    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(190, 130, 238, .18);
    border-radius: 0;

    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;

    color: var(--muted);

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

/* HOVER */

#work .groom-filter-button:hover {
    color: var(--lilac);
    border-bottom-color: #a768d2;
}

/* SELECTED SERVICE */

#work .groom-filter-button.is-active {
    color: #e8b9ff;

    border-bottom-color: #d38aff;

    box-shadow:
        0 5px 8px -6px #d38aff;

    text-shadow:
        0 0 10px rgba(211, 138, 255, .45);
}

/* SELECTION COUNT */

#work .groom-filter-subtitle {
    display: inline-block;

    margin: 0 12px 0 0;

    color: var(--muted);

    font-size: 12px;
    font-weight: 400;
}

/* RESET BUTTON */

#work .groom-filter-clear {
    padding: 6px 4px;

    background: transparent;
    border: none;

    color: var(--lilac);

    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;
}

#work .groom-filter-clear:hover {
    color: #ffffff;
}

/* KEYBOARD ACCESSIBILITY */

#work .groom-filter-button:focus-visible,
#work .groom-filter-clear:focus-visible {
    outline: 2px solid var(--lilac);
    outline-offset: 4px;
}

/* NO MATCHING GROOMS */

#work .groom-filter-empty {
    margin: 18px auto 0;

    color: var(--muted);

    font-size: 13px;
    text-align: center;
}

/* PRESERVE FILTER VISIBILITY */

#work .dynamic-gallery-card[style*="display: none"],
#work .work-gallery-section[style*="display: none"] {
    display: none !important;
}

/* TABLET */

@media (max-width: 760px) {

    #work .groom-filter-section {
        margin-bottom: 20px;
    }

    #work .groom-filter-buttons {
        gap: 8px 18px;
    }

    #work .groom-filter-heading {
        font-size: 19px;
    }
}

/* MOBILE */

@media (max-width: 560px) {

    #work .groom-filter-section {
        padding: 6px 0 10px;
        margin-bottom: 18px;
    }

    #work .groom-filter-heading {
        font-size: 18px;
        margin-bottom: 8px;
    }

    #work .groom-filter-buttons {
        gap: 6px 14px;
    }

    #work .groom-filter-button {
        font-size: 12px;
        padding: 8px 3px;
    }

    #work .groom-filter-subtitle,
    #work .groom-filter-clear {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #work .groom-filter-button {
        transition: none;
    }
}

/* ==========================================
   PUBLIC GALLERY — FILTER VISIBILITY FIX
   ========================================== */

#work .dynamic-gallery-card[hidden],
#work .work-gallery-section[hidden],
#work .video-card[hidden] {
    display: none !important;
}

#work .categorized-work-grid {
    grid-auto-flow: row !important;
}

/* ==========================================
   REVIEWS SECTION
   ========================================== */

#reviews {
  padding: 65px 0;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(132, 43, 190, .18),
      transparent 65%
    ),
    #160b20;
}

#reviews .reviews-summary {
  text-align: center;
  margin: 0 auto 26px;
}

#reviews .reviews-google-brand {
  display: inline-block;
  background: #fff;
  color: #3c4043;
  padding: 5px 13px;
  border-radius: 6px;
  font: 500 14px Arial, sans-serif;
  margin-bottom: 8px;
}

#reviews .reviews-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#reviews .reviews-rating-row strong {
  font-size: 34px;
  color: #fff;
  line-height: 1.3;
}

#reviews .reviews-stars {
  color: #ffc857;
  font-size: 20px;
  letter-spacing: 2px;
}

#reviews .reviews-summary p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

#reviews .reviews-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

#reviews .reviews-filter {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 8px 3px;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s, border-color .2s;
}

#reviews .reviews-filter:hover,
#reviews .reviews-filter.active {
  color: #edc8ff;
  border-bottom-color: #bc68f5;
}

#reviews .reviews-status {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}

#reviews .reviews-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1100px;
  margin: auto;
}

#reviews .reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 2px 16px;
}

#reviews .reviews-track::-webkit-scrollbar {
  display: none;
}

#reviews .review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(193, 113, 244, .55);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(78, 31, 106, .65),
    rgba(31, 13, 44, .96)
  );
  box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
  scroll-snap-align: start;
}

#reviews .review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}

#reviews .review-source {
  color: #e6baff;
  background: rgba(183, 91, 245, .13);
  border: 1px solid rgba(183, 91, 245, .35);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}

#reviews .review-card .reviews-stars {
  font-size: 14px;
  letter-spacing: 1px;
}

#reviews .review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

#reviews .review-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

#reviews .review-avatar-fallback {
  display: grid;
  place-items: center;
  background: #63318b;
  color: #fff;
  font-weight: 800;
}

#reviews .review-author strong,
#reviews .review-author a {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

#reviews .review-date {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

#reviews .review-text {
  color: #f0e2f8;
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#reviews .review-attribution {
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
}

#reviews .reviews-arrow {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border: 1px solid #ae65df;
  border-radius: 50%;
  background: #321342;
  color: #f3d5ff;
  font-size: 14px;
}

#reviews .reviews-arrow:hover {
  background: #71339c;
}

#reviews .reviews-arrow:disabled {
  opacity: .35;
  cursor: default;
}

#reviews .reviews-google-link {
  text-align: center;
  margin: 22px 0 32px;
}

#reviews .reviews-cta {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(189, 111, 244, .25);
}

#reviews .reviews-cta h3 {
  font: 400 34px/1.3 var(--script);
  color: var(--lilac);
  margin: 0 0 5px;
}

#reviews .reviews-cta p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 18px;
}

/* REVIEWS POP-UP */

#reviews .reviews-dialog {
  width: min(420px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  border: 1px solid #b56be8;
  border-radius: 22px;
  background: #23102f;
  color: var(--text);
  box-shadow: 0 0 35px rgba(170, 70, 240, .3);
}

#reviews .reviews-dialog::backdrop {
  background: rgba(8, 3, 14, .8);
  backdrop-filter: blur(5px);
}

#reviews .reviews-dialog-panel {
  position: relative;
  padding: 28px;
  text-align: center;
}

#reviews .reviews-dialog-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
}

#reviews .reviews-dialog-icon {
  color: var(--lilac);
  font-size: 32px;
}

#reviews .reviews-dialog h2 {
  font: 400 38px/1.2 var(--script);
  color: var(--lilac);
  margin: 5px 0 10px;
}

#reviews .reviews-dialog p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
}

#reviews .reviews-choice {
  display: block;
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  background: rgba(153, 64, 218, .12);
  border: 1px solid #9654c1;
  border-radius: 12px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
}

#reviews .reviews-choice strong {
  display: block;
  font-size: 14px;
}

#reviews .reviews-choice small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}

#reviews .reviews-choice:hover:not(:disabled) {
  background: rgba(153, 64, 218, .28);
}

#reviews .reviews-choice:disabled {
  opacity: .55;
  cursor: not-allowed;
}

#reviews [hidden] {
  display: none !important;
}

/* REVIEWS — TABLET */

@media (max-width: 900px) {

  #reviews .reviews-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

}

/* REVIEWS — MOBILE */

@media (max-width: 600px) {

  #reviews {
    padding: 42px 0;
  }

  #reviews .script-title {
    font-size: 39px;
  }

  #reviews .reviews-filters {
    gap: 18px;
  }

  #reviews .reviews-carousel {
    gap: 7px;
  }

  #reviews .reviews-track {
    grid-auto-columns: 100%;
    gap: 10px;
  }

  #reviews .review-card {
    padding: 16px;
    border-radius: 14px;
  }

  #reviews .reviews-arrow {
    width: 27px;
    height: 27px;
    font-size: 11px;
  }

  #reviews .reviews-cta h3 {
    font-size: 30px;
  }

  #reviews .reviews-dialog-panel {
    padding: 24px 18px;
  }

}

/* ==========================================
   REVIEWS — COMPACT CARD DESIGN
   ========================================== */

#reviews {
  padding: 45px 0;
}

#reviews .reviews-summary {
  margin-bottom: 18px;
}

#reviews .reviews-google-brand {
  background: transparent;
  color: #fff;
  border: none;
  padding: 0;
  font: 500 14px Arial, sans-serif;
}

#reviews .reviews-filters {
  margin-bottom: 14px;
}

#reviews .reviews-track {
  align-items: start;
}

#reviews .review-card {
  height: 300px;
  min-height: 0;
  padding: 18px;
  text-align: left;
  overflow: hidden;
}

#reviews .review-card-header {
  flex-shrink: 0;
  margin-bottom: 12px;
}

#reviews .review-author {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-align: left;
  flex-shrink: 0;
}

#reviews .review-author > div {
  flex: 1;
  min-width: 0;
  text-align: left;
}

#reviews .review-avatar {
  width: 36px;
  height: 36px;
  margin: 0;
  flex: 0 0 36px;
}

#reviews .review-author a,
#reviews .review-author strong {
  text-decoration: none;
  font-size: 14px;
}

#reviews .review-author a:hover {
  text-decoration: underline;
}

#reviews .review-text-container {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#reviews .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

#reviews .review-text-container.is-expanded {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #a441ed transparent;
}

#reviews .review-text-container.is-expanded .review-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

#reviews .review-read-more {
  align-self: flex-start;
  flex-shrink: 0;
  padding: 4px 0;
  margin: 5px 0;
  background: transparent;
  border: none;
  color: #e8b9ff;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

#reviews .review-read-more:hover {
  text-decoration: underline;
}

#reviews .review-source {
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  font-size: 12px;
}

#reviews .review-attribution {
  flex-shrink: 0;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(193, 113, 244, .2);
  text-align: left;
  font-size: 11px;
}

#reviews .reviews-google-link {
  margin: 14px 0 24px;
}

#reviews .reviews-cta {
  padding-top: 20px;
}

/* COMPACT REVIEWS — MOBILE */

@media (max-width: 600px) {

  #reviews {
    padding: 35px 0;
  }

  #reviews .review-card {
    height: 290px;
    padding: 15px;
  }

  #reviews .review-text {
    font-size: 12px;
  }

  #reviews .review-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

}

/* ==========================================
   WEBSITE REVIEW SUBMISSION FORM
   ========================================== */

#reviews .website-review-dialog {
    width: min(460px, 92vw);
    max-height: 90vh;
    margin: auto;
    box-sizing: border-box;
}

#websiteReviewForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

/* INPUT FIELDS */

#reviews .website-review-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

#reviews .website-review-field label,
#reviews .website-review-rating legend {
    color: var(--lilac);
    font-size: 13px;
    font-weight: 600;
}

#reviews .website-review-field input,
#reviews .website-review-field textarea {
    width: 100%;
    padding: 12px;

    background: #160b20;
    color: var(--text);

    border: 1px solid #9654c1;
    border-radius: 10px;

    font-family: var(--sans);
    font-size: 14px;

    box-sizing: border-box;
    outline: none;
}

#reviews .website-review-field input:focus,
#reviews .website-review-field textarea:focus {
    border-color: #d38aff;
    box-shadow: 0 0 8px rgba(164, 65, 237, .3);
}

#reviews .website-review-field input::placeholder,
#reviews .website-review-field textarea::placeholder {
    color: #a995b5;
}

#reviews .website-review-field textarea {
    min-height: 110px;
    resize: vertical;
}

/* SELECTABLE STAR RATING */

#reviews .website-review-rating {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

#reviews .website-review-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

#reviews .website-review-stars input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#reviews .website-review-stars label {
    color: #715c80;
    font-size: 34px;
    line-height: 1.3;
    cursor: pointer;
    transition: color .15s ease;
}

#reviews .website-review-stars input:checked ~ label,
#reviews .website-review-stars label:hover,
#reviews .website-review-stars label:hover ~ label {
    color: #ffc857;
}

#reviews .website-review-stars input:focus-visible + label {
    outline: 2px solid var(--lilac);
    outline-offset: 4px;
    border-radius: 4px;
}

/* CHARACTER COUNT */

#reviews .website-review-character-count {
    color: var(--muted);
    font-size: 11px;
    text-align: right;
}

/* PUBLICATION NOTICE */

#reviews .website-review-dialog .website-review-notice {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* SUBMISSION FEEDBACK */

#reviews .website-review-feedback {
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

#reviews .website-review-feedback.success {
    color: #b5efc5;
    background: rgba(50, 160, 90, .12);
    border: 1px solid rgba(50, 160, 90, .45);
}

#reviews .website-review-feedback.error {
    color: #ffb5b5;
    background: rgba(200, 50, 50, .12);
    border: 1px solid rgba(200, 50, 50, .45);
}

/* SUBMIT BUTTON */

#reviews .website-review-submit {
    width: 100%;
    min-height: 44px;
    text-align: center;
}

#reviews .website-review-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* BACK BUTTON */

#reviews .website-review-back {
    background: transparent;
    border: none;
    color: var(--lilac);
    font-family: var(--sans);
    font-size: 12px;
    text-align: center;
    padding: 5px;
    cursor: pointer;
}

#reviews .website-review-back:hover {
    text-decoration: underline;
}

/* MOBILE */

@media (max-width: 600px) {

    #reviews .website-review-dialog {
        width: 92vw;
        max-height: 88vh;
    }

    #reviews .website-review-dialog .reviews-dialog-panel {
        padding: 22px 18px;
    }

    #reviews .website-review-dialog h2 {
        font-size: 32px;
    }

    #websiteReviewForm {
        gap: 12px;
    }

    #reviews .website-review-field input,
    #reviews .website-review-field textarea {
        font-size: 16px;
        padding: 10px;
    }

    #reviews .website-review-stars {
        gap: 8px;
    }

    #reviews .website-review-stars label {
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #reviews .website-review-stars label {
        transition: none;
    }
}

/* ==========================================
   SOCIALS — INSTAGRAM AND TIKTOK
   ========================================== */

#socials .socials-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 780px;
  margin: 30px auto 18px;
}

#socials .socials-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
}

#socials .socials-platform .socials-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  max-width: 100%;
  font-size: 16px;
  overflow-wrap: anywhere;
}

#socials .socials-platform-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}

#socials .socials-platform .btn {
  margin: 0;
  min-width: 220px;
  max-width: 100%;
}

/* MOBILE SOCIALS */

@media (max-width: 700px) {

  #socials .socials-platforms {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 26px auto 20px;
  }

  #socials .socials-platform {
    gap: 15px;
  }

  #socials .socials-platform .socials-handle {
    font-size: 14px;
  }

  #socials .socials-platform-icon {
    width: 18px;
    height: 18px;
  }

  #socials .socials-platform .btn {
    min-width: 210px;
  }

}