
/* cookies style */
.cookie-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: #1e1e1e;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
  z-index: 9999;
}

.cookie-box p {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.btn {
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-size: 13px;
}

.reject {
  background: #444;
  color: #fff;
}

.accept {
  background: #fff;
  color: #000;
  font-weight: bold;
}

.cookie-link {
  font-size: 12px;
  color: #aaa;
  text-decoration: underline;
}
/* end cookies style */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* 50% black */
}
@media (max-width: 768px) {
  .scene .reveal {
    grid-template-columns: 1fr !important;
  }
}
.table-wrap {
  width: 100%;
}

@media (max-width: 768px) {
  .table-wrap {
    overflow-x: auto;
    padding: 0 16px; /* spacing so last column isn’t cut */
  }

  .cmp {
    min-width: 600px; /* forces horizontal scroll only on mobile */
  }
}
.cards-scroll {
  width: 100%;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  margin-bottom: 32px;
}

.cards-grid .fc {
  max-width: 100%;
  padding: 22px;
}

@media (max-width: 768px) {
  .cards-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px;
  }

  .cards-grid {
    display: flex;
    gap: 16px;
    min-width: max-content;
  }

  .cards-grid .fc {
    min-width: 240px;
    flex: 0 0 auto;
  }
}
.radios-label input {
    width: 20%;
    height: 20px;
}
#preloader {
  position: fixed;
  inset: 0;
  background: #0b0f0e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.logo-loader {
  /* Canonical Tom Projects brand mark from BrandKit (512×512 square PNG).
     Explicit dims — never "auto" — eliminate any intrinsic-sizing race.
     Breathing animation preserved (logoIntro on entry, logoBreath on loop). */
  width: 96px !important;
  height: 96px !important;
  max-width: 96px;
  max-height: 96px;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.85);
  filter: blur(10px);
  animation:
    logoIntro 2.2s ease forwards,
    logoBreath 4.5s ease-in-out 2.2s infinite;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

@keyframes logoIntro {
  0%   { opacity: 0; transform: scale(0.85); filter: blur(12px); }
  40%  { opacity: 1; filter: blur(6px); }
  70%  { transform: scale(1.05); filter: blur(2px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0px); }
}

@keyframes logoBreath {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* legacy spinner — retained harmlessly */
.loader {
  width: 40px;
  height: 40px;
  border: 3px solid #c1cf30;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
.subnav-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;

  /* optional cleaner mobile look */
  scrollbar-width: none;
}

.subnav-row::-webkit-scrollbar {
  display: none;
}
