/* Page composition and shared navigation. Colour/type tokens live in design-system.css. */
.hc-site-header, .hc-site-footer { font: 400 1rem/1.5 var(--hc-font); color: var(--hc-text); background: var(--hc-bg); }
.hc-site-header *, .hc-site-footer * { box-sizing: border-box; }
.hc-site-header { border-bottom: 1px solid #394247; position: relative; z-index: 20; }
.hc-header-inner { max-width: var(--hc-width); margin: auto; padding: .8rem 1rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hc-site-header a { color: var(--hc-text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.hc-site-header a:hover, .hc-site-header a[aria-current] { color: var(--hc-accent); }
.hc-brand { margin-right: auto; flex-shrink: 0; }
.hc-brand img { width: 180px; height: 48px; object-fit: contain; }
.hc-desktop-nav, .hc-account-nav { display: flex; gap: 1.5rem; align-items: center; }
.hc-account-nav { gap: 1rem; }
.hc-cart-count { border: 1px solid var(--hc-border); padding: 0 .4rem; margin-left: .4rem; font-size: .8rem; border-radius: var(--hc-radius); }
.hc-mobile-nav { display: none; }
.hc-site-header :focus-visible, .hc-site-footer :focus-visible { outline: 3px solid var(--hc-accent); outline-offset: 4px; }
.hc-site-footer { border-top: 1px solid #394247; margin-top: 4rem; }
.hc-footer-inner { max-width: var(--hc-width); margin: auto; padding: 3rem 1rem; display: grid; grid-template-columns: 1.1fr .8fr 1fr 1.4fr; gap: 2rem; }
.hc-site-footer a { color: var(--hc-muted); text-decoration: none; }
.hc-site-footer a:hover { color: var(--hc-accent); text-decoration: underline; }
.hc-site-footer nav a { display: block; padding-block: .45rem; }
.hc-site-footer h2 { font: 600 1rem/1.4 var(--hc-font); margin: 0 0 1rem; color: var(--hc-text); }
.hc-site-footer p { color: var(--hc-muted); margin: 0 0 1rem; }
.hc-footer-brand { display: block; font-size: 1.5rem; font-weight: 700; color: var(--hc-text) !important; margin-bottom: 1.5rem; }
.hc-footer-brand span { display: block; font-size: .8rem; font-weight: 400; color: var(--hc-muted); }
.hc-footer-updates input { width: 100%; min-width: 0; }
.hc-footer-bottom { max-width: var(--hc-width); margin: auto; padding: 1rem; border-top: 1px solid #394247; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: var(--hc-muted); font-size: .875rem; }
.hc-layout :is(h1,h2,h3,p,figure) { margin: 0; }
.hc-layout .hc-page > * + * { margin-top: 2rem; }
.hc-layout .hc-stack > * + * { margin-top: 1rem; }
.hc-layout h1 { max-width: 19ch; }
.hc-layout a.hc-button { color: var(--hc-ink); }
.hc-layout a.hc-button--secondary { color: var(--hc-accent); }
.hc-layout .hc-page { min-height: 40vh; }
.hc-layout .hc-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.hc-layout .hc-intro p { max-width: 45rem; }
.hc-layout input, .hc-layout select, .hc-layout textarea { min-width: 0; }
.hc-layout textarea { resize: vertical; min-height: 10rem; }
.hc-layout .hc-field input, .hc-layout .hc-field select, .hc-layout .hc-field textarea { width: 100%; }
.hc-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem !important; }
.hc-number { font-variant-numeric: tabular-nums; }
.hc-divider { padding-block: 2rem; border-block: 1px solid #394247; }
@media (max-width: 60rem) {
  .hc-desktop-nav { display: none; }
  .hc-header-inner { gap: .5rem 1rem; }
  .hc-mobile-nav { display: block; width: 100%; border-bottom: 0 !important; }
  .hc-mobile-nav summary { min-height: 44px; display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; cursor: pointer; list-style: none; }
  .hc-mobile-nav summary::-webkit-details-marker { display: none; }
  .hc-mobile-nav[open] summary span { transform: rotate(45deg); }
  .hc-mobile-nav nav { display: grid; grid-template-columns: 1fr 1fr; padding: .5rem 0 1rem; gap: .25rem 1rem; }
  .hc-mobile-nav a { border-top: 1px solid #394247; padding: .75rem 0; }
  .hc-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  .hc-brand img { width: 140px; height: 40px; }
  .hc-account-nav { font-size: .875rem; gap: .75rem; }
  .hc-footer-inner { gap: 2rem 1rem; }
  .hc-footer-intro, .hc-footer-updates { grid-column: 1 / -1; }
  .hc-site-footer { margin-top: 2rem; }
}
.hc-home-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-block: 2rem; }
.hc-home-hero h1 { font-size: clamp(2.6rem, 5vw, 4.75rem); line-height: 1.06; letter-spacing: -.04em; }
.hc-lead { color: var(--hc-muted); font-size: 1.15rem; max-width: 42ch; }
.hc-home-product { background: var(--hc-surface); border-radius: var(--hc-radius); padding: 1rem; }
.hc-home-product img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.hc-home-product figcaption { font-size: .85rem; color: var(--hc-muted); padding: .5rem; }
.hc-home-story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.hc-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.hc-link-grid > a { display: block; color: var(--hc-text); text-decoration: none; border-top: 2px solid var(--hc-accent); padding-block: 1.5rem; }
.hc-link-grid > a > * + * { margin-top: .75rem; }
.hc-link-grid > a p { color: var(--hc-muted); }
.hc-link-grid > a:hover h3 { color: var(--hc-accent); text-decoration: underline; }
.hc-link-grid > a > span:last-child { display: block; color: var(--hc-accent); font-size: 1.5rem; }
.hc-archive-video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
@media (max-width: 48rem) {
  .hc-home-hero, .hc-home-story { grid-template-columns: 1fr; gap: 2rem; }
  .hc-home-hero { padding-top: 0; }
  .hc-link-grid { grid-template-columns: 1fr; gap: 0; }
}
.hc-catalogue-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; padding: 1.5rem; background: var(--hc-surface); border-radius: var(--hc-radius); }
.hc-catalogue-tools .hc-field:first-of-type { flex: 1 1 20rem; }
.hc-catalogue-tools .hc-field { flex: 1 1 12rem; }
.hc-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem 1.5rem; }
.hc-product-grid .hc-empty { grid-column: 1 / -1; }
.hc-product-card { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.hc-product-card .product-link { display: block; color: var(--hc-text); text-decoration: none; }
.hc-product-card .product-link:hover h2 { color: var(--hc-accent); text-decoration: underline; }
.hc-product-card .product-link img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 1rem; border-radius: var(--hc-radius); margin-bottom: 1rem; }
.hc-product-card h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.hc-product-card .hc-card-actions { margin-top: auto; display: flex; align-items: end; flex-wrap: wrap; gap: .6rem; }
.hc-card-actions .hc-field { width: 5rem; }
.hc-card-actions label { font-size: .8rem; }
.hc-card-actions button { padding-inline: .8rem; }
.hc-ui #commerce-feedback:empty { display: none; }
@media (max-width: 60rem) { .hc-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 36rem) { .hc-product-grid { grid-template-columns: 1fr; } .hc-catalogue-tools { padding: 1rem; } }
.hc-product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.hc-main-image { background: #fff; border-radius: var(--hc-radius); padding: 1rem; }
.hc-main-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.hc-main-image img[hidden] { display: none; }
.hc-thumbnails { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.hc-thumbnails .thumbnail { padding: .25rem; background: #fff; border: 3px solid transparent; }
.hc-thumbnails .thumbnail.selected { border-color: var(--hc-accent); }
.hc-thumbnails img { display: block; width: 64px; height: 64px; object-fit: contain; }
.hc-product-price { font-size: 1.75rem; }
.hc-quantity { max-width: 7rem; }
.hc-product-description { border-block: 1px solid var(--hc-border); padding-block: 1rem; }
.hc-product-description summary { cursor: pointer; min-height: 44px; font-weight: 600; }
.hc-product-description div { padding-bottom: 1rem; color: var(--hc-muted); overflow-wrap: anywhere; }
@media (max-width: 48rem) { .hc-product-detail { grid-template-columns: 1fr; gap: 2rem; } }
.hc-cart-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); align-items: start; gap: 2rem; }
.hc-cart-item { display: grid; grid-template-columns: 8rem minmax(0,1fr); gap: 1.5rem; border-top: 1px solid var(--hc-border); padding-block: 1.5rem; }
.hc-cart-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; padding: .5rem; border-radius: var(--hc-radius); }
.hc-cart-item h2 { font-size: 1.25rem; }
.hc-cart-item h2 a { color: var(--hc-text); text-decoration: none; }
.hc-cart-actions { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.hc-cart-summary { padding: 1.5rem; border-radius: var(--hc-radius); background: var(--hc-surface); }
.hc-clear-cart { margin-top: 1rem; }
@media (max-width: 60rem) { .hc-cart-layout { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .hc-cart-item { grid-template-columns: 5rem minmax(0,1fr); gap: 1rem; } .hc-cart-actions .hc-field { flex-basis: 100%; max-width: 6rem; } }
.hc-auth { max-width: 34rem; }
.hc-auth h1 { font-size: clamp(2rem,5vw,3rem); }
.hc-auth form { background: var(--hc-surface); padding: 1.5rem; border-radius: var(--hc-radius); }
.hc-password-field { display: flex; gap: .5rem; }
.hc-password-field input { flex: 1; width: 0; }
.hc-password-field .toggle-password { padding: .65rem; min-width: 4rem; }
.hc-avatar { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--hc-border); border-radius: 50%; }
.hc-account-summary { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.hc-account-summary p, .hc-layout h1 { overflow-wrap: anywhere; }
.hc-order-record { border-top: 1px solid var(--hc-border); padding-block: 1.5rem; }
.hc-order-record dl { display: grid; grid-template-columns: minmax(7rem,1fr) minmax(0,3fr); gap: .75rem; }
.hc-order-record dd { margin: 0; overflow-wrap: anywhere; }
.hc-layout .wishlist-row { background: transparent; }
.hc-layout > .hc-alert { width: min(calc(100% - 2rem),var(--hc-width)); margin-inline: auto; }
@media (max-width: 36rem) { .hc-auth form { padding: 1rem; } }
.hc-resource-search { max-width: 36rem; }
.hc-resource-grid { row-gap: 2rem; }
.hc-resource-grid h2 { font-size: 1.5rem; }
.hc-resource-grid section { border-top: 2px solid var(--hc-accent); padding-top: 1.5rem; }
.hc-resource-grid ul { padding-left: 1.2rem; }
.hc-resource-grid li { padding-bottom: .65rem; }
.hc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hc-support-links { padding-left: 1.2rem; }
.hc-support-links li { margin-block: .75rem; }
.hc-manual-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.hc-manual-list article { border-top: 1px solid var(--hc-border); padding-block: 1rem; }
@media (max-width: 36rem) { .hc-form-row,.hc-manual-list { grid-template-columns: 1fr; } }
.hc-guide { max-width: 52rem; overflow-wrap: anywhere; }
.hc-guide :is(section, .maneuver, .composition-tip, .troubleshooting-tip, .expert-tips, .text-block) > * + * { margin-top: 1rem; }
.hc-guide :is(section, .maneuver, .composition-tip, .troubleshooting-tip) + :is(section, .maneuver, .composition-tip, .troubleshooting-tip) { margin-top: 2rem; }
.hc-guide h1 { margin-block: 1.5rem; }
.hc-guide :is(h2,h3) { margin-top: 1.5rem; }
.hc-guide img { display: block; max-width: 100%; width: auto; max-height: 28rem; height: auto; object-fit: contain; margin: 1.5rem auto; }
.hc-guide iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.hc-guide li { margin-block: .5rem; }
.hc-guide table { width: 100%; border-collapse: collapse; }
.hc-guide :is(td,th) { padding: .5rem; border-bottom: 1px solid var(--hc-border); text-align: left; }
.hc-guide .pre-animate { opacity: 1; transform: none; }
.hc-answer { padding-bottom: 1rem; }
.troubleshooting-category > h2 { margin-block: 1.5rem; }
/* Match the foundation selector specificity for native secondary buttons. */
.hc-layout button.hc-button--secondary { background: transparent; color: var(--hc-accent); }
.hc-layout button.hc-button--secondary:hover { background: var(--hc-raised); color: var(--hc-accent-hover); }
.hc-layout .hc-thumbnails button { background: #fff; border: 3px solid transparent; }
.hc-layout .hc-thumbnails button.selected { border-color: var(--hc-accent); }
.hc-layout .hc-thumbnails button:hover { border-color: var(--hc-border); }
.hc-site-footer nav a { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .hc-layout *, .hc-layout *::before, .hc-layout *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Release repairs for retained editorial layouts. */
.hc-legacy-pages *, .hc-legacy-pages *::before, .hc-legacy-pages *::after { box-sizing: border-box; }
.hc-legacy-pages img { max-width: 100%; }
.hc-legacy-pages :focus-visible { outline: 3px solid #f2c94c; outline-offset: 3px; }
.hc-legacy-pages .job-listings { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.hc-legacy-pages .job-search-container input, .hc-legacy-pages .job-search-container select { max-width: 100%; }
@media (max-width: 40rem) { .hc-legacy-pages .grid-item { width: 100%; } }

/* Editorial text stays readable without JavaScript or scroll animations. */
.hc-legacy-pages .animate-on-scroll { opacity: 1; transform: none; }
.hc-legacy-pages details.faq-item[open] .faq-answer { max-height: none; opacity: 1; }
.hc-legacy-pages details.faq-item[open] .faq-question i { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .hc-legacy-pages *, .hc-legacy-pages *::before, .hc-legacy-pages *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.hc-legacy-pages .job-card[hidden] { display: none; }

.hc-legacy-pages .gallery { color: #222; }
.hc-legacy-pages .career-header h1, .hc-legacy-pages .career-header p,
.hc-legacy-pages .job-search-container input, .hc-legacy-pages .job-search-container select { animation: none; }

.hc-legacy-pages .videoOverlay { pointer-events: none; }
