:root {
  color-scheme: dark;
  --ink: #f6f3ec;
  --muted: #b8b2a6;
  --panel: #151515;
  --panel-2: #202020;
  --black: #000;
  --red: #ef3434;
  --cyan: #00c2d1;
  --gold: #ffc247;
  --gold-deep: #9c6c00;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.84)),
    url("assets/black-gold-marble-background.jpg") center top / cover fixed;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.shipping-bar {
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  color: #080808;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(158px, 18vw, 260px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
}

.nav-action {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.nav-call {
  background: transparent;
  color: var(--gold);
  border-color: rgba(255, 194, 71, 0.62);
}

.nav-call:hover,
.nav-call:focus-visible {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.category-tab {
  position: fixed;
  top: clamp(7rem, 13vh, 8.75rem);
  left: 0;
  z-index: 42;
  width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, var(--gold), #d99a18);
  color: #080808;
  padding: 0;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.category-tab-icon {
  width: 18px;
  display: grid;
  gap: 4px;
}

.category-tab-icon span {
  display: block;
  height: 2px;
  background: #080808;
  border-radius: 999px;
}

.category-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.category-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 45;
  width: min(380px, calc(100vw - 44px));
  padding: 1.35rem;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.96), rgba(15, 15, 15, 0.98)),
    url("assets/black-gold-marble-background.jpg") center / cover;
  border-right: 1px solid rgba(255, 194, 71, 0.42);
  box-shadow: var(--shadow);
  transform: translateX(-102%);
  transition: transform 220ms ease;
}

.category-sidebar-open .category-sidebar {
  transform: translateX(0);
}

.category-sidebar-open .category-sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.category-sidebar-open .category-tab {
  opacity: 0;
  pointer-events: none;
}

.category-sidebar-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.category-sidebar-header h2 {
  font-size: clamp(1.8rem, 7vw, 2.8rem);
}

.category-sidebar-header button {
  min-height: 40px;
  border: 1px solid var(--line);
  background: #101010;
  color: var(--ink);
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
}

.category-sidebar-menu {
  display: grid;
  gap: 0.75rem;
}

.category-sidebar-menu details {
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.86);
  border-radius: 8px;
  overflow: hidden;
}

.category-sidebar-menu details[open] {
  border-color: rgba(255, 194, 71, 0.72);
}

.category-sidebar-menu summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.category-sidebar-menu summary::marker,
.category-sidebar-menu summary::-webkit-details-marker {
  display: none;
  content: "";
}

.category-sidebar-menu summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

.category-sidebar-menu details[open] summary::after {
  content: "-";
}

.category-sidebar-links {
  display: grid;
  gap: 0.35rem;
  padding: 0 0.75rem 0.85rem;
}

.category-sidebar-links a {
  display: flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 4px;
}

