/* =========================================================================
   Hitech revamp 2026 - site search in the header (layouts/front.blade.php).
   Loaded on every page, so it is small and self-contained: the round search
   icon next to the header buttons (same sweep, glow and focus ring as the
   theme buttons; the magnetic pull is hitech-ui.js), and the search panel it
   opens: dark glass, its parts arrive one after another, the field unfolds
   like the site's headings and its line glows Signal blue while you type.
   Motion: hitech-search.js. Without JavaScript the icon simply opens /search.
   ========================================================================= */
@font-face {
  font-family: "Archivo";
  src: url("../../fonts/archivo/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../../fonts/archivo/archivo-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ---------- The icon: same outline, white sweep, glow and focus ring as the header buttons ---------- */
.ht-hs-action { display: inline-flex; margin-left: 16px; }
.rtl .ht-hs-action { margin-left: 0; margin-right: 16px; }
.ht-hs-trigger {
  position: relative;
  z-index: 0;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  outline: none;
  transform: translateZ(0);
  transition: color .3s cubic-bezier(.4, 0, .2, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1), scale .3s cubic-bezier(.16, 1, .3, 1);
}
.ht-hs-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s ease-out;
}
.rtl .ht-hs-trigger::before { transform-origin: 100% 50%; }
.ht-hs-trigger:hover,
.ht-hs-trigger:focus-visible,
.ht-hs-trigger[aria-expanded="true"] { color: #000; }
.ht-hs-trigger:hover::before,
.ht-hs-trigger:focus-visible::before,
.ht-hs-trigger[aria-expanded="true"]::before { transform: scaleX(1); }
@media (hover: hover) {
  .ht-hs-trigger:hover { box-shadow: 0 12px 32px -14px rgba(67, 97, 255, .55); }
}
.ht-hs-trigger:active { scale: .94; }
.ht-hs-trigger:focus-visible,
.ht-hs__close:focus-visible,
.ht-hs__go:focus-visible,
.ht-hs__chip:focus-visible { /* shows in forced colours (Windows high contrast), where box-shadows are dropped */
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.ht-hs-trigger:focus-visible { box-shadow: 0 0 0 2px #000, 0 0 0 4px #4361ff; }
.ht-hs-trigger svg { display: block; transition: scale .45s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) {
  .ht-hs-trigger:hover svg { scale: 1.12; }
}
@media (max-width: 767.98px) {
  .ht-hs-action { margin-left: 0; }
  .rtl .ht-hs-action { margin-right: 0; }
}
/* Touch screens: the same 36 px circle, but taps count over 44 px (next to the 44 px menu button).
   The extra 4 px all round are a transparent border taken back by a negative margin (the header
   does not move); the circle's edge is drawn inside it, the sweep stays clipped to the circle and
   the keyboard ring fills the border's outer half. Forced colours keep the plain border. */
@media (pointer: coarse) and (forced-colors: none) {
  .ht-hs-trigger {
    width: 44px;
    height: 44px;
    margin: -4px;
    border: 4px solid transparent;
    background-clip: padding-box;
    box-shadow: inset 0 0 0 1px #fff;
  }
  .ht-hs-trigger:focus-visible {
    outline: 2px solid #4361ff;
    outline-offset: -2px;
    box-shadow: inset 0 0 0 1px #fff;
  }
}
@media (pointer: coarse) and (forced-colors: none) and (hover: hover) {
  .ht-hs-trigger:hover { box-shadow: inset 0 0 0 1px #fff, 0 12px 32px -18px rgba(67, 97, 255, .55); }
}

/* ---------- The panel: dark glass, its contents arrive one after another ---------- */
html.ht-hs-lock { overflow: hidden; }
html.ht-hs-lock .chat__trigger-quin,
html.ht-hs-lock .js-cookie-consent,
html.ht-hs-lock .progress-wrap { visibility: hidden; } /* the theme stacks these above everything */
.ht-hs {
  position: fixed;
  inset: 0;
  z-index: 10050; /* above the theme's header, menu button and cookie notice */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(5.5rem, 16vh, 10rem) clamp(1.25rem, 5vw, 4rem) 3rem;
  background: rgba(8, 8, 12, .78);
  /* the page behind is dimmed too, so the glass stays near-black even over the white bands
     (white shows through as about rgb(34, 34, 37): every text below keeps AA contrast) */
  -webkit-backdrop-filter: blur(16px) saturate(140%) brightness(.5);
          backdrop-filter: blur(16px) saturate(140%) brightness(.5);
  color: #fff;
  font-family: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity .35s ease;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ht-hs { background: rgba(10, 10, 14, .97); }
}
.ht-hs[hidden] { display: none; }
.ht-hs.is-open { opacity: 1; }
.ht-hs::before { /* a faint light from the top, where the field is */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60rem 26rem at 50% 0%, rgba(255, 255, 255, .06), transparent 70%);
  pointer-events: none;
}
.ht-hs__inner {
  position: relative;
  width: min(100%, 980px);
}

/* entrance: each part rises in turn (only the open state carries the delays, so closing is quick) */
.ht-hs__title,
.ht-hs__form,
.ht-hs__label,
.ht-hs__hint {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .25s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.ht-hs.is-open .ht-hs__title,
.ht-hs.is-open .ht-hs__form,
.ht-hs.is-open .ht-hs__label,
.ht-hs.is-open .ht-hs__hint {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .9s cubic-bezier(.16, 1, .3, 1);
}
.ht-hs.is-open .ht-hs__title { transition-delay: 60ms; }
.ht-hs.is-open .ht-hs__form { transition-delay: 120ms; }
.ht-hs.is-open .ht-hs__label { transition-delay: 240ms; }
.ht-hs.is-open .ht-hs__hint { transition-delay: 520ms; }

.ht-hs__title {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 clamp(1.25rem, 3vh, 2rem);
  color: #a7acb6;
  font: 600 .9375rem/1.3 "Archivo", system-ui, sans-serif;
  font-stretch: 112%;
}
.ht-hs__title::before { /* the kicker rule draws in */
  content: "";
  flex: none;
  width: 2.25rem;
  height: 1px;
  background: rgba(255, 255, 255, .3);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s ease;
}
.rtl .ht-hs__title::before { transform-origin: 100% 50%; }
.ht-hs.is-open .ht-hs__title::before { transform: scaleX(1); transition: transform .9s cubic-bezier(.16, 1, .3, 1) 210ms; }

.ht-hs__close {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  outline: none;
  opacity: 0;
  transform: rotate(-90deg) scale(.7);
  transition: opacity .25s ease, background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .45s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1);
}
.ht-hs.is-open .ht-hs__close {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease 150ms, background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .45s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1) 150ms;
}
.rtl .ht-hs__close { right: auto; left: 32px; }
.ht-hs__close span {
  grid-area: 1 / 1;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.ht-hs__close span + span { transform: rotate(-45deg); }
.ht-hs.is-open .ht-hs__close:hover,
.ht-hs.is-open .ht-hs__close:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #000;
  transform: rotate(90deg);
  transition-delay: 0s;
}
@media (hover: hover) {
  .ht-hs.is-open .ht-hs__close:hover { box-shadow: 0 12px 32px -14px rgba(67, 97, 255, .55); }
}
.ht-hs.is-open .ht-hs__close:focus-visible { box-shadow: 0 0 0 2px #000, 0 0 0 4px #4361ff; }

.ht-hs__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding-bottom: .9rem;
}
.ht-hs__form::after,
.ht-hs__form::before { /* the line under the field; the bright one draws in when the panel opens */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .25);
}
.ht-hs__form::before {
  z-index: 1;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1) .25s, background-color .3s ease, box-shadow .45s ease;
}
.rtl .ht-hs__form::before { transform-origin: 100% 50%; }
.ht-hs.is-open .ht-hs__form::before { transform: scaleX(1); }
.ht-hs__form:focus-within::before { /* Signal: this is where you act */
  background: #4361ff;
  box-shadow: 0 0 18px rgba(67, 97, 255, .7), 0 0 2px rgba(67, 97, 255, .9);
}
.ht-hs .ht-hs__input {
  flex: 1 1 auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: .2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  caret-color: #4361ff;
  font: 700 clamp(1.875rem, 1.1rem + 3.6vw, 4.25rem)/1.12 "Archivo", system-ui, sans-serif;
  font-stretch: 84%;
  letter-spacing: -.03em;
  outline: none;
  -webkit-appearance: none;
          appearance: none;
  transition: font-stretch .3s ease;
}
.ht-hs.is-open .ht-hs__input { /* unfolds like the site's headings */
  font-stretch: 112%;
  transition: font-stretch 1.2s cubic-bezier(.16, 1, .3, 1) 140ms;
}
.ht-hs__input::placeholder { color: rgba(255, 255, 255, .4); opacity: 1; transition: color .4s ease; } /* >= 3:1 (large text) */
.ht-hs__input:focus::placeholder { color: rgba(255, 255, 255, .46); }
.ht-hs__input::-webkit-search-cancel-button { display: none; }
.ht-hs__go {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(52px, 5vw, 64px);
  height: clamp(52px, 5vw, 64px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  cursor: pointer;
  outline: none;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s ease, transform .4s cubic-bezier(.16, 1, .3, 1), background-color .3s ease, color .3s ease, box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}
.ht-hs.is-open .ht-hs__go {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease 300ms, transform .9s cubic-bezier(.16, 1, .3, 1) 300ms, background-color .3s ease, color .3s ease, box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}
.ht-hs__go svg { width: 18px; height: auto; fill: currentColor; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.ht-hs__go:hover,
.ht-hs__go:focus-visible { background: #4361ff; color: #fff; }
@media (hover: hover) {
  .ht-hs__go:hover { box-shadow: 0 0 0 1px rgba(67, 97, 255, .5), 0 14px 38px -12px rgba(67, 97, 255, .75); }
}
.ht-hs__go:hover svg,
.ht-hs__go:focus-visible svg { transform: translateX(4px); }
.ht-hs.is-open .ht-hs__go:active { transform: scale(.94); transition-delay: 0s; }
.ht-hs__form.is-ready .ht-hs__go { /* the words are long enough: ready to search */
  background: #4361ff;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(67, 97, 255, .5), 0 14px 38px -12px rgba(67, 97, 255, .75);
}
.ht-hs__form.is-ready .ht-hs__go:focus-visible { box-shadow: 0 0 0 2px #000, 0 0 0 4px #4361ff, 0 14px 38px -12px rgba(67, 97, 255, .75); }
.ht-hs__go:focus-visible { box-shadow: 0 0 0 2px #000, 0 0 0 4px #4361ff; }

.ht-hs__topics { margin-top: clamp(2rem, 5vh, 3.25rem); }
.ht-hs__label {
  margin: 0 0 1rem;
  color: #a7acb6;
  font: 600 .875rem/1.3 "Archivo", system-ui, sans-serif;
  font-stretch: 112%;
}
.ht-hs__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ht-hs__chips li {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity .2s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.ht-hs.is-open .ht-hs__chips li {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(300ms + var(--i, 0) * 45ms);
}
/* topics: outline pills with the white sweep, like the theme buttons */
.ht-hs__chip {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #fff;
  font: 600 .9375rem/1.25 "Archivo", system-ui, sans-serif;
  font-stretch: 112%;
  text-decoration: none;
  outline: none;
  transform: translateZ(0);
  transition: border-color .3s ease, color .3s ease, box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}
.ht-hs__chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s ease-out;
}
.rtl .ht-hs__chip::before { transform-origin: 100% 50%; }
.ht-hs__chip:hover,
.ht-hs__chip:focus-visible { border-color: #fff; color: #000; text-decoration: none; }
.ht-hs__chip:hover::before,
.ht-hs__chip:focus-visible::before { transform: scaleX(1); }
@media (hover: hover) {
  .ht-hs__chip:hover { box-shadow: 0 12px 32px -14px rgba(67, 97, 255, .55); }
}
.ht-hs__chip:focus-visible { box-shadow: 0 0 0 2px #000, 0 0 0 4px #4361ff; }
.ht-hs__hint { margin: 1.5rem 0 0; color: #8f949e; font: 500 .8125rem/1.4 "Archivo", system-ui, sans-serif; } /* AA on the glass, also over a white band */
.ht-hs__hint kbd {
  display: inline-block;
  min-width: 1.7em;
  margin: 0 .15em;
  padding: .12em .45em .1em;
  border: 1px solid rgba(255, 255, 255, .22);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: #c9ccd3;
  font: inherit;
  font-weight: 600;
  text-align: center;
  box-shadow: none;
}
@media (hover: none) { .ht-hs__hint { display: none; } } /* keyboard shortcuts: computers only */
/* Windows high contrast (forced colours): the close X is drawn with two bars' backgrounds, which
   the system would paint in the page colour (an empty circle): they keep the text colour. */
@media (forced-colors: active) {
  .ht-hs__close span {
    forced-color-adjust: none;
    background-color: CanvasText;
  }
}
@media (max-width: 575.98px) {
  .ht-hs__close { top: 14px; right: 14px; }
  .rtl .ht-hs__close { left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ht-hs,
  .ht-hs__title,
  .ht-hs__title::before,
  .ht-hs__form,
  .ht-hs__form::before,
  .ht-hs__label,
  .ht-hs__hint,
  .ht-hs__chips li,
  .ht-hs__close,
  .ht-hs__go,
  .ht-hs__input,
  .ht-hs__chip::before,
  .ht-hs-trigger,
  .ht-hs-trigger::before,
  .ht-hs-trigger svg { transition: none !important; }
  .ht-hs__title,
  .ht-hs__form,
  .ht-hs__label,
  .ht-hs__hint,
  .ht-hs__chips li,
  .ht-hs__close,
  .ht-hs__go { transform: none !important; }
  .ht-hs__title,
  .ht-hs__form,
  .ht-hs__label,
  .ht-hs__hint,
  .ht-hs__chips li,
  .ht-hs__close,
  .ht-hs__go { opacity: 1; }
  .ht-hs__title::before { transform: none; }
  .ht-hs .ht-hs__input { font-stretch: 112%; }
  .ht-hs-trigger:active,
  .ht-hs-trigger:hover svg { scale: none; }
}
@media print {
  .ht-hs,
  .ht-hs-action { display: none !important; }
}
