/* Hallmark · v2.0.0 · restyle · built: the project · theme: FORIOUS (brand, kept) · motion: calm · signature: the product held in a rounded, lifted frame */
/* critique: a padded square image inside a taller grey frame made two frames, and animating every tile made the page feel like a component demo; a 1:1 frame shows the whole product and the screen itself carries the motion */
/* note: link arrows and shortcut labels are the project's own copy, kept verbatim (63); overflow-x: clip is declared in this layer so sticky chrome keeps working (34) */
/* note: the scrolling page-ground tint was dropped as noise; the product detail cover is a capped fluid reference beside a compact summary, and the page stays full-bleed with the site frame on wide screens */
/* Hallmark · waive 11 · no ::before or ::after glass layer remains on the product frame; hover is one lift, one shadow and a 1.035 picture scale · the FORIOUS product grid keeps a single quiet hover signal now that the glass sweep was removed at the owner's request */
/* Hallmark · answered F7 · one shared control shape across nav, filters and buttons is the brief: unified components */
/* Hallmark · answered F8 · scroll(root) drives the whole first screen, view() drives short off-screen bands; two planes of one page-wide choreography, never two competing scrubs on one element */
/* note: the model lookup now searches by product name; its results live in one bounded scrolling panel with paged batches instead of stretching the document */

:root {
  /* colour roles — the project's own palette, gathered into named tokens */
  --brand-deep: #1c3845;
  --brand-deep-2: #2a5264;
  --brand-mist: #e8fcff;
  --paper: #fbfdfd;
  --paper-2: #f4f5f2;
  --hair: color-mix(in srgb, var(--brand-deep) 13%, transparent);
  --hair-strong: color-mix(in srgb, var(--brand-deep) 24%, transparent);
  --focus: #39717a;
  --nav-bg: color-mix(in srgb, var(--bg) 84%, transparent);
  --ink-soft: color-mix(in srgb, var(--ink) 72%, var(--paper));

  /* one radius scale, concentric by nesting level */
  --r-xl: 30px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;

  /* one shadow per surface, never stacked */
  --shadow-soft: 0 1px 2px color-mix(in srgb, var(--brand-deep) 8%, transparent);
  --shadow-lift: 0 24px 48px -30px color-mix(in srgb, var(--brand-deep) 48%, transparent);
  --shadow-deep: 0 40px 80px -44px color-mix(in srgb, var(--brand-deep) 62%, transparent);

  /* motion */
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  --z-nav: 300;
  --z-toast: 500;
}

