/* =========================================================================
   estore.oasismena - brand tokens, typography and components.

   Tailwind (CDN play script) handles layout utilities. This file owns the
   brand palette, type scale and component classes. The semantic classes
   (.text-accent, .bg-surface, ...) are generated by the @each loops below -
   they are NOT Tailwind, so to add a brand colour edit $colors here.

   Values come from the Figma file (estore.oasismena, Home #215:6345).
   Compile after every edit:
     sass assets/scss/style.scss assets/scss/style.css
   ====================================================================== */
/* --- Palette ---------------------------------------------------------- */
/* Read from the Figma file itself (GET /v1/files), not eyeballed. Fill counts
   across the Home frame: #989A9F x68, #FFFFFF x64, #133578 x35, #0A0A0A x5,
   #0F0F0F x4. $accent is the Sign-in button, the hero button and the outlined
   "AUDIO" stroke. #2563EB appears only as a 10% glow, never as a solid. */
/* A second, brighter blue. It is NOT only a glow: the vision/mission/values
   icons stroke with it at full opacity and their tiles fill with it at 10%.
   An earlier census missed it because it appears as a stroke, not a fill. */
.text-ink {
  color: #0a0a0a; }

.bg-ink {
  background-color: #0a0a0a; }

.border-ink {
  border-color: #0a0a0a; }

.text-panel {
  color: #0f0f0f; }

.bg-panel {
  background-color: #0f0f0f; }

.border-panel {
  border-color: #0f0f0f; }

.text-surface {
  color: #161616; }

.bg-surface {
  background-color: #161616; }

.border-surface {
  border-color: #161616; }

.text-accent {
  color: #133578; }

.bg-accent {
  background-color: #133578; }

.border-accent {
  border-color: #133578; }

.text-white {
  color: #ffffff; }

.bg-white {
  background-color: #ffffff; }

.border-white {
  border-color: #ffffff; }

.text-muted {
  color: #989a9f; }

.bg-muted {
  background-color: #989a9f; }

.border-muted {
  border-color: #989a9f; }

.text-faint {
  color: #6b7280; }

.bg-faint {
  background-color: #6b7280; }

.border-faint {
  border-color: #6b7280; }

/* --- Layout metrics (Figma: 1440 frame / 1240 content / 100 gutter) ---- */
:root {
  --container: 1240px;
  --gutter: 100px;
  --radius: 10px;
  --radius-lg: 24px;
  --header-h: 80px; }

/* --- Base ------------------------------------------------------------- */
html {
  scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto; } }

html,
body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased; }

body {
  overflow-x: hidden; }

a {
  text-decoration: none;
  color: inherit; }

img {
  max-width: 100%;
  height: auto; }

/* --- Container -------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px; }
  @media (min-width: 1440px) {
    .shell {
      padding-inline: 0; } }

/* Product rows inside an Explore Categories card. The tint bleeds 12px past
   the row so the hover reads as a full-width band without the row resizing,
   and the label and arrow travel towards the link. */
.cat-list__link {
  position: relative;
  transition: color 0.25s ease; }
  .cat-list__link::before {
    content: "";
    position: absolute;
    inset: 0 -12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none; }
  .cat-list__link:hover::before, .cat-list__link:focus-visible::before {
    opacity: 1; }
  .cat-list__link .cat-list__text,
  .cat-list__link svg {
    transition: transform 0.25s ease, color 0.25s ease; }
  .cat-list__link:hover .cat-list__text, .cat-list__link:focus-visible .cat-list__text {
    transform: translateX(6px); }
  .cat-list__link:hover svg, .cat-list__link:focus-visible svg {
    transform: translateX(3px); }

/* Hover motion is decoration; honour the OS setting. */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn > svg,
  .btn > span,
  .cat-list__link .cat-list__text,
  .cat-list__link svg {
    transition: none; }

  .btn:hover,
  .btn:hover > svg,
  .btn:hover > span,
  .cat-list__link:hover .cat-list__text,
  .cat-list__link:hover svg {
    transform: none; } }
/* --- Type scale ------------------------------------------------------- */
/* Sizes and line-heights are the Figma values, not approximations:
   hero 80/110, accent word 70/110, section headings 60/76, category titles
   30/38, card titles 20/28, body 14/23, eyebrows 10/15. */
.display-hero {
  font-size: clamp(2.75rem, 1.5rem + 5.6vw, 5rem);
  line-height: 1.375;
  letter-spacing: -0.02em;
  font-weight: 700; }

/* The detail hero prints a whole category name ("Broadcast & AV Production
   Systems"), not Figma's two-word "Professional Lighting", so 80px is
   oversized here. The wrap is left alone - only the type is stepped down. */
.display-hero--sm {
  font-size: clamp(2.125rem, 1.2rem + 4.5vw, 4rem);
  line-height: 1.3; }

.display {
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 3.75rem);
  line-height: 1.27;
  letter-spacing: -0.02em;
  font-weight: 700; }

.section-heading {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 1.875rem);
  line-height: 1.27;
  letter-spacing: -0.01em;
  font-weight: 700; }

.lede {
  font-size: 0.875rem;
  line-height: 1.64;
  color: #989a9f; }

/* 10px/500, ~0.35px tracking - used above every section heading. */
.eyebrow-text {
  font-size: 0.625rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #989a9f; }

/* --- Components ------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #989a9f; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  /* The icon travels with the button. This is the only motion a button has -
     it animates on hover rather than on page load. */
  /* The ghost button's arrow points right, the primary's points up-right. */ }
  .btn > svg,
  .btn > span {
    transition: transform 0.25s ease; }
  .btn:hover {
    transform: translateY(-2px); }
  .btn:hover > svg {
    transform: translateX(4px); }
  .btn:hover > span {
    transform: translate(2px, -2px); }
  .btn:active {
    transform: translateY(0); }
  .btn--primary {
    background-color: #133578;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.35); }
    .btn--primary:hover {
      background-color: #1b4699;
      box-shadow: 0 8px 28px rgba(37, 99, 235, 0.55); }
  .btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff; }
    .btn--ghost:hover {
      background-color: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.24); }

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 0.25s ease; }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.25s ease; }

.card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: background-color 0.3s ease; }
  .card:hover {
    background-color: rgba(255, 255, 255, 0.08); }

/* Product card, 397x409 in the file.
   White 395x249 image panel, then title / subtitle / a 349x38 button. */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden; }
  .product-card__media {
    position: relative;
    display: block;
    height: 249px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .product-card__media img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 35px 35px 44px; }
  .product-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; }
  .product-card__cta {
    margin-top: 24px; }

/* Category chip on the white panel: 24px tall, radius 12, 0.8px navy outline
   and a navy 9/600 label. Two of the three in the file carry no fill, so the
   pill reads as an outline on white. */
.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 0.8px solid #133578;
  color: #133578;
  font-size: 0.5625rem;
  font-weight: 600;
  line-height: 14px;
  white-space: nowrap; }

/* Category select: 159x40, radius 10, white @ 5% on a white @ 10% hairline. */
.cat-select {
  appearance: none;
  width: 170px;
  height: 40px;
  padding: 0 38px 0 13px;
  text-overflow: ellipsis;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.875' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1L6 7L11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px 8px;
  background-position: right 13px center; }
  .cat-select option {
    background-color: #161616;
    color: #ffffff; }
  .cat-select:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px; }

/* Quote button: 38px tall, radius 12, white @ 5% - no border in the file. */
.btn-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 100%;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background-color 0.25s ease; }
  .btn-quote:hover {
    background-color: rgba(255, 255, 255, 0.12); }

/* The ghosted 01 / 02 / 03 in the vision-mission-values columns.
   60px/700 in the file, right-aligned within each column. */
.ghost-number {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.07;
  color: rgba(255, 255, 255, 0.06);
  user-select: none; }

/* Outlined display word in a hero ("AUDIO", "PRODUCTS").

   Figma strokes these with strokeAlign: OUTSIDE at 2px. Neither
   -webkit-text-stroke nor a plain SVG stroke can do that - both centre the
   stroke, so half of it lands inside the glyph. In a tight concave corner
   (the crook of an R) the two halves meet and fill in, leaving a wedge.

   So stroke at double width and mask the glyph interior away, which leaves
   exactly the outer half. See template-parts/outlined-word.php. */
.outlined-svg {
  display: block;
  width: 100%;
  height: 1em;
  overflow: visible; }
  .outlined-svg text {
    font-family: inherit;
    font-weight: inherit;
    font-size: 0.875em;
    text-transform: uppercase;
    fill: none;
    stroke: #133578;
    stroke-width: 4;
    stroke-linejoin: round; }
  .outlined-svg mask text {
    fill: #000;
    stroke: none; }

/* Blurred colour washes. Figma LAYER_BLUR radius maps to CSS blur(radius / 2)
   - verified against node 215:6704, which the Figma API itself reports as
   blur(100px) for radius 200. Every glow on the page is listed here.

   Default = the hero wash: 500px, radius 240, #133578 @ 8% (node 215:6383). */
/* A glow is a fixed-size blurred circle - 500-520px, wider than a phone - so
   on a narrow screen it pushes the document past the viewport and the page
   lays out with a dead strip down the right. Most bands already clip it; the
   rule below makes every band that holds one do so. `clip` rather than
   `hidden` because these bands also carry AOS's vertical travel, which
   `hidden` would cut off, and `clip` creates no scroll container. */
:has(> .glow) {
  overflow-x: clip; }

.glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 999px;
  background-color: rgba(19, 53, 120, 0.08);
  filter: blur(120px);
  pointer-events: none;
  /* Deal band: 384px, radius 200, #133578 @ 10% (node 215:6704). */
  /* Management band: 520px lime circle, radius 230 (node 215:6775). */
  /* White halo behind the deal band's product shot: a 296x411 rectangle,
     radius 124, #FFFFFF @ 32% (node 215:6728). Not a circle. */ }
  .glow--deal {
    width: 384px;
    height: 384px;
    background-color: rgba(19, 53, 120, 0.1);
    filter: blur(100px); }
  .glow--team {
    width: 520px;
    height: 520px;
    background-color: rgba(202, 217, 41, 0.1);
    filter: blur(115px); }
  .glow--halo {
    width: 296px;
    height: 411px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.32);
    filter: blur(62px); }

/* Edge-to-edge scrolling logo strip (Figma "Marquee", 53.6px tall). */
.marquee {
  background-color: #161616;
  border-block: 0.8px solid rgba(255, 255, 255, 0.06);
  padding-block: 16px;
  overflow: hidden; }
  .marquee__track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: marquee 32s linear infinite; }
  .marquee:hover .marquee__track {
    animation-play-state: paused; }

@keyframes marquee {
  from {
    transform: translateX(0); }
  to {
    transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none; }

  .btn:hover {
    transform: none; } }
/* The swiper and its slides must carry the hero's min-height, or the slide is
   only as tall as the copy (496px) and the absolutely-positioned photo sizes
   to that instead of the 667px hero - object-fit: cover then crops the top
   and bottom off the image. */
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  min-height: inherit; }

/* The copy block starts at a measured offset from the hero top rather than
   being centred or bottom-aligned: home 54px, products 155px, detail 145px. */
.hero-copy {
  padding-block: 56px; }
  @media (min-width: 1024px) {
    .hero-copy {
      padding-top: var(--hero-pt, 54px);
      padding-bottom: 0; } }

/* Hero photo + scrim. Every page frames its photo differently and fades it at
   a different point, so the four numbers are custom properties the template
   sets per page rather than one shared gradient:

     page      left    width   opaque to   clear by
     home      39.6%   69.4%   39.6%       81.5%
     products  26.7%   82.4%   31.1%       55.9%
     detail    30.5%   69.5%   30.5%       65.3%

   Using home's values everywhere over-darkens the other two. */
.hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  left: var(--hero-left, 39.6%);
  width: var(--hero-width, 69.4%);
  object-fit: cover;
  object-position: center; }
  @media (max-width: 1023px) {
    .hero-media {
      left: 0;
      width: 100%; } }

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0a0a0a 0%, #0a0a0a var(--hero-opaque, 39.6%), transparent var(--hero-clear, 81.5%)); }

/* The 131px band that melts the photo into the page (Figma 215:6385). */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 131px;
  background: linear-gradient(to bottom, transparent, #0a0a0a); }

/* --- Header ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent; }
  .site-header.is-stuck {
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(24px);
    border-bottom-color: rgba(255, 255, 255, 0.06); }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  background-color: #161616;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 60; }
  .drawer.is-open {
    transform: translateX(0); }

/* Vision / mission / values tile: 44x44, radius 12, #2563EB at 10% with a
   0.8px #2563EB stroke at 20%; the icon strokes #2563EB at full opacity. */
/* The IMS policy and the ISO certificate are white documents dropped onto the
   dark page, so they get the card radius and a hairline to sit on rather than
   appearing to float. */
.company-doc {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #ffffff; }

.pillar-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background-color: rgba(37, 99, 235, 0.1);
  border: 0.8px solid rgba(37, 99, 235, 0.2);
  color: #2563eb; }
  .pillar-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.375; }

/* Management portraits. Figma masks each photo with a 200px circle
   (Ellipse 2, isMask) and lays a grey gradient behind it (Ellipse 3,
   #69696B -> #5E6060). The backdrop matters because some portraits are
   transparent cut-outs - without it they'd float on the page background. */
.team-photo {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, #69696b 0%, #5e6060 100%); }
  .team-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%; }
  @media (max-width: 640px) {
    .team-photo {
      width: 150px;
      height: 150px; } }

/* The thumbnail currently shown in the main panel. Previously this was a pair
   of Tailwind ring utilities toggled from JS; it lives here so the selected
   state is styled in one place whether the row is a grid or a slider. */
.gallery-thumb {
  transition: box-shadow 0.25s ease, transform 0.25s ease; }
  .gallery-thumb:hover {
    transform: translateY(-2px); }
  .gallery-thumb.is-active {
    box-shadow: 0 0 0 2px #2563eb; }

/* 404. The category links are only used on that page, so they live here
   rather than being folded into the chip component. */
.notfound-chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #989a9f;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease; }
  .notfound-chip:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.24);
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px); }

/* Product gallery slider - shown only when a product has more than three
   images. Swiper's default arrows are replaced so they match the site. */
.gallery-swiper {
  position: relative;
  overflow: hidden; }
  .gallery-swiper .swiper-slide {
    height: auto; }

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  margin-top: 0;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background-color: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease; }
  .gallery-nav:hover {
    background-color: #133578;
    border-color: #133578; }
  .gallery-nav--prev {
    left: 8px; }
  .gallery-nav--next {
    right: 8px; }
  .gallery-nav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none; }
  .gallery-nav::after {
    content: none; }

/* Category filter.
   A native <select> paints its option list with the OS, so it cannot follow
   this palette. The select stays in the markup and keeps working without
   JavaScript; script.js mirrors it into the listbox below and hides it. */
/* Main-menu dropdown. Deliberately the same panel as .cat-dropdown on the
   Products page so the two controls read as one idea; the rows reuse that
   component's option styling rather than redefining it. */
.nav-caret {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  vertical-align: middle;
  color: #989a9f;
  cursor: pointer;
  transition: color 0.2s ease; }
  .nav-caret svg {
    width: 10px;
    height: 7px;
    transition: transform 0.2s ease; }
  .nav-caret:hover, .nav-caret[aria-expanded="true"] {
    color: #ffffff; }
  .nav-caret[aria-expanded="true"] svg {
    transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 60;
  min-width: 300px;
  padding: 8px;
  margin: 0;
  list-style: none;
  border-radius: 12px;
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55); }
  .nav-dropdown[hidden] {
    display: none; }
  .nav-dropdown__option {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    color: #ffffff;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
    /* The category being viewed, marked the same way the Products page
       dropdown marks its selection. */ }
    .nav-dropdown__option:hover, .nav-dropdown__option:focus-visible {
      background-color: rgba(255, 255, 255, 0.07);
      outline: none; }
    .nav-dropdown__option.is-active {
      background-color: rgba(19, 53, 120, 0.4);
      color: #ffffff;
      font-weight: 600; }

/* In the mobile drawer the panel is part of the stack, not an overlay. */
.drawer .nav-dropdown {
  position: static;
  min-width: 0;
  margin-top: 10px;
  box-shadow: none;
  background-color: transparent;
  border: 0;
  padding: 0 0 0 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.15); }
  .drawer .nav-dropdown__option {
    white-space: normal;
    font-size: 0.9375rem;
    color: #989a9f; }
    .drawer .nav-dropdown__option:hover {
      color: #ffffff; }
.drawer .nav-caret {
  width: 28px;
  height: 28px; }

.cat-dropdown {
  position: relative;
  width: 170px; }
  .cat-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    height: 40px;
    padding: 0 13px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease; }
    .cat-dropdown__toggle:hover {
      border-color: rgba(255, 255, 255, 0.22); }
    .cat-dropdown__toggle[aria-expanded="true"] {
      border-color: rgba(255, 255, 255, 0.3);
      background-color: rgba(255, 255, 255, 0.08); }
    .cat-dropdown__toggle svg {
      flex-shrink: 0;
      transition: transform 0.2s ease; }
    .cat-dropdown__toggle[aria-expanded="true"] svg {
      transform: rotate(180deg); }
  .cat-dropdown__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .cat-dropdown__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    min-width: 300px;
    max-height: 360px;
    overflow-y: auto;
    padding: 8px;
    margin: 0;
    list-style: none;
    border-radius: 12px;
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55); }
    .cat-dropdown__panel[hidden] {
      display: none; }
  .cat-dropdown__option {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease; }
    .cat-dropdown__option:hover, .cat-dropdown__option.is-active, .cat-dropdown__option:focus-visible {
      background-color: rgba(255, 255, 255, 0.07);
      outline: none; }
    .cat-dropdown__option[aria-selected="true"] {
      background-color: rgba(19, 53, 120, 0.4);
      color: #ffffff;
      font-weight: 600; }
    .cat-dropdown__option--child {
      padding-left: 26px;
      font-size: 0.8125rem;
      font-weight: 400;
      color: #989a9f; }
      .cat-dropdown__option--child::before {
        content: "\2014";
        margin-right: 8px;
        color: #6b7280; }
      .cat-dropdown__option--child:hover, .cat-dropdown__option--child.is-active, .cat-dropdown__option--child[aria-selected="true"] {
        color: #ffffff; }

/* Request a Quote dialog. The old site's popup is white; this keeps its
   fields and two-column layout but in the dark palette, so it belongs to
   this design rather than fighting it. */
/* Shared Contact Form 7 styling: the quote modal and the contact page both
   carry .estore-form, so the two forms cannot drift apart. Markup classes
   (qf-grid / qf-message / qf-actions) come from the form bodies in wp-admin. */
.estore-form {
  /* Taken out of the flow so the submit button sits flush with the right
     edge of the fields above it; it still shows while the form posts. */ }
  .estore-form .qf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px; }
    @media (max-width: 640px) {
      .estore-form .qf-grid {
        grid-template-columns: 1fr; } }
  .estore-form p {
    margin: 0; }
  .estore-form .qf-message {
    margin-top: 16px; }
  .estore-form .qf-actions {
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end; }
  .estore-form .wpcf7-spinner {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0; }
  .estore-form input[type="text"],
  .estore-form input[type="email"],
  .estore-form input[type="tel"],
  .estore-form select,
  .estore-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 13px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.4; }
    .estore-form input[type="text"]::placeholder,
    .estore-form input[type="email"]::placeholder,
    .estore-form input[type="tel"]::placeholder,
    .estore-form select::placeholder,
    .estore-form textarea::placeholder {
      color: #6b7280; }
    .estore-form input[type="text"]:focus,
    .estore-form input[type="email"]:focus,
    .estore-form input[type="tel"]:focus,
    .estore-form select:focus,
    .estore-form textarea:focus {
      outline: none;
      border-color: rgba(80, 120, 220, 0.65); }
  .estore-form select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.875' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1L6 7L11 1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px; }
    .estore-form select option {
      background-color: #161616;
      color: #ffffff; }
  .estore-form textarea {
    min-height: 132px;
    resize: vertical; }
  .estore-form input[type="submit"] {
    background-color: #133578;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    height: 50px;
    padding: 0 30px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
    transition: background-color 0.25s ease; }
    .estore-form input[type="submit"]:hover {
      background-color: #1b4699; }
  .estore-form .wpcf7-not-valid-tip {
    color: #e84b50;
    font-size: 0.75rem;
    margin-top: 6px; }
  .estore-form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8125rem; }

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  /* Contact Form 7 output */ }
  .quote-modal[hidden] {
    display: none; }
  .quote-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px); }
  .quote-modal__panel {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px; }
    @media (max-width: 640px) {
      .quote-modal__panel {
        padding: 24px; } }
  .quote-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #989a9f;
    transition: color 0.2s ease, border-color 0.2s ease; }
    .quote-modal__close:hover {
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.35); }

/* --- Back to top ------------------------------------------------------ */
.backtotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background-color: #133578;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 40; }
  .backtotop.is-visible {
    opacity: 1;
    visibility: visible; }

/* Category bands: uniform 366px rows, flush against each other, each half
   exactly 620px of the 1240px container with 36px padding in the text half. */
.cat-row {
  display: grid;
  grid-template-columns: 1fr; }
  @media (min-width: 1024px) {
    .cat-row {
      grid-template-columns: 1fr 1fr;
      min-height: 366px; } }
  .cat-row__media {
    position: relative;
    min-height: 240px; }
    @media (min-width: 1024px) {
      .cat-row__media {
        min-height: 0; } }
  .cat-row__body {
    background-color: #0f0f0f;
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center; }

/* --- Footer ----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0f0f0f; }

/* Oversized, barely-visible OASIS wordmark behind the footer CTA. */
.footer-wordmark {
  font-size: clamp(3.5rem, 1rem + 7vw, 6.25rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.26;
  color: #161616;
  user-select: none; }

.field {
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px 0 0 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.875rem;
  width: 100%; }
  .field::placeholder {
    color: #6b7280; }
  .field:focus {
    outline: none;
    border-color: rgba(80, 120, 220, 0.6); }
