/* Hawk Eye v7.0 — Studio + Homepage binding contract */
:root{
  --hk-home-title:var(--hk-theme-text);
  --hk-home-description:var(--hk-theme-muted);
  --hk-home-eyebrow:var(--hk-theme-accent-2);
}
/* Global Studio token ownership: Hawk shell + compatibility layers inherit Hawk runtime tokens. */
html[data-hawk-theme="dark"] body.hk-body,
html:not([data-hawk-theme="light"]) body.hk-body{
  background-color:var(--hk-theme-bg)!important;
  color:var(--hk-theme-text)!important;
}
html[data-hawk-theme="light"] body.hk-body{
  background-color:var(--hk-theme-bg)!important;
  color:var(--hk-theme-text)!important;
}
.hk-body .hkn-header{color:var(--hk-theme-text)}
.hk-body :where(.hkn-shell,.hkn-menu,.hkn-mobile){font-family:var(--hk-font)!important}
.hk-body :where(.hkn-brand__name,.hkn-menu__eyebrow span){font-family:var(--hk-heading-font,var(--hk-font))!important}

/* Homepage Studio values are scoped per section and never leak into product/card internals. */
.hk-home>[data-home-section]{
  box-sizing:border-box;
  padding-top:var(--home-pad-top,initial);
  padding-bottom:var(--home-pad-bottom,initial);
  padding-inline:var(--home-pad-inline,initial);
  margin-top:var(--home-margin-top,initial);
  margin-bottom:var(--home-margin-bottom,initial);
  border-width:var(--home-border-width,0);
  border-style:solid;
  border-color:var(--home-dark-border,var(--hk-theme-line));
  border-radius:var(--home-radius,initial);
  background-color:var(--home-dark-bg,transparent);
}
html[data-hawk-theme="light"] .hk-home>[data-home-section]{
  background-color:var(--home-light-bg,transparent);
  border-color:var(--home-light-border,var(--hk-theme-line));
}
.hk-home>[data-home-section] :where(.hk-eyebrow,.hk-app-showcase__kicker,.hk-product-arsenal__kicker,.hk-digital-vaults__kicker,.hk-card-market__kicker,.hk-cat-editorial__kicker,.hk-review-lounge__eyebrow){color:var(--home-dark-eyebrow,var(--hk-theme-accent-2))!important}
.hk-home>[data-home-section] :where(.hk-section-head h2,.hk-app-showcase__heading h2,.hk-product-arsenal__copy h2,.hk-digital-vaults__copy h2,.hk-card-market__title h2,.hk-cat-editorial__intro h2,.hk-review-lounge__heading h2){color:var(--home-dark-title,var(--hk-theme-text))!important;font-size:var(--home-title-size,inherit)!important}
.hk-home>[data-home-section] :where(.hk-section-head p,.hk-app-showcase__heading p,.hk-product-arsenal__copy p,.hk-digital-vaults__copy p,.hk-card-market__title p,.hk-cat-editorial__intro p,.hk-review-lounge__heading p){color:var(--home-dark-description,var(--hk-theme-muted))!important;font-size:var(--home-description-size,inherit)!important}
html[data-hawk-theme="light"] .hk-home>[data-home-section] :where(.hk-eyebrow,.hk-app-showcase__kicker,.hk-product-arsenal__kicker,.hk-digital-vaults__kicker,.hk-card-market__kicker,.hk-cat-editorial__kicker,.hk-review-lounge__eyebrow){color:var(--home-light-eyebrow,var(--hk-theme-accent))!important}
html[data-hawk-theme="light"] .hk-home>[data-home-section] :where(.hk-section-head h2,.hk-app-showcase__heading h2,.hk-product-arsenal__copy h2,.hk-digital-vaults__copy h2,.hk-card-market__title h2,.hk-cat-editorial__intro h2,.hk-review-lounge__heading h2){color:var(--home-light-title,var(--hk-theme-text))!important}
html[data-hawk-theme="light"] .hk-home>[data-home-section] :where(.hk-section-head p,.hk-app-showcase__heading p,.hk-product-arsenal__copy p,.hk-digital-vaults__copy p,.hk-card-market__title p,.hk-cat-editorial__intro p,.hk-review-lounge__heading p){color:var(--home-light-description,var(--hk-theme-muted))!important}
.hk-home>[data-home-align="center"] :where(.hk-section-head,.hk-app-showcase__head,.hk-product-arsenal__head,.hk-digital-vaults__head,.hk-card-market__head,.hk-cat-editorial__head,.hk-review-lounge__hero){text-align:center;justify-content:center}
.hk-home>[data-home-align="center"] :where(.hk-section-head>div,.hk-app-showcase__heading,.hk-product-arsenal__copy,.hk-digital-vaults__copy,.hk-card-market__title,.hk-cat-editorial__intro,.hk-review-lounge__heading){margin-inline:auto}
.hk-home>[data-home-align="left"] :where(.hk-section-head,.hk-app-showcase__head,.hk-product-arsenal__head,.hk-digital-vaults__head,.hk-card-market__head,.hk-cat-editorial__head,.hk-review-lounge__hero){text-align:left;direction:ltr}
.hk-home>[data-home-align="right"] :where(.hk-section-head,.hk-app-showcase__head,.hk-product-arsenal__head,.hk-digital-vaults__head,.hk-card-market__head,.hk-cat-editorial__head,.hk-review-lounge__hero){text-align:right;direction:rtl}