/* ---------- floor ---------- */
html { scroll-padding-top: clamp(80px, 8vw, 108px); }
html, body { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -.022em; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
::selection { background: var(--accent); color: var(--ink); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
a:hover { opacity: 1; }
@media (min-width: 1500px) {
  .frame { padding-inline: 64px; }
}
@media (min-width: 1900px) {
  .frame { padding-inline: 96px; }
}

/* ---------- chrome: one sticky, quiet, glassy bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow var(--dur-short) var(--ease-out);
}
.topbar.is-scrolled { box-shadow: 0 1px 0 var(--hair), 0 14px 30px -28px var(--brand-deep); }
.nav-links a { transition: color var(--dur-short) var(--ease-out); }
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 9px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-short) var(--ease-out);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); width: auto; height: 2px; border-radius: 0; bottom: 9px; left: 0; }
.icon-button { border-radius: var(--r-pill); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.icon-button:hover { background: var(--surface-2); transform: translateY(-1px); }
.support-link {
  border-radius: var(--r-pill);
  padding: 12px 24px;
  background: var(--brand-deep);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
}
.support-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.support-link:active { transform: translateY(1px); }
.support-link .icon { transition: transform var(--dur-short) var(--ease-out); }
.support-link:hover .icon { transform: translate(2px, -2px); }

/* ---------- one button ---------- */
.btn,
.support-page .btn,
.detail-actions .btn,
.catalog-browse .btn,
.contact-form .btn,
.support-submit .btn {
  border-radius: var(--r-pill);
  min-height: 50px;
  padding: 12px 28px;
  background: var(--brand-deep);
  color: var(--paper);
  font-weight: 500;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out),
              background-color var(--dur-short) var(--ease-out);
}
.btn:hover,
.support-page .btn:hover,
.detail-actions .btn:hover,
.catalog-browse .btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  background: var(--brand-deep);
}
.btn:active,
.support-page .btn:active { transform: translateY(1px); }
.btn.light, .btn.secondary { border-radius: var(--r-pill); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.secondary { background: var(--surface-2); color: var(--ink); }
.btn.small { min-height: 42px; padding: 12px 20px; }
.btn [data-icon], .btn .icon { transition: transform var(--dur-short) var(--ease-out); }
.btn:hover [data-icon], .btn:hover .icon { transform: translateY(2px); }
.btn.light:hover [data-icon], .btn.light:hover .icon { transform: translateY(3px); }
.text-link { text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- hero: a staged load, one slow settle, no parallax ---------- */
.catalogue-hero { border-radius: 0; }
.hero-photo { animation: hm-hero-settle 2.2s var(--ease-out) both; }
@keyframes hm-hero-settle {
  from { transform: scale(1.095) translateY(1.4%); opacity: .45; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.hero-shade { animation: hm-shade 1.6s var(--ease-out) both; }
@keyframes hm-shade { from { opacity: .55; } to { opacity: .29; } }
.hero-content h1 { letter-spacing: -.03em; }
.hero-content h1,
.hero-content p,
.hero-content .btn { animation: hm-hero-line 1s var(--ease-out) both; }
.hero-content h1 { animation-delay: .12s; }
.hero-content p { animation-delay: .24s; }
.hero-content .btn { animation-delay: .36s; }
@keyframes hm-hero-line {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.hero-content .btn { border-radius: var(--r-pill); }
.hero-caption { animation: hm-hero-line 1s .5s var(--ease-out) both; }

/* ---------- shortcuts: a lifted, rounded dock instead of a heavy bar ---------- */
.service-shortcuts {
  max-width: calc(100% - 2 * var(--gutter));
  margin-inline: auto;
  transform: translateY(-32px);
  margin-bottom: -32px;
  position: relative;
  z-index: 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--brand-deep);
  box-shadow: var(--shadow-lift);
  animation: hm-dock 1s .32s var(--ease-out) both;
}
@keyframes hm-dock {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(-32px); }
}
.service-shortcuts a {
  position: relative;
  border-right: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  transition: background-color var(--dur-short) var(--ease-out);
}
.service-shortcuts a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--brand-mist);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-short) var(--ease-out);
}
.service-shortcuts a:hover::after,
.service-shortcuts a:focus-visible::after { transform: scaleX(1); }
.service-shortcuts a:hover, .service-shortcuts a:focus-visible { background: var(--brand-deep-2); }
.service-shortcuts a .icon,
.service-shortcuts a > span:last-child { transition: transform var(--dur-short) var(--ease-out); }
.service-shortcuts a:hover .icon { transform: scale(1.12) rotate(-4deg); }
.service-shortcuts a:hover > span:last-child { transform: translate(2px, -2px); }

/* ---------- one reveal vocabulary, used everywhere ---------- */
/* app.js adds .reveal / .in-view to heads, product cards, rows and footer items.
   Nothing is hidden at rest: the animation only plays once .in-view lands (62). */
