:root {
  color-scheme: dark;
  --bg: #11100e;
  --paper: #f7efe1;
  --gold: #d6ad63;
  --muted: rgba(247, 239, 225, 0.72);
  --line: rgba(247, 239, 225, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 173, 99, 0.24), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.09), transparent 28%),
    linear-gradient(135deg, #171411, #070706 74%);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 28px;
}

.hero {
  min-height: 58vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 80px 0 48px;
}

.eyebrow,
.tag {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 11vw, 138px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.intro {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 24px);
  line-height: 1.55;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary,
.secondary,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary {
  background: var(--paper);
  color: #15120e;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--paper);
}

.catalogues {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8)),
    linear-gradient(135deg, rgba(214, 173, 99, 0.25), rgba(255, 255, 255, 0.06));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.45;
  transform: scale(1.02);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.card:hover::before {
  opacity: 0.62;
  transform: scale(1.08);
}

.bags::before {
  background-image: url("https://yansacsengros.pages.dev/images/yan-hero-brand.webp");
}

.supply::before {
  background-image: url("https://novasupply.weng-work-cn.workers.dev/optimized/assets/hero-products-v2.webp");
}

.card > * {
  position: relative;
  z-index: 1;
}

.card h2 {
  margin: 14px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.card p {
  max-width: 440px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.cta {
  width: fit-content;
  background: rgba(247, 239, 225, 0.94);
  color: #15120e;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 2px 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer span {
  color: var(--paper);
  font-weight: 800;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 520px);
    padding-top: 20px;
  }

  .hero {
    min-height: 58svh;
    padding: 54px 0 34px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .card {
    min-height: 330px;
    padding: 26px;
    border-radius: 26px;
  }
}
