@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&family=Mr+Dafoe&display=swap");

/* ── Fonts ── */
@font-face {
  font-family: "Inter:Bold";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Inter:Medium";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Inter:Black";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Mr Dafoe:Regular";
  src: url("https://static.figma.com/font/MrDafoe-Regular_1") format("woff2");
  font-style: normal;
  font-weight: 400;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #0f0f0f; color: #a2a2a2; font-family: "Inter", "Inter:Bold", sans-serif; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* ── Hero ── */
.hero {
  --hero-image-scale: 1.6;
  --hero-image-left: 60%;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  max-height: 1040px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero__backdrop {
  position: absolute;
  top: 0;
  left: var(--hero-image-left);
  width: 54%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  transform: scale(var(--hero-image-scale));
  transform-origin: right center;
  pointer-events: none;
}

/* Left info panel */
.hero__side {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
  padding: 0 0 0 12%;
  width: min(760px, 52vw);
  max-width: none;
  margin-top: -96px;
}

.hero__title {
  font-family: "Inter:Bold", "Inter", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 37.5px;
  color: #a2a2a2;
  margin-bottom: 12px;
}

.hero__desc {
  font-family: "Inter:Medium", "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 22.75px;
  color: #c8c8c8;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 50px;
  padding: 0 32px;
  border: 2.5px solid #64f093;
  border-radius: 9999px;
  background: #64f093;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero__btn:hover,
.hero__btn:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #000;
}

/* Footer overlay bar */
.hero__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 192px;
  background: #a2a2a2;
  color: #585858;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
  z-index: 2;
  width: 100%;
  margin: 0;
}

.hero__brand {
  font-family: "Inter:Black", "Inter", sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 48px;
  color: #333;
  text-transform: lowercase;
}

.hero__sub {
  font-family: "Inter:Black", "Inter", sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 7.2px;
  text-transform: uppercase;
  color: #333;
}

.hero__blurb {
  font-family: "Inter:Bold", "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 17.4px;
  letter-spacing: 0.6px;
  color: #333;
  max-width: 680px;
}

.hero__author {
  font-family: "Mr Dafoe:Regular", "Mr Dafoe", cursive;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #333;
}

.hero__footer > * {
  width: 100%;
  text-align: center;
}

/* ── Products header & filters ── */
.products-header {
  display: none;
}

.filters {
  display: none;
}

.filters__group {
  display: none;
}

.filters__row {
  display: none;
}

.filter {
  display: none;
}

.filter--active,
.filter:hover {
  display: none;
}

/* ── Gallery ── */
.products-heading {
  display: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 72px;
  padding: 72px 48px 96px;
}

.load-more-container {
  display: none;
}

.load-more-container[hidden] {
  display: none;
}

.load-more-button {
  display: none;
}

.load-more-button:hover:not(:disabled) {
  display: none;
}

.load-more-button:disabled {
  display: none;
}

/* ── Gallery Item ── */
.gallery__item {
  display: flex;
  flex-direction: column;
  background: transparent;
}

/* ── Card ── */
.card {
  display: flex;
  flex-direction: column;
  background: transparent;
  width: 100%;
  aspect-ratio: 592 / 650;
  position: relative;
  overflow: hidden;
}

.card__image {
  display: block;
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center;
}

/* Image badge with alt text */
.card::after {
  content: attr(data-alt);
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  background: #64f093;
  color: #000000;
  padding: 4px 20px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 9999px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Large monitors (above 24"): full-width description, larger image shifted left ── */
@media (min-width: 1921px) {
  .hero { --hero-image-scale: 1.9; --hero-image-left: 55%; }
  .hero__side { width: 100%; padding: 0 12%; }
  .hero__desc { max-width: 600px; }
}

/* ── Tablet / small laptop: title box below image ── */
@media (min-width: 721px) and (max-width: 1199px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── Hide mobile menu controls for static menu ── */
@media (max-width: 720px) {
  .vertical-menu { display: none; }
}
@media (max-width: 720px) {
  body { min-width: 0; overflow-x: hidden; margin-left: 0; }
  .hero { --hero-image-left: 50%; height: min(760px, 100svh); min-height: 620px; }
  .hero__backdrop { left: 50%; width: 72%; height: 84%; object-position: center; transform: translate(-50%, -50%) scale(var(--hero-image-scale)); transform-origin: center center; top: 50%; }
  .hero__side { display: none; }
  .hero__footer { height: 210px; padding: 18px 24px; }
  .hero__sub { max-width: 100%; font-size: 10px; letter-spacing: .25em; }
  .hero__blurb { font-size: 10px; }
  .gallery { grid-template-columns: 1fr; row-gap: 56px; padding: 56px 24px 72px; }
}
