@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("files/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("files/fraunces-latin-wght-normal.woff2") format("woff2");
}
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: #0d0d0d;
  color: #ececec;
  font-family: "Inter Variable", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1, h2 {
  font-family: "Fraunces Variable", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 32px 0 6px;
  letter-spacing: -0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #262626;
}
.site-header .brand {
  font-family: "Fraunces Variable", Georgia, serif;
  font-size: 1.25rem;
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 22px;
}
.site-header nav a {
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9b9b9b;
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: #ececec;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.meta {
  color: #9b9b9b;
  margin: 0 0 28px;
  font-size: 0.95rem;
}
.meta a {
  color: #d4a24c;
  text-decoration: none;
}

.section-title {
  font-family: "Inter Variable", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9b9b9b;
  margin: 40px 0 16px;
}

.description {
  max-width: 70ch;
  color: #cfcfcf;
  margin: 0 0 28px;
}

.hero {
  position: relative;
  height: 60vh;
  min-height: 320px;
  margin: 0 calc(50% - 50vw) 8px;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0) 55%);
}
.hero__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 28px;
}
.hero__text h1 {
  margin: 0;
}
.hero__text p {
  margin: 6px 0 0;
  color: #9b9b9b;
}

.cards {
  display: grid;
  gap: 28px 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  display: block;
  text-decoration: none;
}
.card__img {
  overflow: hidden;
  border-radius: 6px;
  background: #171717;
  aspect-ratio: 3/2;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.card:hover .card__img img {
  transform: scale(1.04);
}
.card strong {
  display: block;
  font-family: "Fraunces Variable", Georgia, serif;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  margin-top: 10px;
}
.card small {
  color: #9b9b9b;
  font-size: 0.85rem;
}

.grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.grid a {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #171717;
  aspect-ratio: 3/2;
}
.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.grid a:hover img {
  opacity: 0.85;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tags a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid #262626;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  transition: border-color 0.2s, color 0.2s;
}
.tags a:hover {
  border-color: #d4a24c;
  color: #d4a24c;
}
.tags small {
  color: #9b9b9b;
  margin-left: 6px;
  font-size: 0.8rem;
}

.site-footer {
  border-top: 1px solid #262626;
  padding: 28px 24px;
  text-align: center;
  color: #9b9b9b;
  font-size: 0.85rem;
}
.site-footer a {
  color: #ececec;
  text-decoration: none;
}
.site-footer a:hover {
  color: #d4a24c;
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }
  .site-header .brand {
    font-size: 1.05rem;
  }
  .site-header nav {
    gap: 16px;
  }
  main {
    padding: 0 16px 40px;
  }
  .hero {
    height: 45vh;
    min-height: 260px;
  }
  .hero__text {
    padding: 0 16px 20px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }
}