/* Shared glassmorphism taskbar alignment, header actions, 3D hero stage, subpage photo heroes, Light Blue Maritime UI panels, and Soffit WebGL2 backdrop */

/* Sticky Top Navigation Bar (Oceanic Light Blue header) */
.page-header {
  position: sticky;
  z-index: 40;
  top: 0;
  color: #f0f8fc;
  background: rgba(11, 46, 66, 0.92);
  border-bottom: 1px solid rgba(140, 216, 247, 0.22);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.page-header .header-inner {
  min-height: 5.25rem;
  height: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.page-header .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
}

.brand-logo {
  mix-blend-mode: normal;
}

.page-header .brand-logo {
  width: 5.2rem;
  height: 5.2rem;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.page-header .brand:hover .brand-logo {
  transform: rotate(-4deg) scale(1.05);
}

header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1),
.liquid-nav {
  justify-self: center;
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(4.25rem, 1fr));
  grid-auto-flow: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 0;
  padding: 4px;
  border: 1px solid rgba(140, 216, 247, 0.28);
  border-radius: 999px;
  background: rgba(18, 68, 94, 0.72);
  box-shadow:
    inset 0 1px 1px rgba(196, 236, 253, 0.24),
    inset 0 -1px 2px rgba(6, 24, 36, 0.35),
    0 12px 32px -16px rgba(6, 24, 36, 0.78);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.liquid-nav::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 7);
  border: 1px solid rgba(196, 236, 253, 0.48);
  border-radius: 999px;
  background:
    radial-gradient(120% 150% at 30% 0%, rgba(196, 236, 253, 0.48), transparent 58%),
    rgba(56, 189, 248, 0.28);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    inset 0 -2px 6px rgba(9, 34, 48, 0.32),
    0 4px 12px rgba(6, 24, 36, 0.22);
  transform: translateX(var(--active-index, 0%));
  transition: transform 0.45s cubic-bezier(0.25, 1.35, 0.5, 1);
}

.liquid-nav a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.55rem;
  width: 100%;
  padding: 0 0.45rem;
  border-radius: 999px;
  color: rgba(240, 248, 252, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.25s ease;
}

header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > a:nth-of-type(7) {
  padding-left: 7.2px;
}

.liquid-nav a:hover,
.liquid-nav a[aria-current='page'] {
  color: #ffffff;
}

.liquid-nav a:hover {
  transform: translateY(-1px);
}

.liquid-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 0 8px var(--sea);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.25s, transform 0.25s;
}

