@font-face {
  font-family: Sora; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/assets/vendor/fonts/sora.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/vendor/fonts/space-grotesk.woff2") format("woff2");
}
:focus-visible { outline: 3px solid #9a232a; outline-offset: 3px; }
[hidden] { display: none !important; }
.ysl-wrap[data-state="collapsed"] .ysl-card { visibility: hidden; }
.ysl-wrap[data-state="open"] .ysl-card { visibility: visible; }
.ysl-wrap[data-state="open"] .ysl-fab { visibility: hidden; }
.inquiry-status { min-height: 1.5em; margin-top: .65rem; overflow-wrap: anywhere; }
.inquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
form[data-inquiry] :disabled { cursor: wait; }
.company-film { width: min(58rem, 92vw); max-height: 92dvh; margin: auto; padding: 1rem; color: white; background: #171717; border: 0; border-radius: 12px; }
.company-film::backdrop { background: rgb(0 0 0 / 75%); }
.company-film video { display: block; width: 100%; max-height: 72dvh; }
.company-film button { display: block; margin: 0 0 .6rem auto; padding: .5rem 1rem; cursor: pointer; }
.ys-language-list { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; padding:1rem; justify-content:center; }
.ys-language-list a { text-decoration:underline; }
.preview-example { padding: .7rem 0; line-height: 1.6; }
:where(img[width][height]) { height: auto; max-width: 100%; }
.mobile-nav.open { max-height: calc(100dvh - 65px); overflow-y: auto; overscroll-behavior: contain; }
label[for], .dl-card[href] { cursor: pointer; }
@media (max-width: 700px) {
  .hero { min-height: auto; padding: 6rem 0 3rem; }
  .hero .wrap { min-width: 0; width: 100%; }
  .hero .bgimg::after { background: linear-gradient(90deg, rgb(255 255 255 / 96%), rgb(255 255 255 / 72%)); }
  .hero .htextwrap { min-height: 0; }
  .hero .htext { display:none; }
  .hero .htext.on { display:block; position:relative; }
  .hero .htext :is(h1,h2) { font-size:clamp(2rem,8vw,3rem); overflow-wrap:break-word; }
  .hero .pnet, .hero .spot, .hero .ring { display:none; }
  .ysoc-rail { display:none; }
  .menu-btn, .ysl-x, .ysl-fab { min-inline-size: 44px; min-block-size: 44px; }
  .wrap { min-width: 0; }
  .frow { grid-template-columns: minmax(0,1fr); }
  .fpanel, .fgroup, .formwrap > *, .ahero .wrap > * { min-width: 0; }
  form[data-inquiry] :is(input:not([type=hidden]), textarea, select) { max-width: 100%; font-size: 1rem; }
  .hero .btn-neon, .hero .btn-ghost { white-space: normal; }
  .fab .bubble:not(.show) { visibility:hidden; }
  .spec-table, .table-responsive { max-width: 100%; overflow-x:auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
@media print {
  .ysl-wrap, .ysoc-rail, .fab, #yc-bubble, #yc-box { display:none !important; }
}


.table-scroll { max-width:100%; min-width:0; overflow-x:auto; }
.legacy-main .cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.25rem;
}
.cat-grid .cat-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.table-scroll:focus-visible { outline-offset:-2px; }
#lb button { border:0; background-color:transparent; color:inherit; font:inherit; cursor:pointer; }
@media (max-width: 760px) {
  .responsive-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%, 15rem),1fr)) !important; }
  .responsive-grid > *, .layers > * { min-width:0; overflow-wrap:anywhere; }
  .track-label { flex-wrap:wrap; row-gap:.45rem; }
  .track-label .tl-tag { max-width:100%; white-space:normal; }
}

/* Show the first screen immediately, even before intersection observers run. */
.hero > .wrap > .rv, .ahero, .ahero .rv { opacity:1 !important; transform:none !important; }
@media (prefers-reduced-motion: reduce) {
  .rv, .scanreveal { opacity:1 !important; transform:none !important; transition-delay:0s !important; }
}
