:root {
  color-scheme: dark;
  --bg: #313131;
  --text: #dddddd;
  --muted: #dddddd;
  --accent: #ffcc00;
  --surface: #000000;
  --border: transparent;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 195px 1fr;
}

.sidebar {
  background: #000000;
  padding: 1.75rem 1.25rem 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  width: 100%;
}

.brand img {
  width: 140px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  font-size: 1.55rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-left: -10px;
  text-align: right;
  width: 100%;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.3rem;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

.content-area {
  background: var(--bg);
  justify-content: center;
  padding: 3.125rem 3.125rem 3.125rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-head {
  display: flex;
  justify-content: center;
  margin-top: 1.875rem;
  margin-bottom: 3.125rem;
}

.content-head h1 {
  margin: 0;
  font-size: clamp(1.95rem, 2.9vw, 2.55rem);
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  cursor: pointer;
}

.product-image-frame {
  overflow: hidden;
  background: #000000;
}

.product-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #000000;
  transform-origin: center center;
  transition: transform 0.25s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.92rem;
  padding-top: 0.05rem;
}

.product-meta h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.product-card:hover .product-meta h2 {
  color: var(--accent);
}

.product-meta h2 .bullet-marker {
  color: #c00;
  font-size: 2em;
  line-height: 0.5;
  vertical-align: middle;
}

.product-meta p {
  margin: 0;
  font-weight: 600;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  padding: 1rem 0 2rem;
}

.product-detail-media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-image-frame {
  overflow: hidden;
  background: #000000;
}

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

.product-thumb {
  border: 1px solid transparent;
  background: #000000;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
  aspect-ratio: var(--product-image-ratio, 1 / 1);
}

.product-thumb.is-active {
  border-color: var(--accent);
}

.product-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--product-image-ratio, 1 / 1);
  object-fit: contain;
  object-position: center;
  background: #000000;
  opacity: 0.88;
}

.product-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #000000;
  transform-origin: center center;
  transition: transform 0.01s linear;
  transform: translate(0, 0) scale(1);
  will-change: transform;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 560px;
}

.product-detail-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--accent);
}

.product-detail-info h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.product-detail-info p {
  margin: 0;
  font-size: 1.05rem;
}

.product-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 1.3rem;
}

.back-link {
  margin-top: 0.5rem;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 1rem;
}

.contact-intro {
  max-width: 760px;
  margin-bottom: 1.5rem;
  justify-self: center;
}

.about-intro {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.about-intro h1 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.about-intro p,
.about-card p {
  margin: 0 0 1rem;
  font-size: 1.06rem;
  justify-self: left;
}

.about-intro p:last-child,
.about-card p:last-child {
  margin-bottom: 0;
}

.about-card {
  max-width: 760px;
  margin-top: 1rem;
}

.site-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 0;
  color: var(--text);
  font-size: 0.95rem;
  text-align: center;
  align-self: center;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    padding: 1rem 1rem 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 0.5rem;
  }

  .site-nav.open {
    display: flex;
  }

  .content-area {
    padding: 1rem 1rem 2rem;
  }

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