.liquid-nav a:hover::after,
.liquid-nav a[aria-current='page']::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.liquid-nav .nav-icon {
  display: grid;
  place-items: center;
  transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.liquid-nav a:hover .nav-icon,
.liquid-nav a[aria-current='page'] .nav-icon {
  transform: translateY(-1px) scale(1.1);
}

.liquid-nav a[data-fx='home']:hover .nav-icon { animation: nav-hop 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
.liquid-nav a[data-fx='parts']:hover .nav-icon { animation: nav-pop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.liquid-nav a[data-fx='inventory']:hover .nav-icon { animation: andros-gear-spin 0.78s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
.liquid-nav a[data-fx='track']:hover .nav-icon { animation: nav-spin 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
.liquid-nav a[data-fx='ask']:hover .nav-icon { animation: nav-wave 0.8s ease-in-out both; transform-origin: 50% 92%; }
.liquid-nav a[data-fx='reviews']:hover .nav-icon { animation: nav-pop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.liquid-nav a[data-fx='fumigation']:hover .nav-icon { animation: nav-pop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both; }

.header-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.header-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(140, 216, 247, 0.28);
  border-radius: 999px;
  color: rgba(240, 248, 252, 0.92);
  background: #0e3447;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-search-btn:hover {
  background: #14465e;
  border-color: rgba(140, 216, 247, 0.65);
  transform: translateY(-1px);
}

.header-search-btn kbd {
  padding: 0.12rem 0.35rem;
  border: 1px solid rgba(140, 216, 247, 0.24);
  border-radius: 0.3rem;
  background: #08202d;
  color: var(--sea);
  font-family: ui-monospace, monospace;
  font-size: 0.58rem;
}

.page-header .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.25rem 1.05rem;
  border: 1px solid rgba(196, 236, 253, 0.68);
  border-radius: 999px;
  color: #082230;
  background: var(--sea);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-header .header-cta:hover {
  color: #082230;
  background: #c4ecfd;
  box-shadow: 0 8px 22px rgba(140, 216, 247, 0.32);
  transform: translateY(-1px);
}

/* Home Hero: Transparent stage over non-interactive white-golden silk canvas + 3D Marine Spares */
.hero-3d-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.hero-3d-stage.webgl-fallback {
  background: transparent;
}

.andros-silk-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.hero-3d-stage canvas[data-testid="hero-3d-canvas"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto;
  filter: contrast(1.06) saturate(1.12);
}

/* Soft ivory/pearl legibility glow behind dark hero ink in Day Mode over white-golden silk */
.hero-3d-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

html.theme-day .hero-3d-vignette {
  background:
    linear-gradient(94deg, rgba(255, 253, 247, 0.72) 0%, rgba(255, 251, 240, 0.42) 32%, rgba(255, 251, 240, 0.08) 54%, transparent 74%),
    linear-gradient(0deg, rgba(255, 250, 236, 0.32) 0%, transparent 22%);
}

html:not(.theme-day) .hero-3d-vignette {
  background:
    linear-gradient(94deg, rgba(4, 16, 24, 0.82) 0%, rgba(7, 27, 40, 0.56) 36%, rgba(7, 27, 40, 0.16) 60%, transparent 78%),
    linear-gradient(0deg, rgba(4, 16, 24, 0.56) 0%, transparent 28%);
}

@media (max-width: 768px) {
  html.theme-day .hero-3d-vignette {
    background:
      linear-gradient(180deg, rgba(255, 253, 246, 0.78) 0%, rgba(255, 250, 236, 0.62) 56%, rgba(255, 248, 226, 0.3) 100%);
  }
  html:not(.theme-day) .hero-3d-vignette {
    background:
      linear-gradient(180deg, rgba(4, 16, 24, 0.84) 0%, rgba(7, 27, 40, 0.54) 52%, rgba(4, 16, 24, 0.78) 100%);
  }
}

.hero-quick-search {
  margin-top: 1.65rem;
  max-width: 34rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.55rem 0.55rem 1.05rem;
  border: 1px solid rgba(140, 216, 247, 0.3);
  border-radius: 999px;
  background: rgba(11, 41, 58, 0.92);
  color: #f0f8fc;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(6, 24, 36, 0.34);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-quick-search:hover {
  border-color: var(--sea);
  background: #103b52;
  transform: translateY(-2px);
}

.hero-quick-search .icon {
  color: var(--sea);
  flex-shrink: 0;
}

.hero-quick-search span.placeholder-copy {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(240, 248, 252, 0.8);
  font-size: 0.82rem;
}

.hero-quick-search .finder-chip {
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: var(--sea);
  color: #082230;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 3D Spare Part Switcher Dock (solid Maritime Navy surface over WebGL, no backdrop-filter stall) */
.spare-dock {
  position: relative;
  z-index: 6;
  margin-top: 1.25rem;
  width: min(100%, 27.5rem);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(140, 216, 247, 0.26);
  border-radius: 1.15rem;
  background: rgba(11, 41, 58, 0.94);
  color: #f0f8fc;
  box-shadow: 0 22px 55px rgba(6, 24, 36, 0.38), inset 0 1px 0 rgba(196, 236, 253, 0.22);
}

.spare-dock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(140, 216, 247, 0.16);
}

.spare-dock-title-wrap {
  min-width: 0;
}

.spare-dock-label {
  display: block;
  color: var(--sea);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.spare-dock-title-wrap strong {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.spare-countdown {
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 0.45rem;
  background: rgba(140, 216, 247, 0.14);
  color: var(--sea);
  font-variant-numeric: tabular-nums;
}

.spare-dock-desc {
  margin: 0.6rem 0 0.75rem;
  color: rgba(240, 248, 252, 0.78);
  font-size: 0.7rem;
  line-height: 1.5;
}

.spare-dock-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.spare-pills {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.spare-pill {
  border: 1px solid rgba(140, 216, 247, 0.22);
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  background: rgba(140, 216, 247, 0.08);
  color: rgba(240, 248, 252, 0.84);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: capitalize;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.spare-pill:hover {
  background: rgba(140, 216, 247, 0.18);
  color: #ffffff;
}

.spare-pill.is-active {
  background: var(--sea);
  color: #082230;
  border-color: var(--sea);
}

.spare-aux-btns {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.spare-aux-btn {
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  border: 1px solid rgba(140, 216, 247, 0.24);
  border-radius: 50%;
  background: rgba(140, 216, 247, 0.08);
  color: var(--sea);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.spare-aux-btn:hover {
  background: rgba(140, 216, 247, 0.2);
  color: #ffffff;
}

.spare-aux-btn.is-paused {
  color: var(--signal);
  border-color: rgba(14, 165, 233, 0.58);
}

.spare-quote-link {
  border: 0;
  background: none;
  padding: 0.25rem 0.1rem;
  color: var(--sea);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Subpage Hero Photos (ship pic & spare part pics on Parts, Track, Contact, Inventory) */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) brightness(0.62);
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(9, 34, 48, 0.92) 0%, rgba(12, 46, 65, 0.74) 55%, rgba(12, 46, 65, 0.42) 100%),
    linear-gradient(0deg, rgba(9, 34, 48, 0.68), transparent 55%);
}

.inventory-hero::before {
  z-index: 0;
  background:
    radial-gradient(circle at 74% 34%, rgba(140, 216, 247, 0.2), transparent 22rem),
    radial-gradient(circle at 7% 82%, rgba(56, 189, 248, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(16, 53, 73, 0.88), rgba(9, 34, 48, 0.82) 74%);
}

.inventory-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.8) brightness(0.72);
}

.inventory-hero .button.light-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.35rem;
  padding: 0.25rem 0.42rem 0.25rem 1.25rem;
  border: 1px solid rgba(196, 236, 253, 0.9);
  border-radius: 999px;
  color: #082230;
  background: var(--sea);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(6, 24, 36, 0.26);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.inventory-hero .button.light-button:hover {
  transform: translateY(-2px);
  background: #c4ecfd;
  box-shadow: 0 14px 32px rgba(140, 216, 247, 0.35);
}

.inventory-hero .button.light-button .button-icon {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: #082230;
  color: var(--sea);
}

/* Interactive Verified Marine Spares Catalogue Grid on parts.html */
.spares-section {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-top: 1.2rem;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  border: 1px solid rgba(140, 216, 247, 0.24);
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  background: #0e3447;
  color: #d8eef9;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cat-tab:hover {
  border-color: var(--sea);
  background: #14465e;
  color: #ffffff;
}

.cat-tab.active {
  background: var(--sea);
  color: #082230;
  border-color: var(--sea);
}

.spares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.part-card,
.spare-item-card,
.andros-result-card,
.catalog-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.part-card.is-filtering-out,
.spare-item-card.is-filtering-out,
.andros-result-card.is-filtering-out {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
}

.spare-item-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  border-radius: 1.25rem;
  text-align: left;
  background: #0d2e40;
  border: 1px solid rgba(140, 216, 247, 0.22);
  color: #f0f8fc;
}

.spare-item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 216, 247, 0.52);
  box-shadow: 0 20px 45px rgba(9, 34, 48, 0.28);
}

.spare-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.part-mono-badge {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 0.45rem;
  background: var(--sea);
  color: #082230;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
}

.part-cond-badge {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(140, 216, 247, 0.28);
  border-radius: 999px;
  background: #14445c;
  color: var(--sea);
  font-size: 0.62rem;
  font-weight: 700;
}

.spare-item-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 0.95;
  text-transform: uppercase;
  color: #f7fbff;
}

.spare-item-maker {
  margin: 0 0 0.55rem;
  color: var(--sea);
  font-size: 0.72rem;
  font-weight: 600;
}

.spare-item-desc {
  margin: 0;
  color: #a3c3d4;
  font-size: 0.75rem;
  line-height: 1.55;
}

.spare-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(140, 216, 247, 0.16);
  font-size: 0.68rem;
}

.spare-item-foot span {
  color: #38bdf8;
  font-weight: 600;
}

.spare-item-foot button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--sea);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.64rem;
  cursor: pointer;
}

.spare-item-foot button:hover {
  color: #ffffff;
}

/* Tracking Demo Chips */
.demo-refs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.demo-refs span {
  color: #a3c3d4;
  font-size: 0.72rem;
}

.demo-ref-btn {
  border: 1px solid rgba(140, 216, 247, 0.26);
  border-radius: 0.5rem;
  padding: 0.34rem 0.65rem;
  background: #123b50;
  color: var(--sea);
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.demo-ref-btn:hover {
  background: var(--sea);
  color: #082230;
  border-color: var(--sea);
}

/* Shared Modals (Search Overlay, Part Details, Quote RFQ) — Light Blue Maritime UI */
.andros-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.andros-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.andros-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 31, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.andros-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(140, 216, 247, 0.24);
  border-radius: 1.4rem;
  background: #0b2636;
  color: #f0f8fc;
  box-shadow: 0 30px 90px rgba(4, 18, 26, 0.55);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.andros-modal.open .andros-modal-panel {
  transform: none;
}

.andros-search-panel {
  width: min(100%, 54rem);
}

.andros-search-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  background: #0e3447;
  border-bottom: 1px solid rgba(140, 216, 247, 0.18);
}

.andros-search-panel .andros-search-head .icon {
  color: var(--sea);
  flex-shrink: 0;
}

.andros-search-head input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f7fbff;
  font-size: 0.92rem;
}

.andros-search-head input::placeholder {
  color: #8cb2c4;
}

.andros-icon-btn {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(140, 216, 247, 0.26);
  border-radius: 50%;
  background: #134157;
  color: #f0f8fc;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s ease, color 0.15s ease;
}

.andros-icon-btn:hover {
  background: var(--sea);
  color: #082230;
}

.andros-icon-btn:active {
  transform: scale(0.88);
}

.andros-search-body {
  overflow-y: auto;
  padding: 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.andros-search-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.andros-search-section-head h2,
.andros-search-section-head h3 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ebfd0;
}

.andros-search-section-head span {
  font-size: 0.72rem;
  color: #9ebfd0;
}

.andros-search-section-head .accent-note {
  color: var(--sea);
  font-weight: 600;
}

.andros-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.andros-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(140, 216, 247, 0.22);
  border-radius: 999px;
  background: #10384e;
  color: #d8eef9;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.andros-cat-pill:hover {
  border-color: var(--sea);
  background: #154a66;
}

.andros-cat-pill span {
  opacity: 0.7;
  font-size: 0.66rem;
}

.andros-cat-pill.active {
  background: var(--sea);
  color: #082230;
  border-color: var(--sea);
}

.andros-search-pages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.55rem;
}

.andros-page-link {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgba(140, 216, 247, 0.2);
  border-radius: 0.8rem;
  background: #0e3447;
  color: #f0f8fc;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.andros-page-link:hover {
  border-color: var(--sea);
  background: #14465e;
  transform: translateY(-1px);
}

