html[data-site="website"] .work-gallery-section[hidden] { display: none !important; }
/* Independent event reel gallery, all rules scoped to work-gallery / work-video. */
html[data-site="website"] .work-gallery-section {
  width:100%;
  background:#242424;
  color:#faf9f7;
  padding:82px 24px 76px;
}
html[data-site="website"] .work-gallery-inner {
  max-width:874px; /* Fallback matches the existing service card track on desktop. */
  container-type:inline-size;
  width:100%;
  margin:0 auto;
}
html[data-site="website"] .work-gallery-heading { margin:0 0 39px; }
html[data-site="website"] .work-gallery-heading h2 {
  font-family:Inter,Arial,sans-serif;
  font-weight:800;
  letter-spacing:-.025em;
  line-height:1.08;
  font-size:clamp(34px,3.8vw,44px);
  margin:0;
  color:#faf9f7;
}
html[data-site="website"] .work-gallery-heading p {
  margin:10px 0 0;
  color:#e9e6e2;
  font-size:clamp(17px,1.75vw,20px);
  font-weight:500;
  line-height:1.4;
}
html[data-site="website"] .work-gallery-viewport {
  cursor:grab;
  --work-gap:23px;
  --work-visible:3;
  --work-card-width:calc((100cqw - (var(--work-visible) - 1) * var(--work-gap)) / var(--work-visible));
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;
  touch-action:auto;
  border-radius:0;
  outline-offset:5px;
}
html[data-site="website"] .work-gallery-viewport::-webkit-scrollbar { display:none; }
html[data-site="website"] .work-gallery-viewport:focus-visible { outline:2px solid #f6862b; }

html[data-site="website"] .work-gallery-viewport.is-dragging,
html[data-site="website"] .work-gallery-viewport.is-dragging .work-gallery-card-button { cursor:grabbing; }
html[data-site="website"] .work-gallery-track {
  display:flex;
  align-items:stretch;
  gap:var(--work-gap);
  width:max-content;
  min-width:100%;
}
html[data-site="website"] .work-gallery-card {
  width:var(--work-card-width);
  flex:0 0 var(--work-card-width);
  min-width:0;
  scroll-snap-align:start;
}
html[data-site="website"] .work-gallery-card-button {
  display:block;
  position:relative;
  padding:0;
  width:100%;
  height:auto;
  aspect-ratio:9/16;
  background:#323232;
  overflow:hidden;
  border-radius:21px;
  cursor:grab;
  color:#faf9f7;
  text-align:center;
  isolation:isolate;
}
html[data-site="website"] .work-gallery-poster {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}
html[data-site="website"] .work-gallery-placeholder {
  position:absolute;
  inset:0;
  z-index:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:12px;
  background:linear-gradient(160deg,#363636 0%,#242424 55%,#292929 100%);
}
html[data-site="website"] .work-gallery-placeholder-number {
  font-family:Provicali,Inter,sans-serif;
  font-size:clamp(55px,8vw,96px);
  font-weight:400;
  line-height:1;
  color:#f6862b;
}
html[data-site="website"] .work-gallery-placeholder-hint {
  font-family:Inter,Arial,sans-serif;
  font-size:11px;
  font-weight:500;
  color:#bcbcbc;
  letter-spacing:.03em;
}
html[data-site="website"] .work-gallery-card-button::after {
  content:"";
  background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.72) 100%);
  position:absolute;
  z-index:2;
  inset:0;
  pointer-events:none;
}
html[data-site="website"] .work-gallery-play {
  position:absolute;
  z-index:3;
  left:50%;top:50%;
  width:92px;
  height:92px;
  display:grid;
  place-items:center;
  transform:translate(-50%,-50%);
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
  opacity:.48;
  transition:transform .2s ease,opacity .2s ease;
}
html[data-site="website"] .work-gallery-play svg {
  width:80px;
  height:80px;
  fill:#faf9f7;
  transform:translateX(2px);
}
html[data-site="website"] .work-gallery-card-button:hover .work-gallery-play,
html[data-site="website"] .work-gallery-card-button:focus-visible .work-gallery-play {
  transform:translate(-50%,-50%) scale(1.06);
  opacity:.76;
}
html[data-site="website"] .work-gallery-card-button:focus-visible,
html[data-site="website"] .work-gallery-dot:focus-visible,
html[data-site="website"] .work-video-close:focus-visible {
  outline:3px solid #f6862b;
  outline-offset:3px;
}
html[data-site="website"] .work-gallery-card-title { display:none;

  position:absolute;
  z-index:3;
  left:14px;
  right:14px;
  bottom:18px;
  color:#faf9f7;
  font-size:14px;
  font-weight:800;
  line-height:1.25;
  text-shadow:0 1px 3px #000;
}
html[data-site="website"] .work-gallery-navigation[hidden] { display:none!important; }
html[data-site="website"] .work-gallery-navigation {
  margin-top:25px;
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
}
html[data-site="website"] .work-video-close svg {
  width:19px;
  height:19px;
  stroke:currentColor;
  stroke-width:2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
/* Visually identical to the Services carousel dots: 16px circles, 14px gap.
   The invisible button area remains larger for easier tapping. */
html[data-site="website"] .work-gallery-dots {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
}
html[data-site="website"] .work-gallery-dot {
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border:0;
  padding:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
}
html[data-site="website"] .work-gallery-dot::before {
  content:"";
  width:16px;
  height:16px;
  border-radius:50%;
  background:#ffffff75;
  transition:background .18s ease,transform .18s ease;
}
html[data-site="website"] .work-gallery-dot.is-active::before {
  background:#faf9f7;
  transform:scale(1.07);
}
/* Modal is a full-screen overlay, not a boxed section inside the website. */
html[data-site="website"] .work-video-modal[hidden] { display:none!important; }
html[data-site="website"] .work-video-modal {
  position:fixed;
  inset:0;
  z-index:99999;
  padding:52px 18px 24px;
  display:grid;
  place-items:center;
}
html[data-site="website"] .work-video-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.92);
}
html[data-site="website"] .work-video-dialog {
  display:flex;
  flex-direction:column;
  position:relative;
  align-items:center;
  max-height:100%;
  max-width:min(100%,470px);
  width:100%;
}
html[data-site="website"] .work-video-player {
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:calc(100dvh - 125px);
  aspect-ratio:9/16;
  background:#111;
  border-radius:12px;
  object-fit:contain;
}
html[data-site="website"] .work-video-close {
  position:absolute;
  z-index:2;
  right:0;
  top:-3px;
  background:#242424;
  color:#fff;
  border-radius:50%;
  width:34px;
  height:34px;
  cursor:grab;
  display:grid;
  place-items:center;
}
html[data-site="website"] .work-video-message {
  color:#fff;
  background:#333;
  padding:12px 16px;
  font-size:14px;
  border-radius:9px;
  text-align:center;
}
@media (min-width:619px) and (max-width:914px) {
  html[data-site="website"] .work-gallery-inner { max-width:min(calc(100% - 22%),646px); }
  html[data-site="website"] .work-gallery-viewport { --work-visible:2; --work-gap:24px; }
  html[data-site="website"] .work-gallery-section { padding:67px 24px 67px; }
}
@media (max-width:618px) {
  html[data-site="website"] .work-gallery-section { padding:58px 16px 59px; }
  html[data-site="website"] .work-gallery-heading { margin-bottom:25px; }
  html[data-site="website"] .work-gallery-heading h2 { font-size:clamp(34px,9vw,46px); }
  html[data-site="website"] .work-gallery-heading p { font-size:clamp(18px,4.8vw,24px); margin-top:16px; }
  html[data-site="website"] .work-gallery-viewport { --work-visible:1.35; --work-gap:15px; }
  html[data-site="website"] .work-gallery-card-button { border-radius:16px; }
  html[data-site="website"] .work-gallery-play { width:98px;height:98px; }
  html[data-site="website"] .work-gallery-navigation { margin-top:21px; }
}
@media (prefers-reduced-motion:reduce) {
  html[data-site="website"] .work-gallery-play { transition:none; }
  html[data-site="website"] .work-gallery-viewport { scroll-behavior:auto; }
}




@media (pointer:coarse) {
  html[data-site="website"] .work-gallery-viewport,
  html[data-site="website"] .work-gallery-card-button { cursor:auto; }
}

@media (min-width:1061px) {
  html[data-site="website"] .work-gallery-heading h2 { font-size:42px; }
  html[data-site="website"] .work-gallery-heading p { font-size:19px; }
}
@media (min-width:619px) and (max-width:914px) {
  html[data-site="website"] .work-gallery-heading h2 { font-size:clamp(30px,4.2vw,38px); }
  html[data-site="website"] .work-gallery-heading p { font-size:clamp(15px,2vw,18px); }
}
@media (max-width:380px) {
  html[data-site="website"] .work-gallery-heading h2 { font-size:31px; }
  html[data-site="website"] .work-gallery-heading p { font-size:17px; }
}
