/* Brand homepage only. Product tables and compact catalog layouts stay intact. */
.airrex-home {
  --ax-blue: var(--ax-brand-blue);
  --ax-navy: #08043d;
  --ax-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  color: var(--ax-navy);
  overflow: clip;
}
.airrex-home .button {
  min-height: 44px;
  padding: .5rem 1.2rem;
  border-radius: 3px;
  font-size: clamp(1rem, 1.65vw, 1.2rem);
  line-height: 1.2;
  font-weight: 500;
  gap: .75rem;
}
.airrex-home .button:hover { background: var(--ax-brand-blue-dark); color: #fff; }
.airrex-home .button:focus-visible,
.airrex-home button:focus-visible { outline: 3px solid #ffbd2d; outline-offset: 5px; }
.airrex-home .ax-carousel {
  position: relative;
  width: 100%;
  /* A matching base keeps the pale side from flashing blue during the dissolve. */
  background: linear-gradient(105deg, var(--ax-brand-blue-dark) 0%, var(--ax-brand-blue) 44%, #dceffa 68%, #fff 88%);
  color: #fff;
  isolation: isolate;
}
.airrex-home .ax-slide {
  position: relative;
  min-height: 350px;
  aspect-ratio: 3.1 / 1;
}
.airrex-home .ax-slide[hidden],
.airrex-home .ax-carousel-controls[hidden] { display: none; }
/* Shared grid track reserves the tallest slide; changing slides never resizes the page. */
.airrex-home .ax-carousel[data-ax-enhanced] { display: grid; grid-template-columns: minmax(0, 1fr); }
.airrex-home .ax-carousel[data-ax-enhanced] .ax-slide {
  grid-area: 1 / 1;
  align-self: stretch;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 800ms cubic-bezier(.4, 0, .2, 1), visibility 0s linear 800ms;
}
.airrex-home .ax-carousel[data-ax-enhanced] .ax-slide[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition-delay: 0s;
}
.airrex-home .ax-slide-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.airrex-home .ax-slide--product {
  overflow: hidden;
  background: linear-gradient(105deg, var(--ax-brand-blue-dark) 0%, var(--ax-brand-blue) 44%, #dceffa 68%, #fff 88%);
}
.airrex-home .ax-product-photo {
  position: absolute;
  inset: 8% 2% 0 34%;
  mix-blend-mode: multiply;
}
.airrex-home .ax-product-image {
  /* Center the rotated photo itself, not an oversized unrotated grid track. */
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 44%;
  max-width: none;
  height: auto;
  /* Owner-requested vertical flip of the horizontal view: handle right, inlet down. */
  transform: translate(-50%, -50%) scaleY(-1) rotate(90deg);
}
/* Original drawing plus whole tool: a parts story, without redrawing or cropping either. */
.airrex-home .ax-slide--parts {
  background: linear-gradient(105deg, var(--ax-brand-blue-dark) 0%, var(--ax-brand-blue) 37%, #e7f3fb 51%, #fff 78%);
}
.airrex-home .ax-slide--parts .ax-slide-copy { width: 43%; padding-right: 1rem; }
.airrex-home .ax-slide--parts .ax-slide-title { font-size: clamp(3.1rem, 5.4vw, 6rem); }
.airrex-home .ax-slide--parts .eyebrow { letter-spacing: .14em; }
.airrex-home .ax-parts-art {
  position: absolute;
  inset: 7% 3% 15% 43%;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 1.4%;
  align-items: center;
  mix-blend-mode: multiply;
}
.airrex-home .ax-parts-art img { display: block; width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: contain; }
.airrex-home .ax-parts-drawing { opacity: .78; }
.airrex-home .ax-parts-tool { max-height: 92%; }
.airrex-home .ax-slide-copy {
  position: relative;
  z-index: 1;
  width: min(57%, 850px);
  padding: clamp(2.25rem, 3.8vw, 5rem) 0 5rem 4.6%;
}
.airrex-home .ax-slide-copy .eyebrow {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: clamp(.75rem, 1.05vw, .95rem);
  font-weight: 700;
  letter-spacing: .44em;
}
.airrex-home .ax-slide-title {
  font-family: var(--ax-display);
  color: #fff;
  font-size: clamp(4.25rem, 7.4vw, 9rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 1rem;
}
.airrex-home .ax-slide-title span {
  display: block;
  font-size: .49em;
  line-height: 1.12;
  letter-spacing: -.055em;
  margin-top: .18rem;
}
.airrex-home .ax-slide-title .ax-trademark {
  font-family: Arial, sans-serif;
  font-size: .32em;
  font-weight: 600;
  line-height: 0;
  letter-spacing: 0;
  vertical-align: super;
  margin-left: .08em;
}
.airrex-home .ax-slide-copy .button {
  color: var(--ax-blue);
  background: #fff;
  border-color: #fff;
  font-weight: 700;
}
.airrex-home .ax-slide-copy .button:hover { background: #edf4ff; }
.airrex-home .ax-carousel-controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  display: flex;
  align-items: center;
  gap: .125rem;
  padding: .25rem;
  border: 1px solid #ffffffb3;
  border-radius: 999px;
  background: #fffffff5;
  box-shadow: 0 4px 24px #00366914;
  z-index: 2;
}
.airrex-home .ax-carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  flex: none;
  border-radius: 50%;
  color: var(--ax-brand-blue-dark);
  background: transparent;
  font-size: .875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 180ms ease, color 180ms ease;
}
.airrex-home .ax-carousel-controls button:hover:not(:disabled) { background: #e8f2fa; }
.airrex-home .ax-carousel-controls button:disabled { opacity: .55; cursor: default; }
.airrex-home .ax-carousel-controls svg { width: 18px; height: 18px; stroke: currentColor; }
.airrex-home .ax-rotation-toggle [data-ax-play] { display: none; }
.airrex-home .ax-rotation-toggle[data-paused="true"] [data-ax-play] { display: block; }
.airrex-home .ax-rotation-toggle[data-paused="true"] [data-ax-pause] { display: none; }
.airrex-home .ax-pagination { display: flex; gap: .125rem; }
.airrex-home .ax-carousel-controls .ax-pagination button[aria-current="true"] {
  color: #fff;
  background: var(--ax-brand-blue-dark);
}
.airrex-home .ax-studio {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(1.4rem, 2.4vw, 2.8rem) 0 clamp(1.6rem, 2.8vw, 3rem);
  text-align: center;
}
.airrex-home .ax-studio .ax-wordmark {
  font-family: var(--ax-display);
  color: var(--ax-blue);
  font-size: clamp(1.8rem, 3.8vw, 3.8rem);
  font-weight: 900;
  font-style: normal;
  letter-spacing: -.07em;
  line-height: 1;
  margin: 0;
}
.airrex-home .ax-studio .ax-wordmark sup { font-family: Arial, sans-serif; font-size: .43em; letter-spacing: 0; margin-left: .05em; }
.airrex-home .ax-studio h2 {
  font-family: var(--ax-display);
  font-size: clamp(2rem, 6.95vw, 7.15rem);
  font-weight: 900;
  color: var(--ax-navy);
  line-height: 1.08;
  letter-spacing: -.058em;
  margin: .12em 3.5% .32em;
}
.airrex-home .ax-studio-photo { margin: 0; }
.airrex-home .ax-studio-photo img { display: block; width: 100%; height: auto; }
.airrex-home .ax-studio .button { margin-top: -.1rem; }
.airrex-home .ax-care-studio {
  width: 92.4%;
  max-width: 1440px;
  min-height: 208px;
  aspect-ratio: 4.78 / 1;
  margin: 0 auto .7rem;
  position: relative;
  display: grid;
  place-items: center;
  background: #eaf5ff;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}
.airrex-home .ax-care-bottles,
.airrex-home .ax-care-filters { position: absolute; top: 0; bottom: 0; width: 27%; overflow: hidden; }
.airrex-home .ax-care-bottles { left: 0; mask-image: linear-gradient(to right, #000 85%, transparent); }
.airrex-home .ax-care-filters { right: 0; mask-image: linear-gradient(to left, #000 85%, transparent); }
.airrex-home .ax-care-bottles img,
.airrex-home .ax-care-filters img { position: absolute; height: 150%; width: auto; max-width: none; }
.airrex-home .ax-care-bottles img { left: 0; top: -25%; }
/* Align the shorter filter group with the visual center of the Ice-Out bottle. */
.airrex-home .ax-care-filters img { right: 0; top: -53%; }
.airrex-home .ax-care-studio-copy { position: relative; width: 54%; padding: 1.4rem 0; z-index: 1; }
.airrex-home .ax-care-studio h2 {
  font-family: var(--ax-display);
  color: var(--ax-navy);
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.055em;
  margin: 0 0 .15em;
}
.airrex-home .ax-care-studio p { font-size: clamp(1rem, 2.25vw, 1.85rem); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -.035em; }
.airrex-home .ax-care-studio p sup { font-size: .5em; }
.airrex-home .ax-care-studio .button { color: var(--ax-blue); background: transparent; border: 1.5px solid var(--ax-blue); }
.airrex-home .ax-care-studio .button:hover { color: #fff; background: var(--ax-blue); }
@media (min-width: 901px) {
  .airrex-header { min-height: 100px; padding: 0 4.5%; gap: 2rem; max-width: 1600px; }
  .airrex-logo { width: clamp(165px, 16.3vw, 210px); }
  .airrex-header nav { gap: clamp(1.2rem, 2.9vw, 2.6rem); flex-wrap: nowrap; }
  .airrex-header nav a { white-space: nowrap; letter-spacing: -.03em; }
  .airrex-header .airrex-visit { padding: .4rem .9rem; min-height: 40px; }
}
@media (max-width: 700px) {
  .airrex-home .ax-carousel { background: linear-gradient(var(--ax-brand-blue-dark) 0%, var(--ax-brand-blue) 45%, #edf7fd 66%, #fff 100%); }
  .airrex-home .ax-slide { aspect-ratio: auto; min-height: 465px; }
  .airrex-home .ax-slide-image { top: auto; height: auto; bottom: 45px; object-fit: contain; }
  .airrex-home .ax-product-photo { position: relative; inset: auto; width: 90%; aspect-ratio: 2.1 / 1; flex: none; margin: 1rem auto 3.5rem; }
  .airrex-home .ax-slide--product { display: flex; flex-direction: column; background: linear-gradient(var(--ax-brand-blue-dark) 0%, var(--ax-brand-blue) 45%, #edf7fd 66%, #fff 100%); }
  .airrex-home .ax-slide--product .ax-slide-copy { order: -1; }
  .airrex-home .ax-slide--parts { display: flex; flex-direction: column; background: linear-gradient(var(--ax-brand-blue-dark) 0%, var(--ax-brand-blue) 44%, #edf7fd 62%, #fff 100%); }
  .airrex-home .ax-slide--parts .ax-slide-copy { order: -1; width: 100%; padding: 1.6rem 6% 0; }
  .airrex-home .ax-slide--parts .ax-slide-title { font-size: clamp(2.6rem, 10.5vw, 4.6rem); }
  .airrex-home .ax-parts-art { position: relative; inset: auto; width: 90%; aspect-ratio: 2.1 / 1; flex: none; margin: 1rem auto 3.5rem; }
  .airrex-home .ax-parts-drawing { opacity: .9; }
  .airrex-home .ax-slide-copy { width: 100%; padding: 1.6rem 6% 0; }
  .airrex-home .ax-slide-copy .eyebrow { font-size: .75rem; letter-spacing: .28em; margin-bottom: .55rem; }
  .airrex-home .ax-slide-title { font-size: clamp(3.65rem, 12vw, 5.1rem); }
  .airrex-home .ax-slide-title span { font-size: .45em; }
  .airrex-home .ax-carousel-controls { bottom: .75rem; }
  .airrex-home .ax-studio { padding-top: 1.4rem; }
  .airrex-home .ax-studio h2 { margin-bottom: .55em; font-size: clamp(1.8rem, 6.95vw, 3rem); }
  .airrex-home .ax-studio .button { margin-top: .65rem; max-width: 92%; }
  .airrex-home .ax-care-studio { min-height: 285px; aspect-ratio: auto; align-items: start; }
  .airrex-home .ax-care-bottles, .airrex-home .ax-care-filters { top: auto; height: 140px; width: 50%; }
  .airrex-home .ax-care-studio-copy { width: 100%; padding: 1.2rem .7rem 0; }
  .airrex-home .ax-care-studio h2 { font-size: clamp(1.5rem, 5.2vw, 2rem); }
  .airrex-home .ax-care-studio p { font-size: 1.1rem; }
}
@media (max-width: 500px) {
  .airrex-home .ax-slide-image { width: 160%; max-width: none; left: -60%; }
}
@media (prefers-reduced-motion: reduce) {
  .airrex-home *, .airrex-home *::before, .airrex-home *::after { animation: none !important; transition: none !important; }
}