.andros-page-link.is-featured {
  background: linear-gradient(135deg, #13455e 0%, #0d3145 100%);
  color: #f7fbff;
  border-color: rgba(140, 216, 247, 0.46);
}

.andros-page-link.is-featured strong {
  color: var(--sea);
}

.andros-page-link.is-featured:hover {
  background: #175270;
}

.andros-page-link strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.andros-page-link span {
  font-size: 0.68rem;
  color: #a3c3d4;
}

.andros-review-result {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(140, 216, 247, 0.38);
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #123e54 0%, #0a2433 100%);
  color: #f7fbff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.andros-review-result:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 24, 36, 0.35);
}

.andros-review-result strong {
  display: block;
  font-size: 0.88rem;
}

.andros-review-result p {
  margin: 0.2rem 0 0;
  font-size: 0.74rem;
  color: rgba(240, 248, 252, 0.8);
}

.andros-review-result .review-cta {
  flex-shrink: 0;
  color: var(--sea);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.andros-search-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.andros-result-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.95rem;
  border: 1px solid rgba(140, 216, 247, 0.18);
  border-radius: 0.95rem;
  background: #0e3447;
  color: #f0f8fc;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.andros-result-card:hover {
  border-color: var(--sea);
  background: #14465e;
  box-shadow: 0 10px 26px rgba(6, 24, 36, 0.28);
  transform: translateY(-2px);
}

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.andros-result-card h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #f7fbff;
}

.result-maker {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: #a3c3d4;
}

.result-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(140, 216, 247, 0.14);
  font-size: 0.68rem;
}

.result-foot span {
  color: #38bdf8;
  font-weight: 600;
}

.result-foot strong {
  color: var(--sea);
}

.andros-search-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed rgba(140, 216, 247, 0.32);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #0d2e40 0%, #123e54 100%);
  color: #f0f8fc;
  box-shadow: 0 12px 35px rgba(6, 24, 36, 0.22);
  animation: fadeInEmpty 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.andros-search-empty::before {
  content: '⌕';
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--sea);
  color: #082230;
  font-size: 1.5rem;
  box-shadow: 0 0 22px rgba(140, 216, 247, 0.34);
  animation: pulseEmpty 2s infinite ease-in-out;
}

.andros-search-empty p {
  margin: 0 auto 0.75rem;
  max-width: 32rem;
  font-size: 0.82rem;
  color: #c4e0ed;
  line-height: 1.6;
}

@keyframes pulseEmpty {
  0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(140, 216, 247, 0.26); }
  50% { transform: scale(1.06); box-shadow: 0 0 28px rgba(140, 216, 247, 0.48); }
}

@keyframes fadeInEmpty {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.andros-search-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  background: #0e3447;
  border-top: 1px solid rgba(140, 216, 247, 0.16);
  font-size: 0.7rem;
  color: #9ebfd0;
}

.andros-search-foot kbd {
  padding: 0.1rem 0.35rem;
  border: 1px solid rgba(140, 216, 247, 0.24);
  border-radius: 0.3rem;
  background: #08202d;
  color: var(--sea);
  font-family: ui-monospace, monospace;
}

.andros-part-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: #0e3447;
  border-bottom: 1px solid rgba(140, 216, 247, 0.16);
}

.andros-part-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.andros-part-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
  color: #f7fbff;
}

.andros-part-head h2 > span:not(.andros-te-root),
.andros-part-head h2 .andros-te-accent {
  color: var(--sea);
}

.andros-part-sub {
  margin: 0.35rem 0 0;
  color: #a3c3d4;
  font-size: 0.78rem;
}

.rfq-eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--sea);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.andros-part-body {
  overflow-y: auto;
  padding: 1.35rem 1.4rem;
  display: grid;
  gap: 1rem;
}

.andros-part-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #d8eef9;
}

.andros-part-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #0e3447;
  border: 1px solid rgba(140, 216, 247, 0.16);
}

.andros-part-meta-row span {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ebfd0;
}

.andros-part-meta-row strong {
  font-size: 0.82rem;
  color: var(--sea);
}

.andros-part-specs-wrap h3 {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ebfd0;
}

.andros-part-specs {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #d8eef9;
}

.andros-part-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  background: #0e3447;
  border-top: 1px solid rgba(140, 216, 247, 0.16);
}

.andros-rfq-form {
  overflow-y: auto;
  padding: 1.25rem 1.4rem;
  display: grid;
  gap: 1rem;
}

.andros-rfq-intro {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #a3c3d4;
}

.andros-rfq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.rfq-field {
  display: grid;
  gap: 0.32rem;
}

.rfq-field.full {
  grid-column: 1 / -1;
}

.rfq-field label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #c4e0ed;
}

.rfq-field input,
.rfq-field textarea {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgba(140, 216, 247, 0.22);
  border-radius: 0.75rem;
  background: #08202d;
  color: #f0f8fc;
  font-size: 0.8rem;
}

.rfq-field input::placeholder,
.rfq-field textarea::placeholder {
  color: #7ca3b8;
}

.rfq-field input:focus,
.rfq-field textarea:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(140, 216, 247, 0.22);
}

.andros-rfq-status {
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(140, 216, 247, 0.14);
  border: 1px solid rgba(140, 216, 247, 0.36);
  color: var(--sea);
  font-size: 0.76rem;
}

.andros-rfq-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(140, 216, 247, 0.16);
}

.rfq-hotline {
  font-size: 0.74rem;
  color: #a3c3d4;
}

.rfq-hotline a {
  color: var(--sea);
  font-weight: 700;
}

.rfq-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.andros-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--sea);
  color: #082230;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.andros-btn-primary:hover {
  background: #c4ecfd;
  transform: translateY(-1px);
}

.andros-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 1.05rem;
  border: 1px solid rgba(140, 216, 247, 0.28);
  border-radius: 999px;
  background: #123e54;
  color: #f0f8fc;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.andros-btn-secondary:hover {
  background: #18516e;
  border-color: var(--sea);
}

@media (max-width: 1140px) {
  .page-header .brand {
    width: 4.8rem;
  }
  .page-header .brand-logo {
    width: 4.4rem;
    height: 4.4rem;
  }
  .page-header .header-inner {
    grid-template-columns: auto 1fr;
    padding-block: 0.45rem;
  }
  header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1),
  .liquid-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 0.4rem;
  }
  .liquid-nav a {
    padding: 0 clamp(0.26rem, 0.75vw, 0.48rem);
    gap: clamp(0.24rem, 0.65vw, 0.42rem);
    font-size: clamp(0.62rem, 1.3vw, 0.7rem);
  }
  .header-actions-bar {
    justify-self: end;
  }
  .spares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .page-header .brand {
    width: 4.2rem;
  }
  .page-header .brand-logo {
    width: 3.8rem;
    height: 3.8rem;
  }
  header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1),
  .liquid-nav {
    width: 100%;
    padding: 4px;
    gap: 0;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .liquid-nav::before {
    box-sizing: border-box;
    left: 4px;
    width: calc((100% - 8px) / 7);
  }
  .liquid-nav a {
    width: 100%;
    gap: 0;
    padding: 0 0.2rem;
    font-size: 0;
  }
  .liquid-nav a > span:not(.nav-icon) {
    display: none;
  }
  .liquid-nav a .nav-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 3rem;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 15vw, 5.2rem);
  }
  .hero-quick-search {
    max-width: 100%;
    padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  }
  .hero-quick-search .finder-chip {
    padding: 0.4rem 0.72rem;
    font-size: 0.58rem;
  }
  .header-search-btn span,
  .header-search-btn kbd {
    display: none;
  }
  .header-search-btn {
    padding: 0 0.7rem;
  }
  .spares-grid,
  .andros-search-results,
  .andros-rfq-grid,
  .andros-part-meta-row {
    grid-template-columns: 1fr;
  }
}

/* Luminous Light Blue Soffit Day Theme (.theme-day) paired with Maritime Azure surfaces */
html.theme-day {
  --navy: #092230;
  --navy-2: #103549;
  --sea: #8cd8f7;
  --mint: #d5eef9;
  --paper: #f5fbff;
  --white: #ffffff;
  --ink: #0c2330;
  --muted: #4a6778;
  --line: rgba(12, 35, 48, 0.16);
  --signal: #0ea5e9;
  color-scheme: light;
}

html.theme-day body {
  background: transparent;
  color: var(--ink);
}