.reveal.in-view { animation: hm-rise .8s var(--ease-out) both; }
@keyframes hm-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.catalogue-item.reveal.in-view { animation: hm-card-in .9s var(--ease-out) both; }
@keyframes hm-card-in {
  from { opacity: 0; transform: translateY(36px) scale(.965); }
  to   { opacity: 1; transform: none; }
}
/* product frames no longer animate on their own: the whole band they sit in does */
@keyframes hm-unveil {
  from { clip-path: inset(0 0 100% 0 round var(--r-lg)); }
  to   { clip-path: inset(0 0 0 0 round var(--r-lg)); }
}
/* display heads wipe up from their own baseline; a vertical wipe never clips a word mid-line */
h2.reveal.in-view, .section-head h1.reveal.in-view, .footer-top h2.reveal.in-view {
  animation-name: hm-head-in;
  animation-duration: .9s;
}
@keyframes hm-head-in {
  from { opacity: 0; transform: translateY(26px); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
/* panels that app.js does not tag: motion.js adds .hm-in, .hm-now for the first screen */
.hm-in:not(.hm-now) { animation: hm-panel-in 1s var(--ease-out) both; }
.hm-in.hm-unveil:not(.hm-now) { animation-name: hm-unveil; animation-duration: 1.1s; }
@keyframes hm-panel-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
/* stagger, set as --hm-i by motion.js for siblings in one group */
.hm-in:not(.hm-now), .reveal.in-view { animation-delay: calc(var(--hm-i, 0) * 55ms); }
.catalogue-list .catalogue-item:nth-child(1) { --hm-i: 0; }
.catalogue-list .catalogue-item:nth-child(2) { --hm-i: 1; }
.catalogue-list .catalogue-item:nth-child(3) { --hm-i: 2; }
.catalogue-list .catalogue-item:nth-child(4) { --hm-i: 3; }
.catalogue-list .catalogue-item:nth-child(5) { --hm-i: 4; }
.catalogue-list .catalogue-item:nth-child(6) { --hm-i: 5; }
.catalogue-list .catalogue-item:nth-child(7) { --hm-i: 6; }
.catalogue-list .catalogue-item:nth-child(8) { --hm-i: 7; }

/* the page's one scroll-linked family: a reading-progress hairline (nothing else scrubs) */
.hm-progress {
  position: fixed;
  inset: 0 auto 0 0;
  width: 2px;
  z-index: calc(var(--z-nav) + 1);
  pointer-events: none;
}
.hm-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-deep-2);
  opacity: .14;
  transform: scaleY(1);
}
@supports (animation-timeline: scroll(root)) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 40rem) {
    .hm-progress::after {
      opacity: .55;
      transform-origin: top;
      animation: hm-progress-grow linear both;
      animation-timeline: scroll(root);
    }
    @keyframes hm-progress-grow {
      from { transform: scaleY(0); }
      to   { transform: scaleY(1); }
    }
    /* the same root timeline, one family: the hero copy recedes as the picture takes over */
    .hero-content {
      animation: hm-hero-leave linear both;
      animation-timeline: scroll(root);
      animation-range: 0 55vh;
    }
    @keyframes hm-hero-leave {
      from { opacity: 1; transform: translateY(0); }
      to   { opacity: 0; transform: translateY(-42px); }
    }
    /* the entire first screen recedes as one plane, not a component inside it */
    .catalogue-hero {
      transform-origin: top center;
      animation: hm-hero-recede linear both;
      animation-timeline: scroll(root);
      animation-range: 0 62vh;
    }
    @keyframes hm-hero-recede {
      from { transform: scale(1); border-radius: 0; }
      to   { transform: scale(.985); border-radius: var(--r-lg); }
    }
  }
}