.category-sidebar-links a:hover,
.category-sidebar-links a:focus-visible,
.category-sidebar-links a[aria-current="page"] {
  border-color: rgba(255, 194, 71, 0.48);
  background: rgba(255, 194, 71, 0.13);
  color: var(--gold);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 112px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0 2rem;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.5rem, 7.2vw, 6.8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title {
  margin-bottom: 1.3rem;
  line-height: 1;
}

.hero-title img {
  width: min(100%, 680px);
  height: auto;
  filter: drop-shadow(0 16px 42px rgba(255, 194, 71, 0.18));
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

#services-title {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.hero-copy p:not(.eyebrow),
.section-heading,
.feature-band p,
.community-grid p,
.release-card p,
.release-summary {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 44rem;
  color: var(--gold);
  font-size: 1.08rem;
}

.hours-panel {
  max-width: 34rem;
  display: grid;
  gap: 0.35rem;
  margin-top: 1.35rem;
  padding: 0.9rem 1rem;
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(255, 194, 71, 0.34);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.hours-panel .hours-label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hours-panel strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.hours-phone {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 194, 71, 0.7);
  text-underline-offset: 0.18em;
}

.hours-phone:hover,
.hours-phone:focus-visible {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #080808;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.brand-strip a {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(0.75rem, 1.7vw, 1rem);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.brand-strip a:nth-child(2n) {
  background: #101010;
}

.section,
.feature-band,
.visit {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.source-links {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
}

.source-link {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.release-panel {
  display: grid;
  gap: 1.25rem;
}

.release-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.9rem 1rem;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.release-summary strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.stock-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.stock-toolbar span {
  color: var(--muted);
  font-size: 0.82rem;
}

.stock-toggle {
  min-height: 44px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
}

.stock-toggle[aria-pressed="true"] {
  background: var(--gold);
  color: #080808;
}

.release-filters {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.release-filters a,
.release-filters button {
  min-height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #101010;
  color: var(--muted);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
}

.release-filters a[aria-current="page"],
.release-filters button[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #080808;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.release-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.1rem;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0.9rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.92), transparent 0 15%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 243, 236, 0.82) 48%, rgba(255, 194, 71, 0.18)),
    linear-gradient(135deg, var(--orb-a), var(--orb-b));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.28));
}

.product-media-link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.product-media-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -5px;
}

.release-card-body {
  display: grid;
  gap: 0.35rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.stock-badge {
  flex: 0 0 auto;
  padding: 0.32rem 0.5rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 999px;
}

.stock-badge.is-stocked {
  border-color: rgba(255, 194, 71, 0.55);
  background: rgba(255, 194, 71, 0.12);
  color: var(--gold);
}

.release-card h3 {
  min-height: 3.4rem;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.price-row span {
  width: fit-content;
  padding: 0.45rem 0.65rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: 999px;
}

.price-row del {
  color: var(--muted);
  font-size: 0.82rem;
}

.release-card > a {
  width: fit-content;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.product-back-link {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.96), rgba(15, 15, 15, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail-media {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.92), transparent 0 15%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 243, 236, 0.82) 48%, rgba(255, 194, 71, 0.18)),
    linear-gradient(135deg, var(--orb-a), var(--orb-b));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.32));
}

.product-detail-copy {
  display: grid;
  gap: 1rem;
}

.product-detail-copy h1 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 5.4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.product-detail-copy > p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.detail-price-row span {
  padding: 0.55rem 0.8rem;
  background: var(--gold);
  color: var(--black);
  font-size: 1rem;
  font-weight: 900;
  border-radius: 999px;
}

.detail-price-row del {
  color: var(--muted);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.specs-title {
  margin: 0.25rem 0 -0.1rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding-top: 0.35rem;
}

.product-specs div {
  min-height: 78px;
  padding: 0.85rem;
  background: rgba(8, 8, 8, 0.5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
}

.product-specs dt {
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.product-detail-empty {
  max-width: 680px;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.product-detail-empty p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.product-kicker {
  margin-bottom: 0.4rem;
  color: var(--cyan) !important;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  border-block: 1px solid var(--line);
}

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-grid article,
.community-grid article {
  padding: 1.15rem;
  background: #111;
  border-left: 4px solid var(--red);
}

.service-grid article:nth-child(2),
.community-grid article:nth-child(2) {
  border-color: var(--cyan);
}

.service-grid article:nth-child(3),
.community-grid article:nth-child(3) {
  border-color: var(--gold);
}

.drilling-section,
.plugging-section,
.surfacing-section,
.engraving-section {
  border-bottom: 1px solid var(--line);
}

.section-note {
  margin: 0.8rem 0 0;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.drilling-list,
.plugging-list,
.surfacing-list,
.engraving-list {
  display: grid;
  gap: 0.9rem;
}

.drilling-list article,
.plugging-list article,
.surfacing-list article,
.engraving-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.drilling-list h3,
.plugging-list h3,
.surfacing-list h3,
.engraving-list h3 {
  margin-bottom: 0.25rem;
}

.drilling-list p,
.plugging-list p,
.surfacing-list p,
.engraving-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.drilling-list strong,
.plugging-list strong,
.surfacing-list strong,
.engraving-list strong {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.community-grid strong {
  display: block;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.visit {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.visit h2 {
  max-width: 14ch;
}

@media (max-width: 1100px) {
  .release-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 0.85rem 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    overflow-x: auto;
  }

  .hero,
  .feature-band,
  .split-section,
  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 6rem);
  }

  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-strip a:last-child {
    grid-column: 1 / -1;
  }

  .visit {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: min(46vw, 172px);
  }

  .nav-action {
    padding-inline: 0.7rem;
  }

  .section-heading {
    display: block;
  }

  .source-link {
    display: inline-flex;
    margin-top: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .release-grid {
    grid-template-columns: 1fr;
  }

  .release-card {
    min-height: 300px;
  }
}
