/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4
 * Scoped update: BLACKTOP's existing palette, typography and photographic hero.
 * Web glass approximation using translucent layers, edge highlights and blur.
 */
:root {
  --toolbox-clear: #08090900;
  --toolbox-glass: #f4f0e810;
  --toolbox-glass-top: #f4f0e82b;
  --toolbox-glass-edge: #f4f0e84d;
  --toolbox-glass-inner: #f4f0e817;
  --toolbox-gold-edge: #c5a05966;
  --toolbox-gold-light: #e3c48c;
  --toolbox-gold-haze: #c5a05916;
  --toolbox-shadow: #00000080;
  --toolbox-floor: #000000cc;
  --toolbox-solid: #20211e;
  --toolbox-gap: 32px;
}
.hero-actions {
  position: absolute;
  z-index: 3;
  left: 6%;
  right: 6%;
  top: min(69svh, 680px);
  width: fit-content;
  max-width: 88%;
}
.hero .hero-actions .cta {
  scale: 1;
  translate: 0 0;
  transform: none;
  font-size: 15px;
  min-height: 44px;
  margin: 0 0 16px;
  white-space: nowrap;
}
.hero-contact {display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0;}
.hero-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  text-shadow: 0 2px 12px var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
  white-space: nowrap;
}
.hero-contact a:hover {color: var(--toolbox-gold-light);}
.hero-contact a:active {color: var(--gold);}
.toolbox-controls {display: flex; justify-content: flex-end; align-items: end;}
.toolbox-toggle {
  border: 1px solid var(--toolbox-gold-edge);
  border-radius: 999px;
  padding: 12px 20px;
  min-height: 44px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.toolbox-toggle:hover {border-color: var(--gold);}
.toolbox-toggle:active {background-color: var(--toolbox-solid);}
.toolbox-toggle[aria-pressed="true"] {border-color: var(--gold);}
.toolbox-viewport {
  position: relative;
  isolation: isolate;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--ink);
  padding-block: 24px 40px;
  background: radial-gradient(ellipse at 50% 42%, var(--toolbox-gold-haze), var(--toolbox-clear) 68%);
}
.toolbox-viewport:focus-visible {outline: 2px solid var(--gold); outline-offset: 4px;}
.toolbox-track {display: flex; width: max-content;}
.toolbox-group {
  display: flex;
  gap: var(--toolbox-gap);
  list-style: none;
  padding: 0 var(--toolbox-gap) 0 0;
  margin: 0;
}
.toolbox-item {flex: 0 0 192px; width: 192px;}
.toolbox-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 12px;
  color: var(--paper);
  text-align: center;
}
.toolbox-icon-stage {position: relative; display: grid; place-items: start center; width: 100%; height: 208px;}
.toolbox-icon-stage::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 124px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--toolbox-floor), var(--toolbox-clear) 70%);
  filter: blur(6px);
  z-index: -1;
}
.toolbox-float {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border-radius: 36px;
  border: 1px solid var(--toolbox-glass-edge);
  background: linear-gradient(135deg, var(--toolbox-glass-top), var(--toolbox-glass) 48%, var(--toolbox-gold-haze));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 var(--toolbox-glass-edge), inset 0 -1px 0 var(--toolbox-gold-edge), 0 24px 36px var(--toolbox-shadow);
  rotate: -5deg;
  animation: toolbox-float 6s ease-in-out infinite;
}
.toolbox-float::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid var(--toolbox-glass-inner);
  border-radius: 31px;
  pointer-events: none;
}
.toolbox-float img {width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 4px 8px var(--toolbox-shadow));}
.toolbox-item:nth-child(2n) .toolbox-float {rotate: 5deg; animation-delay: -2s;}
.toolbox-item:nth-child(3n) .toolbox-float {rotate: -2deg; animation-delay: -4s;}
.toolbox-item a:hover .toolbox-float {border-color: var(--gold);}
.toolbox-item a:focus-visible {outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 16px;}
.toolbox-item a:active {color: var(--gold);}
.toolbox-name {font-size: 16px; line-height: 1.5; font-weight: 500;}
.toolbox-kind {font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 4px;}
[data-motion="paused"] .toolbox-float {animation-play-state: paused;}
@keyframes toolbox-float {0%, 100% {transform: translateY(0);} 50% {transform: translateY(-12px);}}

