.skip-link {
  position: fixed;
  z-index: 10;
  inset: .75rem auto auto .75rem;
  padding: .75rem 1rem;
  transform: translateY(-200%);
  background: #fff;
  color: #820822;
  border-radius: .4rem;
}
.skip-link:focus { transform: none; }

.workshop,
section.details,
.hours {
  color-scheme: light;
  color: #181d25;
  background:
    repeating-linear-gradient(0deg, #ffffff38 0 1px, transparent 1px 5px),
    linear-gradient(125deg, #fafbfc, #dce1e8 55%, #f5f7fa);
}
.workshop {
  overflow: hidden;
  position: relative;
  padding: clamp(3rem, 7vw, 6.25rem) 0;
  border-top: 1px solid #fcfdff;
  background:
    radial-gradient(ellipse at 77% 4%, #fff 0%, transparent 52%),
    repeating-linear-gradient(0deg, #ffffff49 0 1px, transparent 1px 5px),
    linear-gradient(133deg, #ebeff4, #d8dde6 57%, #f1f4f7);
}
.workshop::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #343a47, #ed5c70 37%, #ffdde2 49%, #bf1533 60%, #343a47);
}
.workshop-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; }
.workshop h2 { margin: .6rem 0 .75rem; }
.workshop h2, section.details h2, .hours h2 {
  background: linear-gradient(172deg, #1d2530 12%, #485568 42%, #252e3c 52%, #333d4c 95%);
  background-clip: text;
  color: transparent;
  filter: none;
}
.workshop .eyebrow { color: #980a28; }
.workshop-intro { color: #404b5a; }
.gallery-controls, .gallery-dialog-controls { display: flex; align-items: center; gap: .65rem; }
.gallery-controls[hidden] { display: none; }
.gallery-control {
  display: grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  padding: 0;
  color: #222a35;
  background: linear-gradient(145deg, #fff, #e4e8ee);
  border: 1px solid #9ca6b4;
  border-radius: .55rem;
  box-shadow: inset 0 1px #fff, 0 4px 12px #343f531d;
  cursor: pointer;
  font: 1.8rem/1 system-ui, sans-serif;
}
.gallery-control[aria-disabled="true"] { opacity: .48; cursor: default; }
.gallery-control:not([aria-disabled="true"]):hover { color: #9a0c2b; background: #fff; }
.gallery-count { min-width: 3.8rem; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.workshop :focus-visible, .details :focus-visible {
  outline: 3px solid #9a0c2b;
  outline-offset: 3px;
}
.gallery-track {
  --slide-width: 86%;
  display: flex;
  gap: clamp(.65rem, 2vw, 1.45rem);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: .3rem 0 .95rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #75808f #dce2e9;
}
.gallery-track:focus-visible { outline-offset: 4px; border-radius: .7rem; }
.gallery-slide { flex: 0 0 var(--slide-width); min-width: 0; scroll-snap-align: start; }
.gallery-slide:last-child { scroll-snap-align: end; }
.gallery-slide figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #fff;
  border-bottom-color: #a3adb9;
  border-radius: .9rem;
  background: linear-gradient(133deg, #fdfdff, #e6ebf1);
  box-shadow: 0 .45rem .9rem #26384d20;
}
.gallery-photo {
  display: block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.95;
  background: radial-gradient(ellipse at 50% 50%, #fcfdff, #cad2dd 75%, #aeb9c7);
}
.gallery-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-slide.portrait img { object-fit: contain; }
.gallery-photo:focus-visible { outline-offset: -4px; }
.gallery-expand {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  padding: .45rem .75rem;
  color: #fff;
  background: #151922e8;
  border: 1px solid #ffffff80;
  border-radius: .5rem;
  box-shadow: 0 4px 20px #10172250;
  backdrop-filter: blur(10px);
  font-size: .875rem;
  font-weight: 700;
}
.gallery-slide figcaption { padding: .65rem .9rem; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .gallery-photo img { transform: scale(1.025); transition: transform .85s cubic-bezier(.22,.61,.36,1); }
  .gallery-slide.is-current img, .gallery-slide.portrait img { transform: scale(1); }
  .gallery-slide.is-current .gallery-photo::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(109deg, transparent 30%, #fff1 45%, #fff4 50%, transparent 63%);
    animation: gallery-reflection .83s ease-out both;
  }
  main > section:not(.hero) .eds-motion:not(.eds-visible) { animation: none; }
}
@keyframes gallery-reflection {
  from { transform: translateX(-105%); }
  to { transform: translateX(105%); }
}

.gallery-dialog {
  width: min(70rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: .65rem;
  border: 1px solid #ced5df;
  border-radius: 1rem;
  background: #f2f4f8;
  color: #222a35;
  box-shadow: 0 18px 75px #14192666;
}
.gallery-dialog::backdrop { background: #151923e3; }
.gallery-dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 0 .15rem .55rem;
  border: 0;
  background: transparent;
}
.gallery-dialog-bar h3 { font-size: 1.05rem; }
.gallery-dialog-media { display: grid; place-items: center; margin: 0; background: #232a34; border-radius: .45rem; }
.gallery-dialog-media img { display: block; max-width: 100%; max-height: max(8rem, calc(100dvh - 10rem)); }
@media (prefers-reduced-motion: no-preference) {
  .gallery-dialog-media img { animation: gallery-photo-in .25s ease-out both; }
}
@keyframes gallery-photo-in {
  from { opacity: .45; transform: scale(.99); }
  to { opacity: 1; transform: none; }
}
.gallery-dialog-controls { justify-content: center; padding-top: .6rem; }
body:has(.gallery-dialog[open]) { overflow: hidden; }

.services .card, .hours-panel {
  color: #17212e;
  background: linear-gradient(143deg, #fffffffa, #f3f6fbe8 58%, #dfe5eee0);
  border: 1px solid #fff;
  border-bottom-color: #aeb8c6;
  box-shadow: inset 0 1px #fff, 0 14px 32px #26354d20;
}
.services .card:hover { border-color: #b3bdca; box-shadow: inset 0 1px #fff, 0 22px 42px #26354d30; }
.services .card h3, .services .service-explain strong, .hours dt { color: #18212d; }
.services .card .service-explain li, .hours dd { color: #344050; }
.services .card .service-explain li, .hours dl > div { border-color: #8995a75e; }
.service-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #92102b;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .19em;
}
.service-cta:hover { color: #61071b; }
.hours { background-color: #e4e9f0; }
.contact address a { display: flex; align-items: center; min-height: 44px; }
.bot-close, .bot-options button, .bot-form button { min-height: 44px; }

@media (max-width: 700px) {
  header .wrap { column-gap: .85rem; }
  nav { flex-wrap: wrap; justify-content: center; gap: 0 .8rem; }
  nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .gallery-track { --slide-width: 92%; }
  .gallery-photo { aspect-ratio: 1.7; }
}
@media (max-width: 520px) {
  .workshop-heading { align-items: start; flex-direction: column; gap: .85rem; }
  .gallery-track { margin-top: .85rem; }
  .gallery-expand { right: .5rem; bottom: .5rem; }
  .bot-open canvas { width: 65px; }
  .bot-panel { max-height: min(570px, calc(100dvh - 92px)); }
}