html.theme-day .page-header {
  background: rgba(11, 46, 66, 0.92);
  border-bottom: 1px solid rgba(140, 216, 247, 0.28);
  box-shadow: 0 10px 30px rgba(9, 34, 48, 0.16);
}

html.theme-day .liquid-nav {
  background: rgba(18, 68, 94, 0.78);
  border: 1px solid rgba(140, 216, 247, 0.32);
  box-shadow: inset 0 1px 2px rgba(196, 236, 253, 0.22), 0 8px 24px rgba(6, 24, 36, 0.22);
}

html.theme-day .liquid-nav a {
  color: rgba(240, 248, 252, 0.86);
}

html.theme-day .liquid-nav a:hover,
html.theme-day .liquid-nav a[aria-current='page'] {
  color: #ffffff;
}

html.theme-day .hero {
  background: transparent;
  color: #092230;
}

html.theme-day .hero-3d-stage {
  background: transparent;
}

html.theme-day .glass-surface,
html.theme-day .glass-card,
html.theme-day .spare-dock,
html.theme-day .hero-spec-card,
html.theme-day .andros-modal-panel {
  background: #0d2e40;
  border: 1px solid rgba(140, 216, 247, 0.28);
  box-shadow: 0 20px 50px rgba(9, 34, 48, 0.2), inset 0 1px 0 rgba(196, 236, 253, 0.18);
  color: #f0f8fc;
}

html.theme-day .hero-spec-card,
html.theme-day .spare-dock,
html.theme-day .contact-section,
html.theme-day .special-section {
  background: linear-gradient(145deg, rgba(11, 41, 58, 0.96), rgba(16, 56, 78, 0.94));
  color: #f7fbff;
  border-color: rgba(140, 216, 247, 0.34);
  box-shadow: 0 25px 60px rgba(6, 24, 36, 0.28), inset 0 1px 0 rgba(196, 236, 253, 0.22);
}

html.theme-day .safety-preview {
  background: linear-gradient(135deg, #092230 0%, #0e3447 55%, #13445c 100%);
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(140, 216, 247, 0.3);
  border-radius: 50%;
  background: #0e3447;
  color: var(--sea);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
  box-shadow: 0 4px 12px rgba(6, 24, 36, 0.24);
}

.theme-toggle-btn:hover {
  background: var(--sea);
  border-color: var(--sea);
  transform: translateY(-2px) scale(1.05);
  color: #082230;
}

.theme-toggle-btn .icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.theme-toggle-btn:hover .icon {
  transform: rotate(30deg) scale(1.1);
}

/* Authentic Midnight Nautical Night Theme (html:not(.theme-day)) */
html:not(.theme-day) {
  --navy: #041018;
  --navy-2: #071b28;
  --sea: #8cd8f7;
  --mint: #123e54;
  --paper: #05141e;
  --white: #f7fbff;
  --ink: #f0f8fc;
  --muted: #a6c8d9;
  --line: rgba(140, 216, 247, 0.18);
  --line-light: rgba(140, 216, 247, 0.22);
  --signal: #38bdf8;
  --accent-ink: #8cd8f7;
  color-scheme: dark;
  background: #05141e;
}

html.theme-day {
  background: #fdf8ea;
}

html:not(.theme-day) body {
  background: transparent;
  color: var(--ink);
}

html:not(.theme-day) .page-header {
  background: rgba(4, 16, 24, 0.92);
  border-bottom: 1px solid rgba(140, 216, 247, 0.2);
  box-shadow: 0 12px 34px rgba(2, 10, 16, 0.45);
}

html:not(.theme-day) .liquid-nav {
  background: rgba(7, 27, 40, 0.86);
  border-color: rgba(140, 216, 247, 0.26);
}

html:not(.theme-day) .hero-spec-card,
html:not(.theme-day) .spare-dock {
  background: linear-gradient(145deg, rgba(6, 22, 33, 0.96), rgba(9, 34, 48, 0.94));
  border-color: rgba(140, 216, 247, 0.3);
  color: #f0f8fc;
  box-shadow: 0 26px 64px rgba(2, 10, 16, 0.55), inset 0 1px 0 rgba(196, 236, 253, 0.16);
}

html:not(.theme-day) .capability-strip,
html:not(.theme-day) .safety-preview,
html:not(.theme-day) .special-section,
html:not(.theme-day) .contact-section,
html:not(.theme-day) .site-footer {
  background-color: #05141e;
}

html:not(.theme-day) .safety-preview {
  background:
    radial-gradient(circle at 78% 19%, rgba(56, 189, 248, 0.18), transparent 24rem),
    radial-gradient(circle at 5% 82%, rgba(140, 216, 247, 0.12), transparent 23rem),
    #061822;
}

html:not(.theme-day) .special-panel {
  background: #061822;
}

html:not(.theme-day) .process-note,
html:not(.theme-day) .notice {
  background: #071b28;
  border-color: rgba(140, 216, 247, 0.24);
  color: #e4f3fa;
}

html:not(.theme-day) .process-note p {
  color: #b8d6e6;
}

html:not(.theme-day) .button.dark-button {
  background: #0d2e42;
  color: #f7fbff;
  border-color: rgba(140, 216, 247, 0.45);
  box-shadow: 0 12px 30px rgba(2, 10, 16, 0.42);
}

html:not(.theme-day) .button.dark-button:hover {
  background: #15445f;
  border-color: var(--sea);
}

/* Show Sun in Night mode, Moon in Day mode */
html:not(.theme-day) .theme-toggle-btn .moon-icon { display: none; }
html:not(.theme-day) .theme-toggle-btn .sun-icon { display: block; }
html.theme-day .theme-toggle-btn .sun-icon { display: none; }
html.theme-day .theme-toggle-btn .moon-icon { display: block; }

h1, h2, h3, .section-heading, .part-card h3, .step h3, .catalog-card h3 {
  font-family: var(--display), serif;
}

.part-card h3, .step h3, .catalog-card h3 {
  color: #f7fbff !important;
  text-shadow: 0 2px 16px rgba(4, 18, 26, 0.72);
}

.part-card p, .step p, .catalog-card p {
  color: #e4f3fa !important;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(4, 18, 26, 0.62);
}

@media (max-width: 760px) {
  html.theme-day .hero-3d-vignette {
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.78) 0%, rgba(255, 251, 240, 0.42) 52%, rgba(255, 253, 247, 0.76) 100%);
  }
  html:not(.theme-day) .hero-3d-vignette {
    background:
      linear-gradient(180deg, rgba(4, 16, 24, 0.84) 0%, rgba(7, 27, 40, 0.54) 52%, rgba(4, 16, 24, 0.8) 100%);
  }
}

/* Ship & Container Fumigation Page (.fumigation-page) */
.fumigation-page .page-hero-photo {
  filter: saturate(1.06) brightness(0.84);
}

.fumigation-page .page-hero-scrim {
  background:
    linear-gradient(90deg, rgba(9, 34, 48, 0.88) 0%, rgba(12, 46, 65, 0.62) 48%, rgba(12, 46, 65, 0.2) 100%),
    linear-gradient(0deg, rgba(9, 34, 48, 0.52), transparent 48%);
}

.fumigation-page .page-main {
  background: transparent;
}

.fumi-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.fumi-feature-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.35rem;
  border: 1px solid rgba(12, 35, 48, 0.12);
  background: #ffffff;
  color: #0c2330;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(9, 34, 48, 0.08);
}

.fumi-feature-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d5eef9;
}

.fumi-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fumi-feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.55rem 1.65rem 1.7rem;
}

.fumi-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0e6b8c;
  margin-bottom: 0.5rem;
}

.fumi-feature-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 0.94;
  text-transform: uppercase;
  color: #0c2330;
}

.fumi-feature-body > p {
  margin: 0.85rem 0 1.15rem;
  color: #3f5e70;
  font-size: 0.88rem;
  line-height: 1.65;
}

.fumi-checklist {
  list-style: none;
  margin: auto 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(12, 35, 48, 0.1);
  display: grid;
  gap: 0.55rem;
}