/* Homepage "slider" mode converts only catalog-like collections; hero/apps/news keep their native motion engines. */
.hk-home>[data-home-display="slider"] :where(.hk-cat-editorial__mosaic,.hk-product-arsenal__grid,.hk-digital-vaults__grid,.hk-card-market__grid,.hk-guide-grid,.hk-review-lounge__track){
  display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scrollbar-width:none;gap:14px!important;padding-bottom:8px;
}
.hk-home>[data-home-display="slider"] :where(.hk-cat-editorial__mosaic,.hk-product-arsenal__grid,.hk-digital-vaults__grid,.hk-card-market__grid,.hk-guide-grid,.hk-review-lounge__track)::-webkit-scrollbar{display:none}
.hk-home>[data-home-display="slider"] :where(.hk-cat-editorial__card,.hk-product-card,.hk-digital-vault,.hk-market-card,.hk-guide-card,.hk-review-lounge-card){flex:0 0 min(82vw,420px)!important;scroll-snap-align:start}

/* Normalize remaining public accents to studio tokens. */
.hk-body :where(.hk-more,.hk-app-showcase__all,.hk-cat-editorial__more,.hk-product-arsenal__more,.hk-digital-vaults__all,.hk-card-market__all-top,.hk-review-lounge-form__submit,.nova-btn-primary,.btn.primary){border-color:color-mix(in srgb,var(--hk-theme-accent-2) 35%,var(--hk-theme-line))}
.hk-body :where(a,button){accent-color:var(--hk-theme-accent)}

@media(max-width:700px){
  .hk-home>[data-home-section]{padding-inline:min(var(--home-pad-inline,0px),16px)}
  .hk-home>[data-home-display="slider"] :where(.hk-cat-editorial__card,.hk-product-card,.hk-digital-vault,.hk-market-card,.hk-guide-card,.hk-review-lounge-card){flex-basis:72vw!important}
}


/* v7.1.1 — protect native homepage motion components from generic Studio geometry.
   The Royal News Rail and image-only hero own their internal sizing. */
.hk-home>[data-home-native="1"]{
  padding:0!important;
  border-width:0!important;
  background-color:transparent!important;
}
.hk-home>.hk-newsrail[data-home-native="1"]{
  height:58px!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0!important;
  border:1px solid color-mix(in srgb,var(--hk-theme-accent) 28%,transparent)!important;
  border-radius:18px!important;
  background:
    linear-gradient(90deg,color-mix(in srgb,var(--hk-theme-accent) 14%,transparent),transparent 23%,transparent 78%,color-mix(in srgb,var(--hk-theme-accent-2) 8%,transparent)),
    color-mix(in srgb,var(--hk-theme-surface) 92%,transparent)!important;
}
html[data-hawk-theme="light"] .hk-home>.hk-newsrail[data-home-native="1"]{
  border-color:color-mix(in srgb,var(--hk-theme-accent) 18%,transparent)!important;
  background:linear-gradient(90deg,color-mix(in srgb,var(--hk-theme-accent) 8%,transparent),transparent 26%,transparent 76%,color-mix(in srgb,var(--hk-theme-accent-2) 5%,transparent)),color-mix(in srgb,var(--hk-theme-surface) 94%,transparent)!important;
}
@media(max-width:760px){
  .hk-home>.hk-newsrail[data-home-native="1"]{height:52px!important;border-radius:15px!important;}
}

html[data-hawk-reflections="off"] .hk-body :where(.hkn-shell,.hk-card-stage,.hk-card-gallery__stage,.hk-boutique-product,.hk-app-royal__shell)::before,html[data-hawk-reflections="off"] .hk-body :where(.hkn-shell,.hk-card-stage,.hk-card-gallery__stage,.hk-boutique-product,.hk-app-royal__shell)::after{display:none!important}