/* Keep the three original packs readable beneath the service ticker. */
#shop-tools .rgr-products {gap: 24px; margin-top: 40px;}
#shop-tools .rgr-product {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  border: 1px solid var(--toolbox-gold-edge);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--toolbox-glass), var(--toolbox-clear)), var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 var(--toolbox-glass-inner), 0 20px 40px var(--toolbox-shadow);
  padding: 32px;
  gap: 24px;
  scroll-margin-top: 32px;
}
#shop-tools .rgr-product-art, #shop-tools .rgr-product-number {display: none;}
#shop-tools .rgr-product-description, #shop-tools .rgr-product-contents {margin: 0; padding: 0; min-width: 0;}
#shop-tools .rgr-product h3 {font-size: clamp(25px, 2.3vw, 34px);}
#shop-tools .rgr-product-contents {border-top: 1px solid var(--toolbox-glass-inner); padding-top: 24px;}
#shop-tools .rgr-product-contents li {font-size: 13px;}
.services-intro {font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 35ch; margin-top: 32px; font-weight: 400; letter-spacing: normal;}
.services-intro strong {color: var(--paper); font-weight: 500;}
.services-heading {position: sticky; top: 90px; align-self: start;}
.services-heading h2 {position: static;}

@media (max-width: 900px) {
  .toolbox-controls {justify-content: flex-start;}
  .rgr-shop .rgr-shop-heading {gap: 24px;}
  #shop-tools .rgr-product {padding: 24px;}
}
@media (max-width: 600px) {
  .hero-actions {top: min(70svh, 620px);}
  .hero-contact {flex-direction: column; gap: 0;}
  .hero-contact a {font-size: 14px;}
  .hero .hero-actions .cta {font-size: 14px; margin-bottom: 8px;}
  .toolbox-item {width: 160px; flex-basis: 160px;}
  .toolbox-float {width: 124px; height: 124px; border-radius: 30px;}
  .toolbox-float::before {border-radius: 25px;}
  .toolbox-float img {width: 56px; height: 56px;}
  .toolbox-icon-stage {height: 180px;}
  .toolbox-icon-stage::after {width: 104px;}
  .toolbox-name {font-size: 14px;}
  .services-intro {font-size: 16px; max-width: 34ch;}
  .services-heading {position: static;}
}
@media (prefers-reduced-motion: reduce) {
  .toolbox-float {animation: none; rotate: 0deg;}
  .toolbox-viewport {overflow: visible;}
  .toolbox-track {width: 100%; display: block;}
  .toolbox-group {display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; padding: 0;}
  .toolbox-item {width: auto; min-width: 0;}
  .toolbox-clone, .toolbox-toggle {display: none;}
}
@media (prefers-reduced-transparency: reduce) {
  .toolbox-float, #shop-tools .rgr-product {background: var(--toolbox-solid); backdrop-filter: none; -webkit-backdrop-filter: none;}
}
@supports not (backdrop-filter: blur(1px)) {
  .toolbox-float, #shop-tools .rgr-product {background-color: var(--toolbox-solid);}
}
@media (forced-colors: active) {
  .toolbox-float, #shop-tools .rgr-product, .toolbox-toggle {background: Canvas; border-color: CanvasText; box-shadow: none;}
  .toolbox-float img {filter: grayscale(1) brightness(2);}
  .toolbox-name, .toolbox-kind, .hero-contact a {color: LinkText;}
}
@media print {
  .hero-actions {position: static;}
  .toolbox-viewport {overflow: visible;}
  .toolbox-track, .toolbox-group {display: block; width: auto;}
  .toolbox-item {display: inline-block; vertical-align: top;}
  .toolbox-float {animation: none;}
  .toolbox-clone, .toolbox-toggle {display: none;}
}

/* Owner-supplied positioning statement directly beneath the photographic hero. */
.hero-positioning {padding-block: 56px 64px;}
.hero-positioning p {
  max-width: 54ch;
  margin: 0;
  color: var(--paper);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.5;
  letter-spacing: -.02em;
}
@media (max-width: 600px) {
  .hero-positioning {padding-block: 32px 40px;}
}