.fumi-checklist li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: #163749;
  font-size: 0.82rem;
  line-height: 1.5;
}

.fumi-checklist li::before {
  content: '—';
  color: #0e6b8c;
  font-weight: 700;
  flex-shrink: 0;
}

.fumi-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.fumi-pillar-card {
  padding: 1.35rem 1.4rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(12, 35, 48, 0.12);
  background: #ffffff;
  color: #0c2330;
}

.fumi-pillar-num {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0e6b8c;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.35rem;
}

.fumi-pillar-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 0.96;
  text-transform: uppercase;
  color: #0c2330;
}

.fumi-pillar-card p {
  margin: 0;
  color: #3f5e70;
  font-size: 0.82rem;
  line-height: 1.6;
}

.fumi-builder {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: 1.35rem;
  align-items: start;
}

.fumi-options-panel {
  min-width: 0;
  width: 100%;
  padding: 1.65rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(12, 35, 48, 0.12);
  background: #ffffff;
  color: #0c2330;
  box-shadow: 0 18px 42px rgba(9, 34, 48, 0.06);
}

.fumi-options-panel h2 {
  margin: 0.4rem 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: #0c2330;
}

.fumi-options-panel > p {
  margin: 0 0 1.25rem;
  color: #3f5e70;
  font-size: 0.85rem;
  line-height: 1.6;
}

.fumi-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.fumi-opt-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.28rem;
  min-height: 4.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(12, 35, 48, 0.14);
  background: #f0f8fd;
  color: #0c2330;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fumi-opt-btn:hover {
  border-color: #0e6b8c;
  background: #ffffff;
  transform: translateY(-1px);
}

.fumi-opt-btn[aria-pressed='true'] {
  border-color: #0d3b52;
  background: #0d3b52;
  color: #f7fbff;
  box-shadow: 0 10px 24px rgba(9, 34, 48, 0.2);
}

.fumi-opt-btn strong {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
}

.fumi-opt-btn span {
  font-size: 0.72rem;
  line-height: 1.42;
  color: #4a6778;
}

.fumi-opt-btn[aria-pressed='true'] span {
  color: rgba(196, 236, 253, 0.9);
}

.fumi-method-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.fumi-method-btn {
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(12, 35, 48, 0.16);
  background: #f0f8fd;
  color: #0c2330;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fumi-method-btn[aria-pressed='true'] {
  background: #0e6b8c;
  border-color: #0e6b8c;
  color: #f7fbff;
}

.fumi-inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.fumi-field {
  display: grid;
  gap: 0.35rem;
}

.fumi-field.full {
  grid-column: 1 / -1;
}

.fumi-field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #335466;
}

.fumi-field input,
.fumi-field textarea {
  width: 100%;
  border: 1px solid rgba(12, 35, 48, 0.18);
  border-radius: 0.7rem;
  padding: 0.72rem 0.85rem;
  background: #f2f9fe;
  color: #0c2330;
  font-size: 0.82rem;
}

.fumi-field input:focus,
.fumi-field textarea:focus {
  outline: none;
  border-color: #0e6b8c;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 107, 140, 0.16);
}

.fumi-field textarea {
  min-height: 5.2rem;
  resize: vertical;
}

.fumi-dispatch-card {
  position: sticky;
  top: 6.5rem;
  min-width: 0;
  width: 100%;
  padding: 1.65rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(140, 216, 247, 0.24);
  background: #0d2e40;
  color: #f0f8fc;
  box-shadow: 0 22px 50px rgba(9, 34, 48, 0.24);
}

.fumi-dispatch-card h3 {
  margin: 0.4rem 0 0.55rem;
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 0.94;
  text-transform: uppercase;
  color: #f7fbff;
}

.fumi-dispatch-card > p {
  margin: 0 0 1rem;
  color: #b4d2e0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.fumi-summary-preview {
  margin: 0 0 1.2rem;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(140, 216, 247, 0.18);
  background: #08202d;
  color: #f0f8fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 16rem;
  overflow-y: auto;
}

.fumi-action-stack {
  display: grid;
  gap: 0.65rem;
}

.fumi-wa-btn,
.fumi-mail-btn,
.fumi-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fumi-wa-btn {
  background: var(--sea);
  color: #082230;
  border: 1px solid rgba(196, 236, 253, 0.78);
}

.fumi-wa-btn:hover {
  background: #c4ecfd;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(140, 216, 247, 0.3);
}

.fumi-mail-btn {
  background: #123e54;
  color: #f7fbff;
  border: 1px solid rgba(140, 216, 247, 0.32);
}

.fumi-mail-btn:hover {
  background: #18516e;
  border-color: var(--sea);
  transform: translateY(-1px);
}

.fumi-copy-btn {
  background: transparent;
  color: var(--sea);
  border: 1px solid rgba(140, 216, 247, 0.26);
}

.fumi-copy-btn:hover {
  background: rgba(140, 216, 247, 0.1);
  border-color: var(--sea);
}

.fumi-status-note {
  margin: 0.75rem 0 0;
  min-height: 1.2em;
  font-size: 0.75rem;
  color: var(--sea);
}

@media (max-width: 960px) {
  .fumi-showcase-grid,
  .fumi-builder {
    grid-template-columns: minmax(0, 1fr);
  }
  .fumi-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fumi-dispatch-card {
    position: static;
  }
}

