/* /home-concept pages. Shared tokens, buttons, thumbs, prices and notices live in throne.css;
   this file only holds the homepage concept. Aesthetic: throne-client. Class prefix: hc-. */

.hc-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.hc-sec { padding: clamp(40px, 7vw, 80px) 0; }
.hc-sec-tight { padding: clamp(24px, 4vw, 44px) 0; }
.hc-sec h2 { margin-bottom: .8em; }
.hc-fine { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* Concept band, fixed to the top of the viewport */
.hc-band { position: sticky; top: 0; z-index: 60; background: var(--gold-500); color: var(--navy-900); border-bottom: 1px solid var(--gold-700); }
.hc-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 20px; padding-top: 7px; padding-bottom: 7px; }
.hc-band p { margin: 0; font-size: .86rem; font-weight: 600; line-height: 1.35; }
.hc-band a { color: var(--navy-900); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.hc-band a:hover { color: #000; }
@media (max-width: 600px) { .hc-band p { font-size: .78rem; } .hc-band a { font-size: .78rem; } }

/* Header and category navigation */
.hc-header { background: var(--navy-900); color: #fff; }
.hc-top-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px clamp(16px, 3vw, 36px); padding-top: 14px; padding-bottom: 14px; }
.hc-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.hc-brand:hover { color: #fff; }
.hc-brand img { width: 44px; height: auto; flex: none; }
.hc-brand-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: .01em; }
.hc-brand-name small { display: block; margin-top: 4px; font-family: var(--body); font-weight: 400; font-size: .76rem; letter-spacing: 0; color: var(--gold-400); }
.hc-top-in > * { min-width: 0; }
.hc-search { display: flex; gap: 8px; max-width: 560px; width: 100%; justify-self: center; }
.hc-search input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); color: #fff; font: 400 .95rem/1.4 var(--body);
}
.hc-search input::placeholder { color: #AEBBD0; }
.hc-search input:focus { outline: 3px solid rgba(212, 169, 98, .55); background: rgba(255, 255, 255, .14); }
.hc-actions { display: flex; align-items: center; gap: 16px; }
.hc-phone { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hc-phone:hover { color: var(--gold-400); }

.hc-nav { background: var(--navy-700); border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 3px solid var(--gold-500); }
.hc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
.hc-nav a { display: block; padding: 13px 14px; color: #E6ECF5; text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.hc-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.hc-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold-400); }
.hc-nav li:first-child a { font-weight: 700; color: var(--gold-400); }

@media (max-width: 860px) {
  .hc-top-in { grid-template-columns: minmax(0, 1fr) auto; }
  .hc-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .hc-actions .btn { display: none; }
}
@media (max-width: 440px) { .hc-actions { display: none; } .hc-top-in { grid-template-columns: minmax(0, 1fr); } }

/* Hero */
.hc-hero { background: var(--navy-900); color: #fff; }
.hc-hero-in { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(40px, 8vw, 96px); }
@media (min-width: 980px) { .hc-hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hc-hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.04; max-width: 14ch; margin-bottom: .5em; }
.hc-hero-place { margin: 0 0 .9em; color: var(--gold-400); font-weight: 600; font-size: 1.1rem; }
.hc-hero-lede { margin: 0 0 1.6em; color: #CBD6E6; font-size: 1.15rem; max-width: 46ch; }
.hc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hc-hero .btn-ghost, .hc-kits .btn-ghost, .hc-close .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hc-hero .btn-ghost:hover, .hc-kits .btn-ghost:hover, .hc-close .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* The kit tray: the one memorable thing on the homepage */
.hc-tray { margin: 0; padding: clamp(12px, 2vw, 18px); background: var(--navy-600); border: 1px solid rgba(212, 169, 98, .55); border-radius: 18px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.hc-tray-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 12px); }
.hc-tile {
  position: relative; display: grid; grid-template-rows: auto auto; gap: 6px; padding: clamp(6px, 1.2vw, 10px);
  background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(11, 23, 48, .08), inset 0 3px 8px rgba(11, 23, 48, .08);
  animation: hc-in .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 80ms + 120ms);
}
.hc-tile .thumb { border: 0; border-radius: 6px; }
.hc-tile-label { font-size: clamp(.68rem, 1.4vw, .8rem); line-height: 1.25; font-weight: 600; color: var(--navy-700); text-align: center; min-height: 2.5em; display: grid; place-items: center; }
.hc-tile-qty { position: absolute; top: 6px; right: 6px; min-width: 28px; padding: 1px 7px; border-radius: 999px; background: var(--navy-700); color: var(--gold-400); font-size: .74rem; font-weight: 700; text-align: center; }
@keyframes hc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hc-tray-cap { display: grid; gap: 2px; padding: 14px 4px 2px; color: #CBD6E6; font-size: .92rem; }
.hc-tray-cap strong { color: #fff; font-family: var(--display); font-size: 1.1rem; }
.hc-tray-cap a { color: var(--gold-400); width: fit-content; }
.hc-tray-cap a:hover { color: #fff; }

/* Trust band: only facts the store itself states */
.hc-trust { background: var(--paper); border-top: 3px solid var(--gold-500); border-bottom: 1px solid var(--line); }
.hc-trust-list { list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; display: grid; grid-template-columns: 1fr; }
.hc-trust-list li { display: grid; align-content: start; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.hc-trust-list li:first-child { border-top: 0; }
.hc-trust-list strong { font-family: var(--display); font-weight: 700; color: var(--navy-700); font-size: 1.02rem; line-height: 1.25; }
.hc-trust-list span { color: var(--ink-soft); font-size: .93rem; }
.hc-trust-list a { width: fit-content; font-weight: 600; font-size: .93rem; }
@media (min-width: 640px) {
  .hc-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-trust-list li { padding: 24px 24px 24px 0; }
  .hc-trust-list li:nth-child(2) { border-top: 0; }
  .hc-trust-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (min-width: 1040px) {
  .hc-trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hc-trust-list li { border-top: 0; padding: 28px 24px; }
  .hc-trust-list li:first-child { padding-left: 0; }
  .hc-trust-list li:last-child { padding-right: 0; }
  .hc-trust-list li + li { border-left: 1px solid var(--line); }
}

/* Sectors served */
.hc-sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 36px); }
.hc-sector-list li { padding: 16px 0 22px; border-top: 2px solid var(--navy-700); font-family: var(--display); font-weight: 600; font-size: clamp(1.02rem, 2.2vw, 1.3rem); line-height: 1.25; color: var(--navy-700); }
.hc-sector-list .hc-sector-ask { font-family: var(--body); font-weight: 500; font-size: .95rem; border-top-color: var(--gold-500); }
@media (min-width: 900px) { .hc-sector-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Kit Builder feature */
.hc-kits { background: var(--navy-700); color: #fff; padding: clamp(40px, 7vw, 80px) 0; }
.hc-kits h2 { color: #fff; max-width: 18ch; }
.hc-kits-in { display: grid; gap: 32px clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hc-kits-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hc-kits-copy p { color: #CBD6E6; font-size: 1.05rem; max-width: 46ch; margin-bottom: 1.5em; }
.hc-kit-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.hc-kit-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 18px 8px; color: #fff; text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hc-kit-row:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.hc-kit-row-title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.hc-kit-row-for { grid-column: 1; color: #CBD6E6; font-size: .92rem; }
.hc-kit-row-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--gold-400); font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* Product grid and cards */
.hc-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.hc-more { font-weight: 600; }
.hc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .hc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .hc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 400px) { .hc-grid { gap: 12px; } }
.hc-grid > li { display: flex; }
.hc-card { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 12px; width: 100%; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold-500); border-radius: var(--r-md); }
.hc-card:hover { border-color: var(--line-strong); border-top-color: var(--gold-500); box-shadow: var(--shadow); }
.hc-card-info { display: grid; gap: 3px; align-content: start; min-width: 0; }
.hc-card-cat { margin: 0; font-size: .8rem; font-weight: 600; color: var(--gold-700); }
.hc-card-name { margin: 0; font-size: .98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hc-card-link { color: var(--navy-700); text-decoration: none; }
.hc-card-link::after { content: ""; position: absolute; inset: 0; }
.hc-card-link:focus-visible { outline: none; }
.hc-card:has(.hc-card-link:focus-visible) { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.hc-card-pack { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.hc-card-price { margin: 6px 0 0; font-size: 1.25rem; }

/* Categories */
.hc-cat-grid { column-count: 1; column-gap: 18px; }
@media (min-width: 600px) { .hc-cat-grid { column-count: 2; } }
@media (min-width: 960px) { .hc-cat-grid { column-count: 3; } }
.hc-cat { break-inside: avoid; margin-bottom: 18px; padding: 18px 20px 20px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--navy-700); border-radius: var(--r-md); }
.hc-cat h3 { margin: 0 0 2px; font-size: 1.15rem; }
.hc-cat h3 a { color: var(--navy-700); text-decoration: none; }
.hc-cat h3 a:hover { color: var(--gold-700); text-decoration: underline; }
.hc-cat-count { margin: 0 0 10px; font-size: .86rem; color: var(--ink-soft); }
.hc-cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hc-cat li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.hc-cat li a { flex: 1; padding: 8px 0; font-size: .93rem; text-decoration: none; }
.hc-cat li a:hover { text-decoration: underline; }
.hc-cat li span { align-self: center; font-size: .82rem; color: var(--ink-soft); }
.hc-note { margin: 24px 0 0; font-size: .9rem; color: var(--ink-soft); }

/* Closing band and footer */
.hc-close { background: var(--navy-700); color: #fff; border-top: 3px solid var(--gold-500); padding: clamp(32px, 5vw, 52px) 0; }
.hc-close-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.hc-close h2 { color: #fff; margin: 0 0 .25em; }
.hc-close p { margin: 0; color: #CBD6E6; }
.hc-footer { background: var(--navy-900); color: #C8D2E1; padding: 40px 0 44px; font-size: .92rem; }
.hc-footer-in { display: grid; gap: 28px 48px; }
@media (min-width: 860px) { .hc-footer-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .hc-legal { grid-column: 1 / -1; } }
.hc-footer p { margin: 0 0 .5em; }
.hc-footer-brand p { margin-top: 14px; max-width: 52ch; }
.hc-footer a { color: var(--gold-400); }
.hc-footer a:hover { color: #fff; }
.hc-footer .hc-brand { color: #fff; }
.hc-legal { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #9FB0C8; max-width: 100ch; }

/* Inner page heads */
.hc-pagehead { background: var(--navy-700); color: #fff; padding: clamp(22px, 4vw, 38px) 0 clamp(24px, 4vw, 40px); border-bottom: 3px solid var(--gold-500); }
.hc-pagehead-slim { padding: 14px 0; }
.hc-pagehead h1 { color: #fff; margin: .25em 0 .15em; }
.hc-crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .88rem; color: #CBD6E6; }
.hc-crumbs a { color: var(--gold-400); }
.hc-crumbs a:hover { color: #fff; }
.hc-crumbs span:not(:empty)::before { content: "/"; margin-right: 10px; color: #7F93B3; }
.hc-crumbs span { min-width: 0; overflow-wrap: anywhere; }
.hc-count { margin: 0; color: #CBD6E6; }
.hc-pagelede { margin: 0; max-width: 56ch; color: #CBD6E6; font-size: 1.1rem; }

.hc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--navy-700); font: 600 .92rem/1.2 var(--body); cursor: pointer; }
.hc-chip span { font-weight: 500; font-size: .82rem; color: var(--ink-soft); }
.hc-chip:hover { border-color: var(--navy-700); }
.hc-chip[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.hc-chip[aria-pressed="true"] span { color: var(--gold-400); }
#cat-status { margin-bottom: 18px; }
#cat-status:empty { display: none; }

/* Product page */
.hc-prod { display: grid; gap: 28px clamp(28px, 5vw, 64px); }
@media (min-width: 860px) { .hc-prod { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.hc-prod-photo .thumb { max-width: 560px; margin: 0 auto; border-radius: var(--r-md); border-top: 3px solid var(--gold-500); }
.hc-prod-photo .thumb img { padding: 6%; }
.hc-prod-info h1 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin-bottom: .35em; }
.hc-prod-headline { color: var(--ink-soft); font-size: 1.05rem; max-width: 52ch; }
.hc-prod-price { margin: .3em 0 .6em; font-size: 2rem; }
.hc-facts { display: grid; gap: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
.hc-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hc-facts dt { color: var(--ink-soft); font-size: .9rem; }
.hc-facts dd { margin: 0; font-weight: 500; }
.hc-buy { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.hc-prod-body { display: grid; gap: 28px clamp(28px, 5vw, 64px); }
@media (min-width: 860px) { .hc-prod-body { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.hc-prod-body h2 { font-size: 1.3rem; }
.hc-prose { max-width: 62ch; }
.hc-prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.hc-prose li { margin-bottom: .35em; }
.hc-specs { margin: 0; border-top: 1px solid var(--line); }
.hc-specs > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hc-specs dt { font-weight: 600; color: var(--navy-700); font-size: .92rem; }
.hc-specs dd { margin: 2px 0 0; font-size: .94rem; }
.hc-src { display: block; margin-top: 2px; font-size: .8rem; color: var(--ink-soft); }

/* Kits page */
.hc-kit-cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hc-kit-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hc-kitcard { display: grid; align-content: start; gap: 16px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold-500); border-radius: var(--r-md); }
.hc-kitcard-head h2 { margin: 0 0 4px; font-size: 1.35rem; }
.hc-kitcard-head p { margin: 0; color: var(--ink-soft); }
.hc-kitcard-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hc-kitcard-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hc-kitcard-lines .thumb img { padding: 4px; }
.hc-line-name { font-size: .9rem; line-height: 1.3; }
.hc-line-qty { font-weight: 700; color: var(--navy-700); font-size: .9rem; }
.hc-kitcard .btn { width: 100%; }
.hc-scratch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; padding: 22px clamp(18px, 3vw, 28px); background: var(--navy-700); color: #fff; border-radius: var(--r-md); }
.hc-scratch h2 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.hc-scratch p { margin: 0; color: #CBD6E6; }

/* Photo boxes: the image fills the square box and is letterboxed inside it, whatever its own ratio */
.hc-card .thumb, .hc-tile .thumb, .hc-prod-photo .thumb, .hc-kitcard .thumb { position: relative; }
.hc-card .thumb img, .hc-tile .thumb img, .hc-prod-photo .thumb img, .hc-kitcard .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hc-card-info { display: flex; flex-direction: column; }
.hc-card-price { margin-top: auto; padding-top: 6px; }
.hc-tile-label { align-content: start; }
