/* HOGUE DRONE SERVICES — carbon fibre, machined gold and tactile contact actions. */
html[data-hogue-platform="hds"],
html[data-hogue-platform="flightframe"] {
  --hds-cg-gold: #d2b477;
  --hds-cg-gold-light: #f4e4bc;
  --hds-cg-gold-edge: #8c7345;
  --hds-cg-metal: linear-gradient(132deg,
    #6e542d 0%, #b99856 13%, #f5e7c3 24%, #a07d40 36%,
    #d4b475 49%, #fff0c9 58%, #96723c 72%, #d0ae6c 88%, #69502c 100%);
  --hds-cg-letter: linear-gradient(112deg,
    #b99859 0%, #f5e4b8 29%, #c9a762 45%, #fff0cc 59%, #c3a162 82%, #e6ce98 100%);
  --hds-cg-carbon-face:
    linear-gradient(118deg, #ffffff05, #00000024) padding-box,
    linear-gradient(27deg, #111315 2.5px, transparent 2.5px) 0 2.5px / 10px 10px padding-box,
    linear-gradient(207deg, #111315 2.5px, transparent 2.5px) 5px 0 / 10px 10px padding-box,
    linear-gradient(27deg, #141719 2.5px, transparent 2.5px) 0 5px / 10px 10px padding-box,
    linear-gradient(207deg, #141719 2.5px, transparent 2.5px) 5px 2.5px / 10px 10px padding-box,
    linear-gradient(90deg, #0c0e10 5px, transparent 5px) 0 0 / 10px 10px padding-box,
    linear-gradient(#111315 25%, #0b0d0f 25%, #0b0d0f 50%, transparent 50%, transparent 75%, #141719 75%) 0 0 / 10px 10px padding-box,
    linear-gradient(#0a0c0e, #0a0c0e) padding-box;
  --hds-cg-red-face: radial-gradient(ellipse at 36% 14%,
    #bc3c35 0%, #a82425 32%, #7c151c 68%, #500b12 100%);
  --hds-cg-green-face: radial-gradient(ellipse at 36% 14%,
    #267c50 0%, #14623e 35%, #0d482f 70%, #082d20 100%);
}

/* Static woven material: no fixed background, blur or perpetual texture animation. */
html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body {
  background-color: #090b0d;
  background: var(--hds-cg-carbon-face);
  background-attachment: scroll;
  color: #f3f5f7;
}
html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body :is(.hds-masthead, .site-header, .footer),
html[data-hogue-platform="flightframe"] body :is(.mast, .hogue-collection-invite) {
  background-color: #0c0e10;
  background: var(--hds-cg-carbon-face), var(--hds-cg-metal) border-box;
  border-color: transparent;
  box-shadow: inset 0 1px 0 #ffffff0a, 0 1px 0 #d2b47740;
  backdrop-filter: none;
}
html[data-hogue-platform="hds"] body .hds-masthead::after {
  animation: none;
  opacity: .2;
}
html[data-hogue-platform="hds"] body :is(.hero, .page-hero, .section.alt, .hds-re-feature) {
  background-color: #0b0e10;
  background-image: linear-gradient(120deg, #1c20215c, #080a0c3d);
  border-color: #c6a9702e;
}
html[data-hogue-platform="hds"] body :is(.card, .growth-card, .banner, .growth-banner, .hds-new-collection, .hds-license-card) {
  background-color: #111519;
  background-image: linear-gradient(125deg, #ffffff03, transparent 65%);
  border-color: #aa8d554d;
  box-shadow: inset 0 1px 0 #f8e4b80a;
}
html[data-hogue-platform="hds"] body :is(.eyebrow, .hl-eyebrow, .hds-brand-lockup small) {
  color: #d5bd8a;
}
html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body :is(.btn, .hds-chip, .nav-cta, .menu-btn, .hds-hometown-link, .site-header .navlinks > a),
html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body.hds-precision-home .hds-brand-row .hds-contact-actions > a.hds-chip.hds-quote {
  background: var(--hds-cg-carbon-face), var(--hds-cg-metal) border-box !important;
  border-color: transparent !important;
  color: #f3f0e9 !important;
  box-shadow: inset 0 1px 0 #f6dfad21, inset 0 -1px 0 #0008;
  text-shadow: 0 1px 1px #0008;
}

/* Both platform entries retain their current layout and their original destinations. */
html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body .hds-app-tile {
  background-color: #0c0f11;
  background: var(--hds-cg-carbon-face), var(--hds-cg-metal) border-box;
  border-style: solid;
  border-color: transparent;
  box-shadow: inset 0 1px 0 #ffedc521, inset 0 -1px 0 #000b, 0 6px 16px #0003;
  color: #f3f0e9;
  transition: box-shadow 180ms ease;
}
html[data-hogue-platform="hds"] body .hds-app-tile::after {
  content: none;
  animation: none;
}
html[data-hogue-platform="hds"] body .hds-app-tile strong {
  color: #ecd39e;
  text-shadow: 0 1px 1px #0008;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  html[data-hogue-platform="hds"] body .hds-app-tile strong {
    background-image: var(--hds-cg-letter);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}
html[data-hogue-platform="hds"] body .hds-app-tile :is(small, .hds-app-description) {
  color: #c9c6bf;
}
html[data-hogue-platform="hds"] body .hds-app-tile :is(.hds-app-icon, .hds-tile-arrow) {
  color: #ead4a4;
}
html[data-hogue-platform="hds"] body .hds-app-tile .hds-app-icon {
  background: linear-gradient(140deg, #e7c78617, #0b0e10 74%);
  border-color: #c8aa6d70;
  box-shadow: inset 0 1px 0 #fff0ce16;
}
html[data-hogue-platform="hds"] body .hds-sighting-link {
  background: linear-gradient(125deg, #18201b, #0c1712);
  border-color: #8c80554d;
  color: #e4efe7;
}
html[data-hogue-platform="hds"] body .hds-command-scene {
  border-color: #b998586b;
}

/* Dark red faces with a narrow metallic rim. Text and link semantics are unchanged. */
html[data-hogue-platform="hds"] body .hds-emergency-button,
html:is([data-hogue-platform="hds"], [data-hogue-platform="flightframe"]) body #hogue-fixed-phone {
  --hds-cg-switch-face: var(--hds-cg-red-face);
  background: var(--hds-cg-switch-face) padding-box, var(--hds-cg-metal) border-box !important;
  border-color: transparent !important;
  color: #fff8e9 !important;
  text-shadow: 0 1px 2px #31080cb3;
  box-shadow: inset 0 2px 1px #ffb7a842, inset 0 -4px 2px #36060bbf,
    0 3px 0 #060708, 0 7px 16px #0005 !important;
  outline: 1px solid #060708;
  outline-offset: 1px;
  filter: none;
  transition: box-shadow 160ms ease, outline-color 160ms ease !important;
  -webkit-tap-highlight-color: #e5c4822e;
}
/* A slow, local halo gives the red action a tactile presence without moving it. */
html[data-hogue-platform="hds"] body .hds-emergency-button {
  position: relative;
  isolation: isolate;
}
html[data-hogue-platform="hds"] body .hds-emergency-button::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid #cf344338;
  border-radius: inherit;
  box-shadow: 0 0 16px 3px #b9233547;
  opacity: .14;
  pointer-events: none;
  animation: hds-contact-halo 6s ease-in-out infinite;
}
@keyframes hds-contact-halo {
  0%, 100% { opacity: .14; }
  50% { opacity: .4; }
}
html[data-hogue-platform="hds"] body .hds-emergency-button:is(:focus-visible, :active)::before {
  animation: none;
  border-color: #5abb8338;
  box-shadow: 0 0 16px 3px #239d6547;
  opacity: .35;
}
html[data-hogue-platform="hds"] body .hds-emergency-button:focus-visible,
html:is([data-hogue-platform="hds"], [data-hogue-platform="flightframe"]) body #hogue-fixed-phone:focus-visible {
  --hds-cg-switch-face: var(--hds-cg-green-face);
  outline: 3px solid #ffe4a8 !important;
  outline-offset: 4px !important;
  box-shadow: inset 0 2px 1px #b0f0c833, inset 0 -4px 2px #04291bbf,
    0 3px 0 #060708, 0 7px 18px #0005 !important;
}
@media screen and (hover: hover) and (pointer: fine) and (forced-colors: none) {
  html[data-hogue-platform="hds"] body .hds-emergency-button:hover::before {
    animation: none;
    border-color: #5abb8338;
    box-shadow: 0 0 16px 3px #239d6547;
    opacity: .35;
  }
  html[data-hogue-platform="hds"] body .hds-emergency-button:hover,
  html:is([data-hogue-platform="hds"], [data-hogue-platform="flightframe"]) body #hogue-fixed-phone:hover {
    --hds-cg-switch-face: var(--hds-cg-green-face);
    filter: none;
    box-shadow: inset 0 2px 1px #b0f0c840, inset 0 -4px 2px #04291bbf,
      0 3px 0 #060708, 0 8px 20px #0006 !important;
  }
  html[data-hogue-platform="hds"] body .hds-app-tile:is(:hover, :focus-within) {
    box-shadow: inset 0 1px 0 #ffedc538, inset 0 -1px 0 #000b, 0 7px 18px #0004;
    transform: none;
    filter: none;
  }
  html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body :is(.btn, .hds-chip, .nav-cta, .menu-btn, .hds-hometown-link, .site-header .navlinks > a):hover,
  html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body.hds-precision-home .hds-brand-row .hds-contact-actions > a.hds-chip.hds-quote:hover {
    background: linear-gradient(125deg, #252923, #151a1d) padding-box, var(--hds-cg-metal) border-box !important;
    border-color: transparent !important;
    color: #fff8e9 !important;
    box-shadow: inset 0 1px 0 #fff1cd38, inset 0 -1px 0 #0008;
    filter: none;
  }
}
html[data-hogue-platform="hds"] body .hds-emergency-button:active,
html:is([data-hogue-platform="hds"], [data-hogue-platform="flightframe"]) body #hogue-fixed-phone:active {
  --hds-cg-switch-face: var(--hds-cg-green-face);
  box-shadow: inset 0 3px 6px #031c17b3, inset 0 -1px 0 #b8edc81f, 0 1px 0 #060708 !important;
}
/* Keep the fixed call target in exactly the same position in every state. */
html:is([data-hogue-platform="hds"], [data-hogue-platform="flightframe"]) body #hogue-fixed-phone:is(:hover, :focus, :active) {
  transform: none !important;
  translate: none !important;
  scale: none !important;
}

/* FlightFrame retains its light reading surface; metal and carbon frame the content. */
html[data-hogue-platform="flightframe"] body .mast nav a[aria-current="page"]::after {
  background: var(--hds-cg-metal);
}
html[data-hogue-platform="flightframe"] body .mast :is(.plain-btn, .profile-trigger) {
  border-color: #b4965d99;
  background: #151b1e;
  color: #f5eddc;
}
html[data-hogue-platform="flightframe"] body .mast .dark-btn {
  background: var(--hds-cg-letter);
  color: #17130c;
  border-color: #e5c98c;
  text-shadow: 0 1px 0 #fff6dd5c;
}
html[data-hogue-platform="flightframe"] body .hogue-collection-invite a {
  border-color: #c9aa6c;
  color: #f2dfb7;
}
html[data-hogue-platform="flightframe"] body .mast nav a:hover {
  color: #f4dfb2;
}

@media (prefers-reduced-motion: reduce) {
  html[data-hogue-platform="hds"] body .hds-emergency-button::before {
    animation: none !important;
    opacity: 0 !important;
  }
  html[data-hogue-platform="hds"] body :is(.hds-app-tile, .hds-emergency-button),
  html:is([data-hogue-platform="hds"], [data-hogue-platform="flightframe"]) body #hogue-fixed-phone {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
@media (forced-colors: active) {
  html[data-hogue-platform="hds"] body .hds-emergency-button::before {
    display: none;
    animation: none;
  }
  html[data-hogue-platform="hds"] body .hds-app-tile strong {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
  html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body :is(.btn, .hds-chip, .nav-cta, .menu-btn, .hds-hometown-link, .site-header .navlinks > a),
  html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body.hds-precision-home .hds-brand-row .hds-contact-actions > a.hds-chip.hds-quote {
    background: Canvas !important;
    border-color: ButtonText !important;
    color: ButtonText !important;
    box-shadow: none;
    text-shadow: none;
  }
  html[data-hogue-platform="hds"] body :is(.hds-app-tile, .hds-emergency-button),
  html:is([data-hogue-platform="hds"], [data-hogue-platform="flightframe"]) body #hogue-fixed-phone {
    background: Canvas !important;
    border-color: ButtonText !important;
    color: ButtonText !important;
    box-shadow: none !important;
    text-shadow: none;
    outline-color: Highlight !important;
  }
}
@media print {
  html[data-hogue-platform="hds"] body .hds-emergency-button::before {
    display: none;
    animation: none;
  }
  html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body :is(.btn, .hds-chip, .nav-cta, .menu-btn, .hds-hometown-link, .site-header .navlinks > a),
  html[data-hogue-platform="hds"][data-hogue-theme="carbon"] body.hds-precision-home .hds-brand-row .hds-contact-actions > a.hds-chip.hds-quote {
    background: #fff !important;
    border-color: #555 !important;
    color: #000 !important;
    box-shadow: none;
    text-shadow: none;
  }
  html[data-hogue-platform="hds"] body,
  html[data-hogue-platform="hds"] body :is(.hds-masthead, .site-header, .footer, .hds-app-tile),
  html[data-hogue-platform="flightframe"] body :is(.mast, .hogue-collection-invite) {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none;
  }
  html[data-hogue-platform="hds"] body .hds-app-tile strong {
    background: none;
    color: #000;
  }
  html:is([data-hogue-platform="hds"], [data-hogue-platform="flightframe"]) body #hogue-fixed-phone {
    display: none !important;
  }
}
