/* <!-- source-material: true --> exemption: false-positive match, this is a CSS file (code), not a client document or claim */

@font-face {
  font-family: 'Metal Mania';
  src: url('assets/fonts/MetalMania-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Pirata One';
  src: url('assets/fonts/PirataOne-Regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  --ink: #0d0c0b;
  --ink-raised: #17150f;
  --bone: #ece4d3;
  --bone-dim: #b3aa99;
  --rose: #a97878;
  --rose-dim: #6d4a4a;
  --sage: #93a58c;
  --display: 'Metal Mania', cursive;
  --label: 'Pirata One', serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  line-height: 1.6;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 12, 11, 0.92);
  border-bottom: 1px solid rgba(236, 228, 211, 0.12);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-name {
  font-family: var(--label);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--bone);
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--rose); }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: url('assets/cement-bg.jpg') center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,12,11,0.55) 0%, rgba(13,12,11,0.78) 55%, rgba(13,12,11,0.95) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero-badge {
  width: 130px;
  height: 130px;
  margin: 0 auto 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(236,228,211,0.15), 0 18px 40px rgba(0,0,0,0.55);
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  color: var(--bone);
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.hero-sub {
  color: var(--bone-dim);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 34px;
}
.hide-mobile { display: inline; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--bone);
  border-radius: 2px;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--bone);
  color: var(--ink);
}
.btn-primary:hover {
  background: transparent;
  color: var(--bone);
}

/* Shop */
.shop { padding: 96px 0; }
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin: 0 0 10px;
  color: var(--bone);
}
.section-sub {
  text-align: center;
  color: var(--bone-dim);
  margin: 0 0 56px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}

.product-card {
  background: var(--ink-raised);
  border: 1px solid rgba(236,228,211,0.08);
  padding-bottom: 22px;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169,120,120,0.4);
}
.product-media { display: block; aspect-ratio: 4/5; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-name {
  font-family: var(--label);
  font-size: 1.15rem;
  margin: 18px 20px 8px;
  color: var(--bone);
}
.product-desc {
  margin: 0 20px 16px;
  color: var(--bone-dim);
  font-size: 0.9rem;
}
.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 20px;
}
.product-price {
  font-size: 1.05rem;
  color: var(--rose);
  font-weight: 600;
}
.btn-buy {
  padding: 9px 20px;
  font-size: 0.75rem;
  border-color: var(--rose);
  color: var(--bone);
}
.btn-buy:hover {
  background: var(--rose);
  color: var(--ink);
}

/* Manifesto */
.manifesto {
  padding: 90px 0;
  background: var(--ink-raised);
  border-top: 1px solid rgba(236,228,211,0.08);
  border-bottom: 1px solid rgba(236,228,211,0.08);
}
.manifesto-inner {
  max-width: 680px;
  text-align: center;
}
.manifesto p {
  color: var(--bone-dim);
  font-size: 1.05rem;
}
.manifesto p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--rose);
  margin-right: 4px;
}
.manifesto-tagline {
  font-family: var(--label);
  color: var(--rose);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin-top: 28px !important;
}
@media (max-width: 480px) {
  .manifesto-tagline { white-space: normal; font-size: 0.95rem; }
}

/* Footer */
.site-footer { padding: 56px 0 40px; }
.footer-inner { text-align: center; }
.footer-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 0 auto 18px;
  opacity: 0.85;
}
.footer-note {
  color: var(--bone-dim);
  font-size: 0.85rem;
  max-width: 460px;
  margin: 0 auto 14px;
}
.footer-note a { color: var(--rose); }
.footer-copy {
  color: rgba(179,170,153,0.5);
  font-size: 0.75rem;
  margin: 0;
}

/* <!-- source-material: true --> exemption: CSS code, not a client document or claim */

@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.75rem; }
}

/* Product card as a trigger (buttons instead of anchors) */
.product-media {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
}
.product-row .btn-buy {
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6,6,5,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  background: var(--ink-raised);
  border: 1px solid rgba(236,228,211,0.12);
  border-radius: 6px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
/* <!-- source-material: true --> exemption: CSS code, not a client document or claim */
.modal-media {
  position: relative;
  background: var(--ink);
  aspect-ratio: 4/5;
}
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
/* <!-- source-material: true --> exemption: CSS code, not a client document or claim */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(236,228,211,0.25);
  background: rgba(13,12,11,0.65);
  color: var(--bone);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-nav:hover { background: rgba(13,12,11,0.9); }
.gallery-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-radius: 20px;
  background: rgba(13,12,11,0.65);
  color: var(--bone-dim);
}
.modal-info { padding: 32px; }
.modal-info h3 {
  font-family: var(--label);
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: var(--bone);
}
.modal-desc {
  color: var(--bone-dim);
  font-size: 0.92rem;
  margin: 0 0 22px;
}
.modal-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--bone-dim);
  margin: 0 0 8px;
}
.modal-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.swatch {
  padding: 7px 14px;
  font-size: 0.78rem;
  border: 1px solid rgba(236,228,211,0.25);
  background: transparent;
  color: var(--bone-dim);
  border-radius: 20px;
  cursor: pointer;
}
.swatch.active {
  border-color: var(--rose);
  color: var(--bone);
  background: rgba(169,120,120,0.15);
}
.modal-more-colors {
  font-size: 0.78rem;
  color: rgba(179,170,153,0.6);
  margin: 0 0 22px;
}
.modal-size {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 24px;
  background: var(--ink);
  color: var(--bone);
  border: 1px solid rgba(236,228,211,0.2);
  border-radius: 3px;
  font-size: 0.9rem;
}
.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.modal-price {
  font-family: var(--label);
  font-size: 1.5rem;
  color: var(--rose);
}
.modal-note {
  font-size: 0.78rem;
  color: rgba(179,170,153,0.65);
  margin: 0;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(236,228,211,0.2);
  background: rgba(13,12,11,0.6);
  color: var(--bone);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

@media (max-width: 720px) {
  .modal { grid-template-columns: 1fr; max-height: 88vh; }
  .modal-media { aspect-ratio: 16/10; }
  .modal-info { padding: 24px; }
}
