/* Catalog: quiet graphite surfaces, a single lime action color, and room for the artwork. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home-page { margin: 0; min-height: 100vh; color: #f5f5f2; background: #10100f; font-family: var(--gb-font, "Segoe UI", sans-serif); }
.home-page .page-shell { padding: 28px 28px 64px; }
.home-page .home-main { width: min(1320px, 100%); margin: 0 auto; display: grid; gap: 36px; }
.home-page h1, .home-page h2, .home-page h3, .home-page p { margin: 0; }
.home-page .home-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none; backdrop-filter: none; overflow: visible; }
.home-page .home-hero::after { display: none; }
.home-page .home-hero__copy { position: relative; padding: 32px; border: 1px solid #313526; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at 100% 0, #343f17 0, transparent 65%), #191b14; }
.home-page .section-kicker { display: block; margin-bottom: 14px; color: var(--gb-accent); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.home-page h1 { max-width: 460px; font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.home-page .home-hero__subtitle { max-width: 410px; margin-top: 16px; color: #a7a99d; font-size: 14px; line-height: 1.65; }
.home-page .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.home-page .hero-action { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 10px; border: 1px solid #393b2f; background: #25271e; color: #f5f5f2; font-size: 13px; font-weight: 750; text-decoration: none; box-shadow: none; transition: background .18s ease, transform .18s ease; }
.home-page .hero-action--primary { border-color: transparent; background: var(--gb-accent) !important; color: #192000 !important; }
.home-page .hero-action:hover { background: #34382a; transform: translateY(-2px); }
.home-page .hero-action--primary:hover { background: #c7ff24 !important; }
.home-page .hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; }
.home-page .hero-stat { display: inline-flex; align-items: center; gap: 5px; color: #929787; font-size: 11px; }
.home-page .hero-stat strong { color: #e4e8d9; font-weight: 750; }
.home-page .hero-stat--fair span { color: var(--gb-accent); }
.home-page .featured-case { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 330px; overflow: hidden; border: 1px solid #32332b; border-radius: 16px; padding: 24px; background: radial-gradient(ellipse at 60% 30%, var(--case-accent-glow, #344314), transparent 65%), #1b1b19; }
.home-page .featured-case__eyebrow { z-index: 1; color: #c3c6b8; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.home-page .featured-case__visual { position: absolute; inset: 16px 40px 65px; display: grid; place-items: center; }
.home-page .featured-case__visual img { width: 90%; height: 100%; object-fit: contain; position: relative; transform: rotate(-10deg); filter: drop-shadow(0 20px 24px #0009); }
.home-page .featured-case__orbit { position: absolute; width: 210px; height: 210px; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff03, 0 0 0 60px #ffffff02; }
.home-page .featured-case__footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; position: relative; margin-top: auto; z-index: 1; }
.home-page .featured-case__title { font-size: 25px; line-height: 1.15; font-weight: 800; }
.home-page .featured-case__subtitle { margin-top: 8px; color: #9d9e93; font-size: 12px; line-height: 1.6; }
.home-page .featured-case__subtitle span { padding: 0 5px; color: #696b62; }
.home-page .featured-case__link { display: inline-flex; flex-shrink: 0; align-items: center; gap: 22px; min-height: 44px; padding: 0 16px; background: var(--gb-accent); border-radius: 10px; color: #172000; font-size: 14px; font-weight: 800; text-decoration: none; }
.home-page .featured-case__link:hover { background: #c7ff24; }
.home-page .featured-case__link span { font-size: 19px; }
.home-page .featured-case--unavailable { justify-content: center; }
.home-page .featured-case__availability { text-align: center; margin: auto; }
.home-page .featured-case__availability-mark, .home-page .featured-case__placeholder { display: block; margin-bottom: 12px; color: var(--gb-accent); font-size: 70px; }
.home-page .cases-surface { padding: 0; border: 0 !important; background: transparent !important; box-shadow: none; backdrop-filter: none; }
.home-page .cases-surface__head { display: flex; align-items: center; gap: 14px; }
.home-page .cases-surface__head .section-kicker { display: none; }
.home-page .cases-surface__head h2 { color: #f5f5f2; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.home-page .cases-meta { display: inline-flex; justify-content: center; align-items: center; min-width: 28px; height: 26px; padding: 0 8px; color: #a3a398; border: 1px solid #33332d; border-radius: 7px; font-size: 12px; font-weight: 700; }
.home-page .catalog-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 18px 0 22px; }
.home-page .filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.home-page .filter-pill { min-height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; color: #a2a299; background: #1c1c19; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; transition: .18s ease; }
.home-page .filter-pill:hover { background: #2b2c24; color: #e9ecdf; }
.home-page .filter-pill.is-active { color: var(--gb-accent); background: #29321b; border-color: #485b23; }
.home-page .catalog-tools { display: flex; align-items: center; gap: 10px; }
.home-page .catalog-search { display: flex; align-items: center; gap: 9px; width: 190px; height: 40px; padding: 0 12px; border: 1px solid #30312b; border-radius: 9px; background: #191a17; }
.home-page .catalog-search svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: #8b8e80; stroke-width: 1.7; }
.home-page .catalog-search input { min-width: 0; width: 100%; height: 100%; padding: 0; border: 0 !important; outline: none; background: transparent !important; box-shadow: none; color: #eeeeea; font: inherit; font-size: 12px; }
.home-page .catalog-search:focus-within { border-color: #96c72c; }
.home-page .catalog-search input::placeholder { color: #93968b; }
.home-page .sort-control { position: relative; }
.home-page .sort-control__label, .home-page .sort-control__native { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.home-page .sort-control__field { width: 190px; }
.home-page .sort-dropdown { position: relative; z-index: 22; }
.home-page .sort-dropdown.is-open { z-index: 80; }
.home-page .sort-dropdown__trigger { position: relative; width: 100%; min-height: 40px; padding: 0 32px 0 12px; border: 1px solid #30312b; border-radius: 9px; background: #1c1d19; color: #b9bcb0; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.home-page .sort-dropdown__trigger:hover { border-color: #535747; }
.home-page .sort-dropdown__glow, .home-page .sort-dropdown__option-mark { display: none; }
.home-page .sort-dropdown__current { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-page .sort-dropdown__chevron { position: absolute; right: 13px; top: 15px; width: 7px; height: 7px; border-right: 1.5px solid #9b9e91; border-bottom: 1.5px solid #9b9e91; transform: rotate(45deg); }
.home-page .sort-dropdown.is-open .sort-dropdown__chevron { transform: translateY(4px) rotate(225deg); }
.home-page .sort-dropdown__menu { position: absolute; top: calc(100% + 6px); right: 0; width: 220px; padding: 6px; border: 1px solid #36392f; border-radius: 11px; background: #22241d; box-shadow: 0 18px 40px #0008; visibility: hidden; opacity: 0; pointer-events: none; }
.home-page .sort-dropdown.is-open .sort-dropdown__menu { visibility: visible; opacity: 1; pointer-events: auto; }
.home-page .sort-dropdown__option { display: block; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: #bebfb4; text-align: left; font: inherit; font-size: 12px; cursor: pointer; }
.home-page .sort-dropdown__option:hover, .home-page .sort-dropdown__option:focus-visible { background: #303329; }
.home-page .sort-dropdown__option.is-active { color: var(--gb-accent); background: #2e371f; }
.home-page .cases-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; scroll-margin-top: 100px; }
.home-page .case-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid #2a2b25; border-radius: 14px; color: #f1f1ec; text-decoration: none; background: linear-gradient(160deg, #24241f 0%, #181916 65%); transition: border-color .2s, transform .2s, background .2s; overflow: hidden; }
.home-page .case-card:hover { transform: translateY(-4px); border-color: #60694a; background: linear-gradient(160deg, #2b2d22, #1c1e17); }
.home-page .case-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; }
.home-page .case-card__eyebrow { color: #b5b8a9; padding: 4px 7px; border: 1px solid #414237; border-radius: 5px; }
.home-page .case-card__rtp { color: #8c9280; white-space: nowrap; }
.home-page .case-card__media { position: relative; display: grid; place-items: center; height: 188px; margin: 5px -4px 12px; }
.home-page .case-card__halo { position: absolute; inset: 8% 0; background: radial-gradient(ellipse, var(--case-accent-glow), transparent 70%); opacity: .9; }
.home-page .case-card__media img { position: relative; width: 100%; height: 150px; object-fit: contain; filter: drop-shadow(0 12px 16px #0008); transform: rotate(-7deg); transition: transform .3s ease; }
.home-page .case-card:hover .case-card__media img { transform: rotate(-3deg) scale(1.07); }
.home-page .case-card__preview-label { position: absolute; bottom: 0; color: #a3a794; font-size: 10px; }
.home-page .case-card__placeholder { font-size: 64px; color: #9caf76; }
.home-page .case-card__content { text-align: center; }
.home-page .case-card__title { color: #f5f5ef; font-size: 18px; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.home-page .case-card__subtitle { display: block; margin-top: 5px; color: #929689; font-size: 11px; }
.home-page .case-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #ffffff09; }
.home-page .case-card__price-value { color: var(--gb-accent); font-size: 16px; font-weight: 800; }
.home-page .case-card__link { display: grid; place-items: center; width: 30px; height: 30px; background: #2c3420; border-radius: 8px; color: var(--gb-accent); font-size: 18px; transition: background .2s; }
.home-page .case-card:hover .case-card__link { background: var(--gb-accent); color: #172000; }
.home-page .cases-empty, .home-page .catalog-loading { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 230px; padding: 32px; border: 1px solid #2d3026; border-radius: 14px; background: #191b16; text-align: center; color: #939988; font-size: 14px; }
.home-page .cases-empty strong { color: #e9eddf; font-size: 21px; }
.home-page .cases-empty span { max-width: 450px; line-height: 1.65; }
.home-page .catalog-loading__ring { width: 25px; height: 25px; border: 2px solid #404b2c; border-top-color: var(--gb-accent); border-radius: 50%; animation: catalog-spin 1s linear infinite; }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 2px solid var(--gb-accent); outline-offset: 4px; }
@keyframes catalog-spin { to { transform: rotate(360deg); } }
@media (min-width: 1650px) { .home-page .cases-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1200px) { .home-page .cases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .home-page .home-hero__copy { padding: 26px; } .home-page .catalog-tools { flex: 1; justify-content: flex-end; } }
@media (max-width: 850px) { .home-page .page-shell { padding: 18px 18px 40px; } .home-page .home-main { gap: 28px; } .home-page .home-hero { gap: 14px; } .home-page .home-hero__copy { padding: 24px; } .home-page h1 { font-size: 31px; } .home-page .featured-case { padding: 20px; } .home-page .featured-case__footer { flex-wrap: wrap; gap: 12px; } .home-page .featured-case__visual { inset: 18px 12px 110px; } .home-page .hero-stats { gap: 10px; } .home-page .hero-stat--fair { display: none; } }
@media (max-width: 640px) { .home-page .home-hero { grid-template-columns: 1fr; } .home-page .home-hero__copy { padding: 25px; } .home-page h1 { font-size: 34px; max-width: 330px; } .home-page .featured-case { min-height: 230px; } .home-page .featured-case__visual { inset: 12px 0 40px 36%; } .home-page .featured-case__orbit { width: 140px; height: 140px; } .home-page .featured-case__footer { flex-wrap: nowrap; } .home-page .featured-case__title { font-size: 23px; } .home-page .featured-case__subtitle { max-width: 180px; } .home-page .cases-surface__head h2 { font-size: 24px; } .home-page .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .home-page .catalog-toolbar { gap: 12px; } .home-page .catalog-tools { width: 100%; gap: 8px; } .home-page .catalog-search, .home-page .sort-control { flex: 1; width: 50%; min-width: 0; } .home-page .sort-control__field { width: auto; } .home-page .filter-pills { gap: 5px; } .home-page .filter-pill { min-height: 36px; padding: 0 9px; font-size: 11px; } .home-page .case-card { padding: 12px; } .home-page .case-card__head { font-size: 9px; gap: 4px; } .home-page .case-card__eyebrow { padding: 3px 5px; } .home-page .case-card__media { height: 150px; margin-bottom: 10px; } .home-page .case-card__media img { height: 125px; } .home-page .case-card__title { font-size: 15px; } .home-page .case-card__price-value { font-size: 14px; } .home-page .case-card__preview-label { font-size: 9px; } .home-page .case-card__footer { margin-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto; animation: none !important; transition: none !important; } }
/* Original case artwork carries the hero; catalog cards continue to show actual possible drops. */
.home-page .home-hero { gap: 0; overflow: hidden; border: 1px solid #35382a !important; border-radius: 16px; background: #14150f url('/img/case-hero-lime.png') right center / auto 135% no-repeat !important; }
.home-page .home-hero__copy { z-index: 1; border: 0; border-radius: 0; background: linear-gradient(90deg, #16170ff2 65%, #16170f00); padding: 34px; }
.home-page .featured-case { border: 0; border-radius: 0; background: transparent; padding: 28px; }
.home-page .featured-case__visual { display: none; }
.home-page .featured-case__eyebrow { align-self: flex-end; padding: 7px 10px; border: 1px solid #ffffff1c; border-radius: 6px; background: #171911b8; color: #d4dbc2; font-size: 9px; }
.home-page .featured-case__footer { padding: 14px 16px; margin-inline: -4px; background: #15170edb; backdrop-filter: blur(14px); border: 1px solid #646f3a66; border-radius: 11px; }
.home-page .featured-case__title { font-size: 23px; }
.home-page .featured-case--unavailable .featured-case__availability { margin-top: auto; margin-bottom: 0; padding: 15px; background: #14160ddb; border-radius: 11px; }
.home-page .featured-case__availability-mark { display: none; }
@media (max-width: 850px) { .home-page .home-hero__copy { padding: 26px; } .home-page .featured-case { padding: 20px; } }
@media (max-width: 640px) { .home-page .home-hero { background-position: right bottom !important; background-size: auto 340px !important; } .home-page .home-hero__copy { padding: 25px; background: linear-gradient(#16170f 80%, #16170f00); } .home-page .featured-case { min-height: 230px; } .home-page .featured-case__eyebrow { margin-top: 0; } .home-page .featured-case__footer { width: 100%; } }
@media (min-width: 641px) and (max-width: 1180px) { .home-page .home-hero { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 820px) { .home-page h1 { font-size: 34px !important; } }
/* Final viewport QA: keep the catalog visible below a compact mobile hero. */
body.home-page .home-main { container-type: inline-size; }
body.home-page .hero-stat { min-height: 0; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none; }
body.home-page .hero-stats { border: 0 !important; background: transparent !important; }
@container (min-width: 1000px) { .home-page .cases-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .home-page .case-card__media { height: 164px; } .home-page .case-card__media img { height: 136px; } .home-page .case-card__title { font-size: 16px; } }
@media (max-width: 640px) {
  body.home-page .home-hero { background-size: auto 280px !important; }
  body.home-page .home-hero__copy { padding: 22px 24px 12px; }
  body.home-page h1 { max-width: none; font-size: 32px !important; line-height: 1.12; font-weight: 700; letter-spacing: -.035em; }
  body.home-page .home-hero__copy .section-kicker { margin-bottom: 12px; font-size: 9px; }
  body.home-page .home-hero__subtitle { margin-top: 12px; font-size: 12px; line-height: 1.6; }
  body.home-page .hero-actions { margin-top: 18px; gap: 8px; }
  body.home-page .hero-action { min-height: 42px; padding-inline: 14px; font-size: 11px; }
  body.home-page .hero-stats { margin-top: 16px; font-size: 10px; }
  body.home-page .featured-case { min-height: 190px; padding: 14px 16px 16px; }
  body.home-page .featured-case__eyebrow { font-size: 8px; padding: 5px 7px; }
  body.home-page .featured-case__footer { gap: 10px; padding: 12px; margin-inline: 0; }
  body.home-page .featured-case__footer > div { min-width: 0; flex: 1; }
  body.home-page .featured-case__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 18px; line-height: 1.2; font-weight: 700; }
  body.home-page .featured-case__subtitle { margin-top: 5px; font-size: 10px; }
  body.home-page .featured-case__link { min-height: 38px; padding: 0 10px; gap: 8px; font-size: 12px; }
  body.home-page .featured-case__link span { font-size: 16px; }
}

/* Keep the featured banner unchanged when hovered. */
body.home-page.motion-ready .featured-case:hover { box-shadow: none; transform: none; }