@media (max-width: 650px) {
  .fumi-pillars,
  .fumi-service-grid,
  .fumi-inputs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fumi-options-panel,
  .fumi-dispatch-card {
    padding: 1.2rem;
  }
  .fumi-method-btn,
  .fumi-wa-btn,
  .fumi-mail-btn,
  .fumi-copy-btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

/* Unified White-Golden Silk Transparency, Readability, and spring-text-engine Heading Motion */
body {
  background: transparent !important;
}

main#main,
main.page-main,
main {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.hero,
.parts-section,
.process-section,
.fleet-reviews-section,
.testimonials-page .page-main,
.inventory-page .page-main,
.fumigation-page .page-main,
.content-section,
.inventory-content,
.tumble-section,
.feedback-section {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

/* Keep dark contrast bands solid above the fixed silk layer */
.capability-strip,
.safety-preview,
.special-section,
.contact-section,
.site-footer,
.page-hero,
.inventory-hero {
  position: relative;
  z-index: 2;
}

/* Preserve crisp dark neutral grey #232629 on inventory safety cards */
#inventory .inventory-card {
  background: #232629;
}

/* Crisp dark ink legibility over bright white-golden silk in Day Mode */
html.theme-day .hero {
  color: #092230;
}

html.theme-day .hero .eyebrow {
  color: #0c3b54;
}

html.theme-day .hero .eyebrow::before {
  background: #0b5d82;
  box-shadow: 0 0 0 0.25rem rgba(11, 93, 130, 0.16);
}

html.theme-day .hero h1 {
  color: #092230;
  text-shadow: 0 2px 18px rgba(255, 252, 242, 0.88);
}

html.theme-day .hero h1 > span:not(.andros-te-root),
html.theme-day .hero h1 .andros-te-accent {
  color: #0b5d82;
}

html.theme-day .hero-lede {
  color: #163547;
  text-shadow: 0 1px 12px rgba(255, 252, 242, 0.88);
}

html.theme-day .hero-bottom-note {
  color: #163547;
  font-weight: 600;
}

html.theme-day .hero-bottom-note::before {
  background: #0b5d82;
}

html.theme-day .hero-orbit {
  border-color: rgba(12, 35, 48, 0.14);
}

html.theme-day .hero-orbit::before,
html.theme-day .hero-orbit::after {
  border-color: rgba(12, 35, 48, 0.09);
}

html.theme-day .hero-index,
html.theme-day .side-rail {
  color: #163547;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.72);
}

html.theme-day .parts-section .eyebrow,
html.theme-day .process-section .eyebrow,
html.theme-day .fleet-reviews-section .eyebrow,
html.theme-day .content-section .eyebrow,
html.theme-day .inventory-content .eyebrow,
html.theme-day .tumble-section .eyebrow,
html.theme-day .feedback-section .eyebrow {
  color: #0b4c69 !important;
}

html.theme-day .parts-section .muted-copy,
html.theme-day .process-section .muted-copy,
html.theme-day .parts-count,
html.theme-day .section-head p,
html.theme-day .inventory-head p,
html.theme-day .tumble-head p,
html.theme-day .feedback-head p,
html.theme-day .fleet-reviews-copy p,
html.theme-day .empty-results,
html.theme-day .empty-state {
  color: #1a3a4c;
}

html.theme-day .parts-section .section-heading em,
html.theme-day .parts-section .section-heading .andros-te-accent,
html.theme-day .process-section .section-heading em,
html.theme-day .process-section .section-heading .andros-te-accent,
html.theme-day .fleet-reviews-head h2 em,
html.theme-day .fleet-reviews-head h2 .andros-te-accent,
html.theme-day .section-head h2 > span:not(.andros-te-root),
html.theme-day .section-head h2 .andros-te-accent,
html.theme-day .inventory-head h2 > span:not(.andros-te-root),
html.theme-day .inventory-head h2 .andros-te-accent,
html.theme-day .tumble-head h2 > span:not(.andros-te-root),
html.theme-day .tumble-head h2 .andros-te-accent {
  color: #0b5d82;
}

/* Luminous high-contrast Night Mode ink & midnight surfaces over dark silk backdrop */
html:not(.theme-day) .hero {
  color: #f0f8fc;
}

html:not(.theme-day) .hero::after {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(140, 216, 247, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 216, 247, 0.14) 1px, transparent 1px);
}

html:not(.theme-day) .hero .eyebrow {
  color: #8cd8f7;
}

html:not(.theme-day) .hero .eyebrow::before {
  background: #8cd8f7;
  box-shadow: 0 0 0 0.25rem rgba(140, 216, 247, 0.24);
}

html:not(.theme-day) .hero h1 {
  color: #f7fbff;
  text-shadow: 0 4px 28px rgba(4, 16, 24, 0.88);
}

html:not(.theme-day) .hero h1 > span:not(.andros-te-root),
html:not(.theme-day) .hero h1 .andros-te-accent {
  color: #8cd8f7;
}

html:not(.theme-day) .hero-lede {
  color: #c4e0ed;
  text-shadow: 0 2px 16px rgba(4, 16, 24, 0.82);
}

html:not(.theme-day) .hero-bottom-note {
  color: #b8d6e6;
  font-weight: 600;
}

html:not(.theme-day) .hero-bottom-note::before {
  background: #8cd8f7;
}

html:not(.theme-day) .hero-orbit {
  border-color: rgba(140, 216, 247, 0.24);
}

html:not(.theme-day) .hero-orbit::before,
html:not(.theme-day) .hero-orbit::after {
  border-color: rgba(140, 216, 247, 0.14);
}

html:not(.theme-day) .hero-index,
html:not(.theme-day) .side-rail {
  color: rgba(214, 240, 252, 0.72);
  text-shadow: 0 1px 8px rgba(4, 16, 24, 0.75);
}

html:not(.theme-day) .eyebrow {
  color: #8cd8f7 !important;
}

html:not(.theme-day) .eyebrow::before {
  background: #8cd8f7;
  box-shadow: 0 0 0 0.25rem rgba(140, 216, 247, 0.22);
}

html:not(.theme-day) .parts-section .section-heading,
html:not(.theme-day) .process-section .section-heading,
html:not(.theme-day) .section-head h2,
html:not(.theme-day) .inventory-head h2,
html:not(.theme-day) .tumble-head h2,
html:not(.theme-day) .feedback-head h2,
html:not(.theme-day) .fleet-reviews-head h2 {
  color: #f7fbff;
  text-shadow: 0 2px 20px rgba(4, 16, 24, 0.72);
}

html:not(.theme-day) .parts-section .section-heading em,
html:not(.theme-day) .parts-section .section-heading .andros-te-accent,
html:not(.theme-day) .process-section .section-heading em,
html:not(.theme-day) .process-section .section-heading .andros-te-accent,
html:not(.theme-day) .fleet-reviews-head h2 em,
html:not(.theme-day) .fleet-reviews-head h2 .andros-te-accent,
html:not(.theme-day) .section-head h2 > span:not(.andros-te-root),
html:not(.theme-day) .section-head h2 .andros-te-accent,
html:not(.theme-day) .inventory-head h2 > span:not(.andros-te-root),
html:not(.theme-day) .inventory-head h2 .andros-te-accent,
html:not(.theme-day) .tumble-head h2 > span:not(.andros-te-root),
html:not(.theme-day) .tumble-head h2 .andros-te-accent {
  color: #8cd8f7;
}

html:not(.theme-day) .parts-section .muted-copy,
html:not(.theme-day) .process-section .muted-copy,
html:not(.theme-day) .parts-count,
html:not(.theme-day) .section-head p,
html:not(.theme-day) .inventory-head p,
html:not(.theme-day) .tumble-head p,
html:not(.theme-day) .feedback-head p,
html:not(.theme-day) .fleet-reviews-copy p,
html:not(.theme-day) .empty-results,
html:not(.theme-day) .empty-state {
  color: #b8d6e6;
}

html:not(.theme-day) #spares-count {
  color: #8cd8f7 !important;
}

/* Night Mode Fumigation Page surfaces (cards & options panel) */
.fumi-protocol-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #335466;
}

html:not(.theme-day) .fumi-protocol-label {
  color: #b8d6e6;
}

html:not(.theme-day) .fumi-feature-card,
html:not(.theme-day) .fumi-pillar-card,
html:not(.theme-day) .fumi-options-panel {
  background: rgba(9, 34, 48, 0.94);
  color: #f0f8fc;
  border-color: rgba(140, 216, 247, 0.24);
  box-shadow: 0 20px 50px rgba(2, 10, 16, 0.45);
}

html:not(.theme-day) .fumi-kicker,
html:not(.theme-day) .fumi-pillar-num,
html:not(.theme-day) .fumi-checklist li::before {
  color: #8cd8f7;
}

html:not(.theme-day) .fumi-feature-body h3,
html:not(.theme-day) .fumi-pillar-card h3,
html:not(.theme-day) .fumi-options-panel h2 {
  color: #f7fbff;
}

html:not(.theme-day) .fumi-feature-body > p,
html:not(.theme-day) .fumi-pillar-card p,
html:not(.theme-day) .fumi-options-panel > p {
  color: #b8d6e6;
}

html:not(.theme-day) .fumi-checklist {
  border-top-color: rgba(140, 216, 247, 0.16);
}

html:not(.theme-day) .fumi-checklist li {
  color: #d8eef9;
}

html:not(.theme-day) .fumi-opt-btn,
html:not(.theme-day) .fumi-method-btn {
  background: #071b28;
  color: #f0f8fc;
  border-color: rgba(140, 216, 247, 0.24);
}

html:not(.theme-day) .fumi-opt-btn:hover,
html:not(.theme-day) .fumi-method-btn:hover {
  background: #0e3447;
  border-color: var(--sea);
}

html:not(.theme-day) .fumi-opt-btn span {
  color: #a6c8d9;
}

html:not(.theme-day) .fumi-opt-btn[aria-pressed='true'],
html:not(.theme-day) .fumi-method-btn[aria-pressed='true'] {
  background: var(--sea);
  border-color: var(--sea);
  color: #082230;
}

html:not(.theme-day) .fumi-opt-btn[aria-pressed='true'] span {
  color: #092230;
}

html:not(.theme-day) .fumi-field label {
  color: #b8d6e6;
}

html:not(.theme-day) .fumi-field input,
html:not(.theme-day) .fumi-field textarea {
  background: #05141e;
  color: #f0f8fc;
  border-color: rgba(140, 216, 247, 0.26);
}

