/* Homepage editorial headings, inspired by the guard collection artwork.
   System serif keeps the treatment instant without another font download. */
body :is(#spotlightTitle,#fittingPanelTitle,#guardSetupTitle,#communityPanelTitle,#instagramTitle,#faqTitle,#newsletterTitle),
body .brand-panels .collection-hero-copy h1{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:700;
  font-size:clamp(2rem,1.35rem + 2.1vw,3.25rem);
  line-height:1.1;
  letter-spacing:-.035em;
  text-transform:none;
  text-wrap:balance;
  padding-bottom:.08em;
  --heading-top:#28292b;
  --heading-bottom:#626267;
  color:var(--heading-top);
}
body #spotlightTitle{--heading-top:#292a2d;--heading-bottom:#646469}
body #fittingPanelTitle{--heading-top:#251052;--heading-bottom:#653285;max-width:22ch}
body #guardSetupTitle{--heading-top:#8c3919;--heading-bottom:#9b681b}
body #communityPanelTitle{--heading-top:#173e30;--heading-bottom:#39723d}
body #instagramTitle{--heading-top:#79291b;--heading-bottom:#a6462b}
body #newsletterTitle{--heading-top:#173e30;--heading-bottom:#37653c}
body .brand-panels .collection-hero-copy h1{
  --heading-top:#fff;--heading-bottom:#f2e4d2;
  font-size:clamp(2.4rem,1.7rem + 2.5vw,4rem);
}
@supports (background-clip:text){
  body :is(#spotlightTitle,#fittingPanelTitle,#guardSetupTitle,#communityPanelTitle,#instagramTitle,#faqTitle,#newsletterTitle),
  body .brand-panels .collection-hero-copy h1{
    background:linear-gradient(180deg,var(--heading-top) 12%,var(--heading-bottom) 92%);
    background-clip:text;-webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    width:fit-content;max-width:100%;
  }
  body #fittingPanelTitle{max-width:22ch}
}
body .brand-panels .panel-fitting .panel-copy p{color:#62516f}
body .brand-panels .panel-community .panel-copy p{color:#4a6255}
body .guard-setup-copy{color:#705b48}
body .botanical-newsletter .sec-head p{color:#405a48}
@media(max-width:760px){
 body :is(#spotlightTitle,#fittingPanelTitle,#guardSetupTitle,#communityPanelTitle,#instagramTitle,#faqTitle,#newsletterTitle){font-size:clamp(1.9rem,7.8vw,2.4rem);line-height:1.12}
 body .brand-panels .collection-hero-copy h1{font-size:clamp(2.25rem,9vw,3.25rem)}
}
@media(forced-colors:active){
 body :is(#spotlightTitle,#fittingPanelTitle,#guardSetupTitle,#communityPanelTitle,#instagramTitle,#faqTitle,#newsletterTitle),body .brand-panels .collection-hero-copy h1{background:none;-webkit-text-fill-color:CanvasText;color:CanvasText}
}

/* One content rail across the homepage, within the shared desktop canvas. */
body:has(#landingPoster){--home-gutter:clamp(24px,3.34vw,48px)}
body #landingPoster>section,body>section:is(.instagram-photo-feed,.home-faq,.botanical-newsletter){width:100%;max-width:none;margin-inline:0;box-sizing:border-box}
body #colors.product-spotlight{padding:32px var(--home-gutter)}
body .brand-panels :is(.panel-fitting,.panel-community) .panel-copy{padding:32px var(--home-gutter) 16px}
body .guard-setup{padding:32px var(--home-gutter)}
body .instagram-heading{padding:32px var(--home-gutter) 20px}
body .instagram-live-grid{padding:0 var(--home-gutter) 32px}
body>section.home-faq{padding:32px var(--home-gutter)}
body .newsletter.galaxy-newsletter .newsletter-inner{padding-inline:var(--home-gutter)}
@media(min-width:1051px){
 body .guard-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(32px,5vw,72px);align-items:start}
 body .guard-setup h2{grid-column:1;grid-row:1;align-self:end;margin:0 0 16px}
 body .guard-setup .guard-setup-copy{grid-column:1;grid-row:2;margin:0;max-width:46ch}
 body .guard-setup video{grid-column:2;grid-row:1 / span 2;margin:0 auto;width:min(100%,320px)}
 body .guard-setup{grid-template-rows:1fr 1fr}
}

/* Equal inset for scrolling photos; fades only where more content remains. */
body .community-highlights{margin-inline:var(--home-gutter);min-width:0}
body .community-highlight-row{padding-inline:0;scroll-padding-inline:0;--fade-left:0px;--fade-right:0px;mask-image:linear-gradient(to right,transparent,#000 var(--fade-left),#000 calc(100% - var(--fade-right)),transparent)}
body .community-highlight-row.has-previous{--fade-left:24px}
body .community-highlight-row.has-more{--fade-right:32px}
body .brand-panels .collection-hero-copy{padding-inline:var(--home-gutter)}
@media(forced-colors:active){body .community-highlight-row{mask-image:none}}

.community-scroll-rail{position:relative;min-width:0}
.community-scroll-arrow{display:none}
@media(min-width:761px) and (hover:hover) and (pointer:fine){
 .community-scroll-rail.is-scrollable .community-scroll-arrow{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:40px;border:1px solid #dce0e7;border-radius:50%;background:#fff;color:#1e2d4d;box-shadow:0 2px 8px #1e2d4d18;cursor:pointer}
 .community-scroll-arrow.previous{left:-20px}.community-scroll-arrow.next{right:-20px}
 .community-scroll-arrow:disabled{opacity:0;pointer-events:none}
 .community-scroll-arrow:focus-visible{outline:2px solid #653285;outline-offset:3px}
 .community-highlight-row,.community-highlight-row .connect-post{cursor:grab}
 .community-highlight-row.is-dragging,.community-highlight-row.is-dragging .connect-post{cursor:grabbing;user-select:none;scroll-snap-type:none}
}

/* Preserve the original mobile spacing and uninterrupted swipe rows. */
@media(max-width:760px){
 body:has(#landingPoster){--home-gutter:clamp(24px,6vw,86.4px)}
 body .community-highlights{margin-inline:0}
 body .community-highlight-row{padding-inline:var(--home-gutter);scroll-padding-inline:var(--home-gutter);mask-image:none}
}

/* Mobile Instagram photos retain the original full-width grid. */
@media(max-width:760px){
 body .instagram-live-grid{padding:0}
 body .instagram-heading{padding-top:24px}
}