/* ---------- page-level choreography: whole screens, not picture tiles ---------- */
/* the page arrives as one sheet; motion.js creates this only while scripting runs */
.hm-curtain {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--paper);
  pointer-events: none;
  animation: hm-curtain-up 1.05s var(--ease-out) both;
}
@keyframes hm-curtain-up {
  0%, 12% { clip-path: inset(0 0 0 0); }
  100%    { clip-path: inset(0 0 100% 0); }
}
/* swapping a route brings in the whole view, not just the pieces inside it */
.page.active { animation: hm-page-in .72s var(--ease-out) both; }
@keyframes hm-page-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
/* short bands below the fold drift as one plane on their own view timeline.
   motion.js tags only short off-screen bands, so no first-screen element is ever
   caught mid-scrub and no long section drags one animation across the page. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 40rem) {
    [data-hm-scene] {
      animation: hm-scene linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes hm-scene {
      0%   { transform: translateY(54px) scale(.988); }
      28%  { transform: none; }
      72%  { transform: none; }
      100% { transform: translateY(-30px) scale(.992); }
    }
  }
}

/* ---------- controls: filters, search, inputs, pagers ---------- */
.catalogue-controls { align-items: center; }
.filters { gap: 8px; }
.filter,
.filters .filter {
  border-radius: var(--r-pill);
  background: var(--surface);
  padding: 12px 20px;
  color: var(--ink);
  transition: background-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out),
              transform var(--dur-micro) var(--ease-out);
}
.filter:hover:not(.active) { background: var(--surface-2); transform: translateY(-1px); }
.filter.active,
.filters .filter.active { background: var(--brand-deep); color: var(--paper); box-shadow: var(--shadow-soft); }
.filter.active span { color: var(--brand-mist); }
.filter:active { transform: translateY(1px); }
.catalogue-search, .resource-search {
  border-radius: var(--r-pill);
  background: var(--surface);
  transition: box-shadow var(--dur-short) var(--ease-out),
              background-color var(--dur-short) var(--ease-out),
              transform var(--dur-short) var(--ease-out);
}
.catalogue-search:focus-within, .resource-search:focus-within {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--focus);
  background: var(--paper);
  transform: translateY(-1px);
}
.catalogue-search input:focus-visible, .resource-search input:focus-visible { outline: 0; }
input[type="search"], input[type="text"], input[type="email"], input[type="date"], select, textarea,
.field input, .field select, .contact-form select {
  border-radius: var(--r-sm);
  transition: box-shadow var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 2px; }
