/* Shared hero variants. Keep layout choices here; callers supply content only.
 * The marketing variant retains the approved homepage photograph and word art.
 * The compact intro is intentionally a different layout for portal pages.
 */
.storefront-hero{--storefront-ink:#171717;--storefront-teal:#167f89;--storefront-muted:#626868;color:#171717;font-family:Arial,Helvetica,sans-serif;font-size:16px}
.storefront-hero,.storefront-hero *{box-sizing:border-box}
.storefront-hero a{color:inherit;text-decoration:none;touch-action:manipulation}
.storefront-hero a:focus-visible{outline:2px solid #167f89;outline-offset:4px}
.storefront-hero .storefront-eyebrow{display:block;margin:0 0 12px;color:#167f89;font-size:11px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;line-height:1.5}
.storefront-hero .storefront-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:13px 22px;border:1px solid #171717;border-radius:6px;background:#171717;color:#fff!important;font-size:14px;font-weight:700;line-height:1.4;text-align:center;cursor:pointer}
.storefront-hero .storefront-btn-secondary{background:#fff;color:#171717!important;border-color:#c8d0ce}
.storefront-hero-photo img{display:block;max-width:100%}
.storefront-hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:7%;padding-top:40px;padding-bottom:44px}
.storefront-hero-copy{min-width:0;padding:15px 0}
.storefront-hero h1{margin:16px 0 36px;font-size:clamp(48px,5.9vw,82px);font-weight:800;line-height:1.02;letter-spacing:-4px}
.storefront-hero h1 em{font-style:normal;color:#8647ba;display:inline-block;line-height:1.15;padding-bottom:.12em;margin-bottom:-.12em}
@supports ((background-clip:text) or (-webkit-background-clip:text)){.storefront-hero h1 em{background:linear-gradient(100deg,#d33770 0%,#d66a15 25%,#138773 50%,#2468d2 75%,#9848b8 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}}
.storefront-hero .custom-word{position:relative;display:inline-block;white-space:nowrap}
.storefront-hero .word-frame{position:absolute;inset:.035em -.055em -.025em;border:1.5px solid #167f89;pointer-events:none}
.storefront-hero .word-handle{position:absolute;width:10px;height:10px;border:1.5px solid #167f89;border-radius:50%;background:#fff;transform:translate(-50%,-50%)}
.storefront-hero .word-handle.top-left{top:0;left:0}.storefront-hero .word-handle.top-right{top:0;left:100%}.storefront-hero .word-handle.bottom-left{top:100%;left:0}.storefront-hero .word-handle.bottom-right{top:100%;left:100%}
.storefront-hero .word-cursor{position:absolute;top:calc(100% - 3px);left:calc(100% - 3px);width:26px;height:34px;overflow:visible;filter:drop-shadow(0 2px 2px #0003);pointer-events:none}
@media(max-width:760px){.storefront-hero .word-handle{width:8px;height:8px}.storefront-hero .word-cursor{width:21px;height:27px}}
.storefront-hero-copy>p{max-width:470px;margin:0;font-size:16px;line-height:1.75;color:var(--storefront-muted)}
.storefront-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:25px}
.storefront-hero-photo{position:relative;min-width:0;margin:0;overflow:hidden;border-radius:10px;background:#e8ecea;aspect-ratio:1.13}
.storefront-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 12%}
.storefront-hero-note{position:absolute;inset:auto 16px 16px;display:flex;align-items:center;gap:12px;max-width:max-content;padding:10px 14px;border:1px solid #e4e8e4;border-radius:5px;background:#fff;font-size:12px;line-height:1.5}
.storefront-hero-note strong{display:block;font-weight:700}
@media(max-width:1100px){
  .storefront-hero{gap:5%}.storefront-hero h1{letter-spacing:-3px}
}
@media(max-width:960px){
  .storefront-hero{padding-top:30px;padding-bottom:30px;gap:4%}.storefront-hero h1{font-size:56px;letter-spacing:-2.8px}.storefront-hero-copy>p{font-size:14px}.storefront-hero-actions{gap:8px}.storefront-hero-actions .storefront-btn{padding-inline:16px;font-size:13px}
}
@media(max-width:600px){
  .storefront-hero{grid-template-columns:1fr;gap:22px;padding-top:25px;padding-bottom:29px}.storefront-hero-copy{padding:0}
  .storefront-hero h1{font-size:clamp(45px,13.5vw,60px);line-height:1.01;letter-spacing:-2.7px;margin:11px 0 27px}.storefront-hero-copy>p{max-width:100%;font-size:14px;line-height:1.65}.storefront-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.storefront-hero-actions .storefront-btn{min-height:46px;padding:12px 10px;font-size:12px}
  .storefront-hero-photo{aspect-ratio:1.45;border-radius:7px}.storefront-hero-note{inset:auto 10px 10px;padding:8px 10px;font-size:10px}
}
@media(max-width:359px){.storefront-hero h1{font-size:45px;letter-spacing:-2.5px}
}

@media(max-width:600px){.storefront-hero .storefront-eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:10px}}
@media(hover:hover){.storefront-hero .storefront-btn-secondary:hover{border-color:#167f89;color:#167f89!important}}

/* Existing compact page heading geometry, independent of portal-wide h1 rules. */
.hero-intro-eyebrow{display:block;margin:0;padding:0;color:#167f89;font-family:Arial,sans-serif;font-size:11px;font-weight:700;line-height:normal;letter-spacing:2px;text-transform:uppercase}
.hero-intro-title{display:block;margin:12px 0 16px;padding:0;color:#171717;font-family:Arial,sans-serif;font-size:clamp(36px,5vw,60px);font-weight:700;line-height:1.05;letter-spacing:-2px}
.hero-intro-description{display:block;max-width:650px;margin:1em 0 35px;padding:0;color:#606060;font-family:Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.6;letter-spacing:normal}
.hero-intro-topbar{display:flex;align-items:center;justify-content:space-between;gap:15px}