html:not(.theme-day) .fumi-field input::placeholder,
html:not(.theme-day) .fumi-field textarea::placeholder {
  color: #7ca3b8;
}

html:not(.theme-day) .fumi-field input:focus,
html:not(.theme-day) .fumi-field textarea:focus {
  background: #071b28;
  border-color: var(--sea);
}

/* Strict spring-text-engine Pop Words compliance: zero CSS keyframes/transitions on headings */
h1, h2, h3, h4, h5, h6 {
  transition: none !important;
  animation: none !important;
}

.hero-copy > h1,
.hero-copy > h2,
.intro-title {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.andros-te-root {
  display: block;
  width: 100%;
}

.andros-te-line {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: baseline;
}

.andros-te-line span,
.andros-te-line em,
.andros-te-line strong,
.hero h1 .andros-te-line span,
.special-copy h2 .andros-te-line em,
.modal-top h2 .andros-te-line span,
.page-hero h1 .andros-te-line span,
.inventory-hero h1 .andros-te-line span,
.section-head h2 .andros-te-line span,
.safety-intro h2 .andros-te-line span {
  display: inline-block;
}

/* =========================================================================
   DUAL WHATSAPP DM & GMAIL COMPOSE STATUS LINKS
   ========================================================================= */

.rfq-hotline-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rfq-wa-links,
.status-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: center;
}

.rfq-wa-links a,
.status-link-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b5d82;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html:not(.theme-day) .rfq-wa-links a,
html:not(.theme-day) .status-link-row a {
  color: #8cd8f7;
}

.andros-rfq-status,
#contact-status {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* =========================================================================
   SERVICES PAGE & THREE.JS PAPER CAROUSEL
   ========================================================================= */

.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.svc-carousel-shell {
  display: grid;
  gap: 1.15rem;
}

.pc-frame {
  --pc-width: 100%;
  --pc-height: clamp(320px, 48vw, 490px);
  --pc-radius: 1.2rem;
  --pc-bg: rgba(255, 252, 242, 0.48);
  --pc-ink: #092230;
  --pc-icon: #f7fbff;
  --pc-ratio: 0.75;
  --pc-visible: 5;
  --pc-tilt: 9deg;
  --pc-shadow: drop-shadow(0 16px 34px rgba(9, 34, 48, 0.22));
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(207, 153, 56, 0.34);
  background: rgba(255, 250, 236, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 22px 54px rgba(9, 34, 48, 0.14);
}

html:not(.theme-day) .pc-frame {
  --pc-bg: rgba(5, 20, 30, 0.72);
  --pc-ink: #8cd8f7;
  --pc-icon: #041018;
  --pc-shadow: drop-shadow(0 18px 36px rgba(2, 10, 16, 0.56));
  border-color: rgba(140, 216, 247, 0.28);
  background: rgba(5, 20, 30, 0.76);
  box-shadow: 0 24px 60px rgba(2, 10, 16, 0.55);
}

.pc-root {
  position: relative;
  width: 100%;
  height: var(--pc-height);
  border-radius: var(--pc-radius);
  background: transparent;
  overflow: hidden;
  outline: none;
  container-type: size;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.pc-root[data-draggable] {
  cursor: grab;
}

.pc-root[data-dragging] {
  cursor: grabbing;
}

.pc-root:focus-visible::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--pc-ink);
  pointer-events: none;
}

.pc-gl {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pc-canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: var(--pc-shadow, none);
}

.pc-still {
  display: none;
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(72vw, 440px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
  transform: translate(-50%, -50%);
  filter: var(--pc-shadow, none);
}

.pc-root[data-pc-fallback] .pc-still {
  display: block;
}

.pc-controls {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.pc-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(140, 216, 247, 0.35);
  border-radius: 50%;
  background: var(--pc-ink);
  color: var(--pc-icon);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(4, 16, 24, 0.24);
}

.pc-btn:hover {
  transform: scale(1.06);
}

.pc-btn:active {
  transform: scale(0.95);
}

.pc-btn:focus-visible {
  outline: 2px solid var(--pc-ink);
  outline-offset: 3px;
}

.pc-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pc-icon .pc-fill {
  fill: currentColor;
  stroke: none;
}

.pc-icon-play,
.pc-toggle[data-paused] .pc-icon-pause {
  display: none;
}

.pc-toggle[data-paused] .pc-icon-play {
  display: block;
}

.pc-sr,
.pc-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.svc-slide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.svc-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(9, 34, 48, 0.22);
  border-radius: 0.55rem;
  background: rgba(255, 252, 242, 0.88);
  color: #092230;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.svc-jump-btn span {
  font-family: var(--display);
  font-size: 0.82rem;
  color: #0b5d82;
}

.svc-jump-btn[aria-pressed='true'] {
  background: #092230;
  border-color: #092230;
  color: #f7fbff;
}

.svc-jump-btn[aria-pressed='true'] span {
  color: #8cd8f7;
}

html:not(.theme-day) .svc-jump-btn {
  background: rgba(9, 34, 48, 0.82);
  border-color: rgba(140, 216, 247, 0.26);
  color: #d8eef9;
}

html:not(.theme-day) .svc-jump-btn span {
  color: #8cd8f7;
}

html:not(.theme-day) .svc-jump-btn[aria-pressed='true'] {
  background: #8cd8f7;
  border-color: #8cd8f7;
  color: #041018;
}

html:not(.theme-day) .svc-jump-btn[aria-pressed='true'] span {
  color: #041018;
}

.svc-active-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.35rem 2rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(9, 34, 48, 0.16);
  background: rgba(255, 252, 244, 0.92);
  color: #092230;
  box-shadow: 0 18px 42px rgba(9, 34, 48, 0.08);
}

html:not(.theme-day) .svc-active-brief {
  background: rgba(9, 34, 48, 0.94);
  border-color: rgba(140, 216, 247, 0.28);
  color: #f0f8fc;
  box-shadow: 0 22px 54px rgba(2, 10, 16, 0.45);
}

.svc-brief-kicker,
.svc-card-tag {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b5d82;
}

html:not(.theme-day) .svc-brief-kicker,
html:not(.theme-day) .svc-card-tag {
  color: #8cd8f7;
}

.pc-active-title {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.svc-brief-summary {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  line-height: 1.62;
  color: #1a3a4c;
}

html:not(.theme-day) .svc-brief-summary {
  color: #c4e0ed;
}

.svc-brief-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #092230;
}

.svc-brief-bullets li::before {
  content: '✓ ';
  color: #0b5d82;
  font-weight: 800;
}

html:not(.theme-day) .svc-brief-bullets {
  color: #f0f8fc;
}

html:not(.theme-day) .svc-brief-bullets li::before {
  color: #8cd8f7;
}

.svc-brief-actions,
.svc-manning-contacts,
.svc-hq-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.svc-brief-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.svc-brief-btn:hover {
  transform: translateY(-1px);
}

.svc-brief-btn.is-primary {
  background: #092230;
  color: #f7fbff;
  border: 1px solid #092230;
}

.svc-brief-btn.is-gmail {
  background: #0b5d82;
  color: #ffffff;
  border: 1px solid #0b5d82;
}

.svc-brief-btn.is-wa {
  background: #0d6e4e;
  color: #ffffff;
  border: 1px solid #0d6e4e;
}

.svc-brief-btn.is-secondary {
  background: rgba(9, 34, 48, 0.08);
  color: #092230;
  border: 1px solid rgba(9, 34, 48, 0.25);
}

html:not(.theme-day) .svc-brief-btn.is-primary {
  background: #8cd8f7;
  color: #041018;
  border-color: #8cd8f7;
}

html:not(.theme-day) .svc-brief-btn.is-secondary {
  background: rgba(140, 216, 247, 0.12);
  color: #f0f8fc;
  border-color: rgba(140, 216, 247, 0.34);
}