.catalog-pager button {
  border-radius: var(--r-sm);
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.catalog-pager button:hover:not([disabled]) { background: var(--surface-2); transform: translateY(-1px); }
.catalog-pager button[aria-current="page"] { background: var(--brand-deep); color: var(--paper); border-radius: var(--r-sm); }
.retry-catalog {
  border: 0;
  border-radius: var(--r-pill);
  min-height: 44px;
  padding: 12px 20px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: var(--small);
  transition: transform var(--dur-micro) var(--ease-out),
              background-color var(--dur-short) var(--ease-out);
}
.retry-catalog:hover { background: var(--surface); transform: translateY(-2px); }
.retry-catalog:active { transform: translateY(1px); }

/* ---------- the product: one rounded frame, the whole product visible ---------- */
.catalogue-list { gap: 40px 24px; }
.catalogue-item { min-width: 0; }
.product-shot {
  position: relative;
  display: block;
  /* every catalogue source is a 1:1 scene shot; matching its ratio means the frame
     is the picture: no padding, no crop, no second frame, the whole product in view */
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--hair);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-long) var(--ease-out),
              box-shadow var(--dur-long) var(--ease-out);
}
/* the double frame is gone: zero padding, contain keeps every edge of the product */
.catalogue-item .product-shot img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: 50% 50%;
  mix-blend-mode: normal;
  transform: scale(1.001);
  transition: transform var(--dur-long) var(--ease-out);
}
/* no glass layer over a product picture: the hover is lift, shadow and a small scale only */
.catalogue-item:hover .product-shot,
.catalogue-item:focus-within .product-shot {
  transform: translateY(-8px);
  box-shadow: var(--shadow-deep);
}
.catalogue-item:hover .product-shot img,
.catalogue-item:focus-within .product-shot img { transform: scale(1.035); }
.catalogue-item:hover .product-shot,
.catalogue-item:focus-within .product-shot { opacity: 1; }
.product-description { padding-top: 20px; }
.product-description h3 a { transition: color var(--dur-short) var(--ease-out); }
.catalogue-item:hover .product-description h3 a { color: var(--brand-deep-2); }
.product-description .icon-button {
  background: var(--surface);
  border-radius: var(--r-pill);
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.catalogue-item:hover .product-description .icon-button { background: var(--brand-mist); transform: translate(2px, -2px); }

/* ---------- product detail: an information page, not a poster ---------- */
/* the cover is a reference, not the whole screen: a 380px rounded frame sits beside
   a narrower, denser summary, and the page itself is centred instead of stretching */
/* the site's .frame is full-bleed (frontend-layout.css sets max-width:none; margin-inline:0),
   so a fixed narrow max-width here pins the whole detail page to the left edge on wide screens.
   Stay fluid with the site, centre only past a generous cap, and let the columns breathe. */
[data-page="product-details"] .detail-page {
  width: 100%;
  max-width: 2400px;
  margin-inline: auto;
  padding-block: 24px 80px;
}
[data-page="product-details"] .back-link { margin-bottom: 24px; }
.detail-layout {
  grid-template-columns: minmax(0, clamp(320px, 26vw, 520px)) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.product-gallery { max-width: 100%; }
.detail-visual {
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: var(--r-lg);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.detail-visual img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.gallery-note { margin-top: 12px; color: var(--ink-soft); }
.detail-layout h1 {
  font-size: clamp(26px, 2.3vw, 36px);
  line-height: 1.24;
  max-width: 32ch;
  margin: 8px 0 20px;
}
/* specs and the help card share one row instead of stacking two wide empty panels */
@media (min-width: 768px) {
  .product-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .product-summary > :not(.specs):not(.product-support-box) { grid-column: 1 / -1; }
}
.product-summary .specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border-radius: var(--r-md);
  background: var(--surface);
}
.product-support-box { padding: 20px 24px; border-radius: var(--r-md); }
.detail-actions { gap: 16px; }
.store-product-link { margin-top: 16px; }
.product-information {
  margin-top: 44px;
  padding: 0 0 8px;
  background: transparent;
  border-top: 1px solid var(--hair);
}
.product-information .tabs { padding-top: 0; gap: 28px; }
/* the pill radius from the shared control recipe turned the active underline into an arc */
[data-page="product-details"] .product-information .tab { border-radius: 0; }
.product-information .tab-content { padding-top: 24px; }

/* ---------- one surface language everywhere else ---------- */
.help-band, .help-image, .help-copy, .support-rows > a, .support-scene,
.article, .block, .search-box, .detail-visual, .faq-item, .empty-state,
.document-card, .video-card, .catalog-browse, .catalog-top-pager {
  border-radius: var(--r-md);
}
.article, .support-scene, .detail-visual, .help-image, .hero-media { overflow: hidden; }
.article { box-shadow: var(--shadow-soft); transition: transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.article img, .support-scene img, .detail-visual img { transition: transform var(--dur-long) var(--ease-out); }
.article:hover img { transform: scale(1.04); }
.help-image img { transition: transform 1.2s var(--ease-out); }
.help-band:hover .help-image img { transform: scale(1.04); }
.support-rows > a {
  transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
  border-radius: var(--r-md);
}
.support-rows > a:hover { background: var(--surface); transform: translateX(4px); }
.help-copy .btn { border-radius: var(--r-pill); }
.faq-item { transition: box-shadow var(--dur-short) var(--ease-out); }
.faq-item:hover { box-shadow: var(--shadow-soft); }
.faq-q { border-radius: var(--r-sm); }
.tabs .tab { border-radius: var(--r-pill); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.back-link { border-radius: var(--r-sm); }
.footer-contact .footer-contact-link { border-radius: var(--r-md); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.footer-contact .footer-contact-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.footer-help a, .footer-contact > a:last-child { transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.footer-help a:hover { color: var(--paper); transform: translateX(3px); }
.toast { border-radius: var(--r-md); z-index: var(--z-toast); }

/* ---------- the small interaction added by motion.js ---------- */
.hm-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(18px, 3vw, 40px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: opacity var(--dur-short) var(--ease-out),
              transform var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
}
/* the resting hidden state exists only once the script is running (62) */
.js .hm-to-top { opacity: 0; transform: translateY(12px) scale(.94); pointer-events: none; }
.js .hm-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.hm-to-top:hover,
.js .hm-to-top.is-visible:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.hm-to-top:active,
.js .hm-to-top.is-visible:active { transform: translateY(1px); }

/* ---------- reduced motion and small screens ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hero-shade, .hero-content h1, .hero-content p, .hero-content .btn,
  .hero-caption, .service-shortcuts, .hm-progress::after,
  .reveal.in-view, .catalogue-item.reveal.in-view, .catalogue-item.reveal.in-view .product-shot,
  .hm-in, .service-shortcuts, .hero-content, .hm-progress::after,
  .hm-curtain, .catalogue-hero, [data-hm-scene], .page.active { animation: none !important; }
  .product-shot, .product-shot img,
  .article, .btn, .filter, .support-link, .topbar, .service-shortcuts a::after,
  .hm-to-top, .catalogue-search, .resource-search { transition-duration: 1ms !important; }
  .service-shortcuts { transform: none; margin-bottom: 0; }
  .hm-progress, .hm-curtain { display: none; }
  .catalogue-hero, [data-hm-scene] { transform: none !important; }
  .catalogue-list .catalogue-item { animation-delay: 0ms !important; }
}
@media (max-width: 767px) {
  :root { --r-xl: 24px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px; }
  .product-shot { aspect-ratio: 1 / 1; }
  .catalogue-item .product-shot img { padding: 0; }
  .hm-progress { display: none; }
  .service-shortcuts { transform: none; margin-bottom: 0; border-radius: var(--r-md); animation: hm-mobile-dock .9s .3s var(--ease-out) both; }
  @keyframes hm-mobile-dock { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .service-shortcuts a { grid-template-columns: 20px minmax(0, 1fr); font-size: 12px; line-height: 1.35; }
  .service-shortcuts a > span:last-child { display: none; }
  .hm-to-top { width: 44px; height: 44px; }

  /* the detail page leads with the product information; the cover is a small reference */
  [data-page="product-details"] .detail-page { padding-block: 16px 48px; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-gallery { max-width: 268px; margin-inline: auto; }
  .detail-visual { padding: 0; }
  .gallery-note { text-align: center; }
  .detail-layout h1 { font-size: 24px; margin: 8px 0 16px; }
  .product-summary .specs { padding: 16px; gap: 12px 16px; }
  .product-support-box { padding: 20px; }
  .product-information { margin-top: 32px; }
  .product-information .tabs { gap: 16px; }
}

/* ==================================================================
   v6 · the product-name lookup is one bounded panel
   a short term used to render every match at once and stretch the page
   by thousands of pixels; the panel now owns its own scroll and pages
   matches in small batches, and the right-hand scene keeps its own height
   ================================================================== */
[data-page="sku"] .search-panel { align-items: start; }
[data-page="sku"] .search-side { align-self: start; }

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hair);
  color: var(--brand-deep);
}
.results-head strong { font-size: 14px; font-weight: 600; }
.results-head span { font-size: 12px; color: var(--ink-soft); }

.results-scroll {
  max-height: clamp(240px, 40vh, 400px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--hair-strong) transparent;
}
.results-scroll.is-fading {
  -webkit-mask-image: linear-gradient(var(--brand-deep) 0, var(--brand-deep) calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(var(--brand-deep) 0, var(--brand-deep) calc(100% - 28px), transparent 100%);
}
.result-row {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.result-row:last-child { border-bottom: 0; }
.result-thumb {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--paper-2);
}
.result-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.result-copy { min-width: 0; }
.result-copy h3 { margin: 0; font-size: 14px; line-height: 1.45; }
.result-copy h3 a { color: var(--brand-deep); }
.result-copy h3 a:hover { color: var(--brand-deep-2); }
.result-copy p { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); }
.result-row .btn { grid-column: auto; justify-self: end; white-space: nowrap; }
.results-empty { margin: 0; font-size: 14px; color: var(--ink-soft); }
.results-foot {
  display: flex;
  justify-content: center;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--hair);
}
.results-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--brand-deep);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out);
}
.results-more:hover { background: var(--brand-mist); border-color: var(--brand-deep); }
.results-more:active { transform: translateY(1px); }

@media (max-width: 700px) {
  .result-row { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .result-thumb { width: 48px; height: 48px; }
  .result-row .btn { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .results-more { transition: none; }
  .results-more:active { transform: none; }
}
/* The hero leads directly into the product finder; service routes live in primary navigation. */
#collection{padding-top:clamp(40px,5vw,72px)}
@media(max-width:767px){#collection{padding-top:36px}.collection-heading p{line-height:1.6}}
