/* TICON — UI for the natively-reimplemented interactions (menu, lightbox, marquee,
   cookie banner, animations). Closed/at-rest states stay pixel-identical to the original. */

/* Responsive safety: never allow sideways scrolling on small screens. `clip` (not
   `hidden`) does not create a scroll container, so position:sticky/fixed keep working. */
.con-kit-site { overflow-x: clip; }
@media (max-width: 1100px) {
  .con-kit-atom-menu-v2 { max-width: 100%; }
}

/* Mobile header (match live): hide OnePage's nav + the oversized CTA, show a clean blue
   burger (logo left, burger right). Toggled by JS via the .ticon-mobile-hdr class. */
.ticon-mobile-hdr [data-atom="link-group"],
.ticon-mobile-hdr [data-atom="menu-v2"] { display: none !important; }
.ticon-mobile-hdr { position: relative; }
.ticon-burger { display: block; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 50; }
.ticon-burger__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: var(--color-kit-key1, #0080ff);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 128, 255, 0.4);
}
.ticon-burger__btn span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.ticon-burger.open .ticon-burger__btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ticon-burger.open .ticon-burger__btn span:nth-child(2) { opacity: 0; }
.ticon-burger.open .ticon-burger__btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ticon-burger__panel {
  display: none; position: absolute; right: 0; top: calc(100% + 12px);
  min-width: 230px; max-width: calc(100vw - 24px); padding: 8px;
  background: var(--color-kit-white, #fff); border-radius: 12px; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}
.ticon-burger.open .ticon-burger__panel { display: block; }
.ticon-burger__panel a {
  display: block; padding: 12px 14px; border-radius: 8px;
  color: var(--color-kit-dark, #070707); text-decoration: none;
  font: 600 15px/1.25 'Montserrat', system-ui, sans-serif; white-space: nowrap;
}
.ticon-burger__panel a:hover { background: rgba(0, 0, 0, 0.06); }


/* Hide animated sections' content from first paint until site.js arms the reveal,
   so entrance animations (incl. the hero) play without a flash. Removed by JS / failsafe. */
html.ticon-pre [data-kit-animation] .con-kit-animation__atom,
html.ticon-pre [data-kit-animation] .con-kit-animation__grid_item {
  opacity: 0 !important;
}

/* ---- Header overflow menu ("…" / mobile) ---- */
.con-kit-component-menu-v2-more { position: relative; }
.con-kit-component-menu-v2-more > ul { display: none; }
.con-kit-component-menu-v2-more.ticon-open > ul {
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 2000;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--color-kit-white, #fff);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}
.con-kit-component-menu-v2-more.ticon-open > ul > li.con-kit-atom-menu-v2-item--collapsed,
.con-kit-component-menu-v2-more.ticon-open > ul > li.ticon-more-item {
  visibility: visible !important;
  position: static !important;
  height: auto !important;
  display: block;
  margin: 0;
}
.con-kit-component-menu-v2-more.ticon-open > ul .con-kit-atom-menu-v2-item-inside--collapsed { display: flex; }
/* rebuilt (mobile-folded) nav items */
.ticon-more-item a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--color-kit-dark, #070707);
  text-decoration: none;
  font: 600 15px/1.25 'Montserrat', system-ui, sans-serif;
  white-space: nowrap;
}
.ticon-more-item a:hover { background: rgba(0, 0, 0, 0.06); }

/* ---- Marquee (continuous horizontal scroll) ---- */
@keyframes ticon-marquee-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.con-kit-component-marquee__content.ticon-marquee-run {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: ticon-marquee-x var(--ticon-marquee-dur, 40s) linear infinite;
  will-change: transform;
}
.con-kit-component-marquee--pause-on-hover:hover .con-kit-component-marquee__content.ticon-marquee-run { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .con-kit-component-marquee__content.ticon-marquee-run { animation: none; } }

/* ---- Image lightbox ---- */
.ticon-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center;
  background: rgba(7, 7, 7, 0.92); padding: 4vmin;
  opacity: 0; transition: opacity .2s ease;
}
.ticon-lightbox.open { display: flex; opacity: 1; }
.ticon-lightbox .ticon-lb-img {
  max-width: 92vw; max-height: 90vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
}
.ticon-lightbox button {
  position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff;
  border: 0; cursor: pointer; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; line-height: 1;
  transition: background .15s ease;
}
.ticon-lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.ticon-lightbox .ticon-lb-close { top: 3vmin; right: 3vmin; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; }
.ticon-lightbox .ticon-lb-prev, .ticon-lightbox .ticon-lb-next { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; font-size: 36px; }
.ticon-lightbox .ticon-lb-prev { left: 2vmin; } .ticon-lightbox .ticon-lb-next { right: 2vmin; }
@media (max-width: 640px) { .ticon-lightbox .ticon-lb-prev, .ticon-lightbox .ticon-lb-next { width: 44px; height: 44px; font-size: 28px; } }

/* ---- Cookie consent banner ---- */
.ticon-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99998;
  display: flex; justify-content: center; padding: 16px;
  transform: translateY(120%); transition: transform .35s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
}
.ticon-cookie.is-in { transform: translateY(0); }
.ticon-cookie__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  max-width: 1100px; width: 100%;
  background: #0b0b0c; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px;
  padding: 18px 22px; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  font-family: 'Montserrat', system-ui, sans-serif;
}
.ticon-cookie__text { flex: 1 1 320px; min-width: 280px; }
.ticon-cookie__text strong { font-size: 15px; }
.ticon-cookie__text p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.ticon-cookie__text a { color: var(--color-kit-light, #249cff); text-decoration: underline; }
.ticon-cookie__btns { display: flex; gap: 10px; flex: 0 0 auto; }
.ticon-cookie__btn {
  font: 600 13px/1 'Montserrat', system-ui, sans-serif; cursor: pointer;
  padding: 12px 18px; border-radius: 8px; border: 1px solid transparent; white-space: nowrap;
  transition: transform .1s ease, background .15s ease, border-color .15s ease;
}
.ticon-cookie__btn:active { transform: translateY(1px); }
.ticon-cookie__btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.ticon-cookie__btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.ticon-cookie__btn--solid { background: var(--color-kit-key1, #0080ff); color: #fff; }
.ticon-cookie__btn--solid:hover { background: var(--color-kit-light, #249cff); }
@media (max-width: 640px) { .ticon-cookie__inner { padding: 16px; } .ticon-cookie__btns { width: 100%; } .ticon-cookie__btn { flex: 1; text-align: center; } }