.svc-division-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.svc-card,
.svc-entity-card,
.svc-manning-panel,
.svc-flag-panel,
.svc-hq-strip,
html.theme-day .svc-card.glass-card,
html.theme-day .svc-entity-card.glass-card,
html.theme-day .svc-manning-panel.glass-card,
html.theme-day .svc-flag-panel.glass-card,
html.theme-day .svc-hq-strip.glass-card {
  border-radius: 1rem;
  border: 1px solid rgba(9, 34, 48, 0.16);
  background: rgba(255, 252, 244, 0.94);
  color: #092230;
  box-shadow: 0 16px 38px rgba(9, 34, 48, 0.08);
}

html:not(.theme-day) .svc-card,
html:not(.theme-day) .svc-card.glass-card,
html:not(.theme-day) .svc-entity-card,
html:not(.theme-day) .svc-entity-card.glass-card,
html:not(.theme-day) .svc-manning-panel,
html:not(.theme-day) .svc-manning-panel.glass-card,
html:not(.theme-day) .svc-flag-panel,
html:not(.theme-day) .svc-flag-panel.glass-card,
html:not(.theme-day) .svc-hq-strip,
html:not(.theme-day) .svc-hq-strip.glass-card {
  background: rgba(9, 34, 48, 0.94);
  border-color: rgba(140, 216, 247, 0.24);
  color: #f0f8fc;
  box-shadow: 0 22px 54px rgba(2, 10, 16, 0.45);
}

.svc-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-card-img,
.svc-entity-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.svc-card-body,
.svc-entity-body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.svc-card-body h3,
.svc-entity-body h3,
.svc-manning-panel h3,
.svc-flag-panel h3,
.svc-hq-main h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.06;
  text-transform: uppercase;
}

.svc-card-body > p,
.svc-entity-body > p,
.svc-manning-head p,
.svc-hq-main p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.58;
  color: #1a3a4c;
}

html:not(.theme-day) .svc-card-body > p,
html:not(.theme-day) .svc-entity-body > p,
html:not(.theme-day) .svc-manning-head p,
html:not(.theme-day) .svc-hq-main p {
  color: #c4e0ed;
}

.svc-list {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
  font-size: 0.77rem;
  line-height: 1.48;
  border-top: 1px solid rgba(9, 34, 48, 0.12);
  padding-top: 0.75rem;
}

html:not(.theme-day) .svc-list {
  border-top-color: rgba(140, 216, 247, 0.16);
}

.svc-card-links {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.svc-card-links a,
.svc-contact-dl a,
.svc-hq-main a {
  color: #0b5d82;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html:not(.theme-day) .svc-card-links a,
html:not(.theme-day) .svc-contact-dl a,
html:not(.theme-day) .svc-hq-main a {
  color: #8cd8f7;
}

.svc-manning-panel,
.svc-flag-panel,
.svc-hq-strip {
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.svc-manning-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
  margin-bottom: 1.15rem;
}

.svc-manning-head > div:first-child {
  max-width: 44rem;
}

.svc-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.svc-pillar-cell,
.svc-command-row article,
.svc-flag-item {
  padding: 0.85rem 0.95rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(9, 34, 48, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

html:not(.theme-day) .svc-pillar-cell,
html:not(.theme-day) .svc-command-row article,
html:not(.theme-day) .svc-flag-item {
  background: #071b28;
  border-color: rgba(140, 216, 247, 0.2);
}

.svc-pillar-cell span {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0b5d82;
  margin-bottom: 0.25rem;
}

html:not(.theme-day) .svc-pillar-cell span {
  color: #8cd8f7;
}

.svc-pillar-cell strong,
.svc-flag-item strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
}

.svc-command-row,
.svc-flags-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.svc-command-row h4 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.svc-command-row p,
.svc-flag-item span {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.48;
  color: #1a3a4c;
}

html:not(.theme-day) .svc-command-row p,
html:not(.theme-day) .svc-flag-item span {
  color: #b8d6e6;
}

.svc-entity-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.svc-entity-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-contact-dl {
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(9, 34, 48, 0.12);
  display: grid;
  gap: 0.5rem;
}

html:not(.theme-day) .svc-contact-dl {
  border-top-color: rgba(140, 216, 247, 0.16);
}

.svc-contact-dl div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.5rem;
  font-size: 0.77rem;
  line-height: 1.45;
}

.svc-contact-dl dt {
  font-weight: 700;
  color: #0b5d82;
}

html:not(.theme-day) .svc-contact-dl dt {
  color: #8cd8f7;
}

.svc-contact-dl dd {
  margin: 0;
  word-break: break-word;
}

.svc-hq-strip {
  display: grid;
  gap: 1rem;
}

@media (max-width: 1020px) {
  .svc-division-grid,
  .svc-pillars-grid,
  .svc-command-row,
  .svc-flags-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc-active-brief,
  .svc-entity-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .svc-division-grid,
  .svc-pillars-grid,
  .svc-command-row,
  .svc-flags-grid {
    grid-template-columns: 1fr;
  }
  .svc-contact-dl div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .pc-frame {
    --pc-height: 300px;
  }
}

/* =========================================================================
   ADMIN ACCESS CMS MODAL & FORM CONTROLS
   ========================================================================= */

#andros-admin-modal .andros-modal-panel {
  max-width: 50rem;
  background: #092230;
  border: 1px solid rgba(140, 216, 247, 0.32);
  border-radius: 1.15rem;
  color: #f0f8fc;
  box-shadow: 0 28px 75px rgba(2, 12, 18, 0.72);
  color-scheme: dark;
  overflow: hidden;
}

#andros-admin-modal .admin-modal-head {
  background: #0e3447;
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(140, 216, 247, 0.18);
}

#andros-admin-modal .admin-head-badge {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--sea);
  color: #082230;
  border-radius: 0.55rem;
}

#andros-admin-modal .admin-head-badge .icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: #082230;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#andros-admin-modal h3,
#andros-admin-modal h4 {
  font-family: var(--sans, 'Onest', sans-serif);
}

#andros-admin-modal h4 .andros-te-line {
  column-gap: 0.38em !important;
}

#andros-admin-modal [hidden],
#andros-admin-modal .cms-grid[hidden] {
  display: none !important;
}

#andros-admin-modal .cms-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(140, 216, 247, 0.16);
}

#andros-admin-modal .cms-tab-btn {
  padding: 0.48rem 0.9rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(140, 216, 247, 0.22);
  background: #061822;
  color: #b8d8e8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

#andros-admin-modal .cms-tab-btn:hover {
  border-color: rgba(140, 216, 247, 0.5);
  color: #ffffff;
}

#andros-admin-modal .cms-tab-btn.is-active {
  background: var(--sea);
  border-color: var(--sea);
  color: #082230;
  font-weight: 700;
}

#andros-admin-modal .cms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 640px) {
  #andros-admin-modal .cms-grid {
    grid-template-columns: 1fr;
  }
}

#andros-admin-modal .cms-field {
  display: grid;
  gap: 0.3rem;
}

#andros-admin-modal .cms-field.full {
  grid-column: 1 / -1;
}

#andros-admin-modal .cms-field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9dc3d6;
}

#andros-admin-modal .cms-field input,
#andros-admin-modal .cms-field select {
  width: 100%;
  padding: 0.62rem 0.78rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(140, 216, 247, 0.26);
  background: #05141e !important;
  color: #f7fbff !important;
  color-scheme: dark;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

#andros-admin-modal .cms-field input:focus,
#andros-admin-modal .cms-field select:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(140, 216, 247, 0.18);
}

#andros-admin-modal .cms-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(184, 228, 247, 0.8);
  background: var(--sea);
  color: #082230;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

#andros-admin-modal .cms-btn-primary:hover {
  background: #c4ecfd;
  transform: translateY(-1px);
}

#andros-admin-modal .cms-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(140, 216, 247, 0.34);
  background: #0e3447;
  color: #e6f5fc;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

#andros-admin-modal .cms-btn-outline:hover {
  background: #144862;
  border-color: var(--sea);
}

