@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --ink: #171717;
  --muted: #6f6f6a;
  --line: #e7e5df;
  --paper: #faf9f6;
  --card: #ffffff;
  --accent: #d9a441;
  --accent-dark: #9a6b12;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250,249,246,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font: 700 13px/1 "Space Grotesk", sans-serif;
  letter-spacing: .02em;
}
.brand strong, .brand small { display: block; }
.brand strong {
  font: 700 16px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -.02em;
}
.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.header-order {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  transition: .2s ease;
}
.header-order:hover {
  background: var(--ink);
  color: #fff;
}

main { overflow: hidden; }
.intro {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 92px 0 80px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.intro h1 {
  max-width: 780px;
  margin: 0;
  font: 700 clamp(46px, 7vw, 84px)/.95 "Space Grotesk", sans-serif;
  letter-spacing: -.065em;
}
.intro-copy {
  max-width: 590px;
  margin: 27px 0 29px;
  color: var(--muted);
  font-size: 17px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 13px 17px 13px 19px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.primary-button:hover { transform: translateY(-2px); background: #30302e; }
.primary-button span { font-size: 19px; }

.catalogue {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 78px 0 100px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin: 0;
  font: 700 clamp(31px, 4vw, 44px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
}
.count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #d7d4cc;
  box-shadow: 0 12px 30px rgba(23,23,23,.07);
}
.product-image-wrap {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f2f1ed;
  overflow: hidden;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-image-wrap img { transform: scale(1.025); }
.product-info { padding: 17px 17px 18px; }
.product-info h2 {
  min-height: 45px;
  margin: 0 0 13px;
  font: 600 16px/1.35 "Space Grotesk", sans-serif;
  letter-spacing: -.02em;
}
.order-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.order-link span { font-size: 18px; transition: transform .2s ease; }
.order-link:hover span { transform: translateX(4px); }

.site-footer {
  border-top: 1px solid var(--line);
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}
.site-footer span { display: block; }
.site-footer > a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.site-footer > a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .intro { padding-top: 72px; }
}
@media (max-width: 680px) {
  .header-inner, .intro, .catalogue, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .header-order { padding: 9px 12px; font-size: 12px; }
  .intro { padding: 62px 0 58px; }
  .intro h1 { font-size: clamp(42px, 14vw, 65px); }
  .intro-copy { font-size: 15px; }
  .catalogue { padding: 58px 0 72px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-info { padding: 14px; }
  .product-info h2 { min-height: auto; font-size: 14px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-bottom: 32px; }
}
@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image-wrap { aspect-ratio: 4 / 3; }
}
