@font-face {
  font-family: ABCFavorit;
  font-weight: 350;
  font-style: normal;
  font-display: swap;
  src:
    url("https://web-resource.gentlemonster.com/assets/fonts/ABCFavorit/ABCFavorit-Book.woff2") format("woff2"),
    url("https://web-resource.gentlemonster.com/assets/fonts/ABCFavorit/ABCFavorit-Book.woff") format("woff");
}

:root {
  --bg: #fff;
  --text: #111;
  --muted: #686868;
  --line: #d9d9d9;
  --soft-line: #ececec;
  --surface: #f7f7f7;
  --header: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ABCFavorit, system-ui, -apple-system, Arial, sans-serif;
  font-size: 13px;
  font-weight: 350;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr minmax(280px, 420px);
  align-items: center;
  gap: 28px;
  min-height: var(--header);
  padding: 18px 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
}

.year-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.year-nav::-webkit-scrollbar {
  display: none;
}

.year-nav a,
.tools select,
.tools input {
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 0;
}

.year-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 0 12px;
  color: var(--muted);
  white-space: nowrap;
}

.year-nav a:last-child {
  min-width: 104px;
}

.year-nav a:hover,
.year-nav a:focus {
  color: var(--text);
  border-color: var(--text);
  outline: none;
}

.tools {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 8px;
}

.tools input {
  width: 100%;
  padding: 0 12px;
}

.tools select {
  padding: 0 28px 0 10px;
}

main {
  min-height: 100vh;
}

.archive-summary {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 42vw);
  align-items: end;
  gap: 36px;
  padding: 34px 40px 28px;
}

.eyebrow,
.result-line,
.meta-label,
.asset-meta,
.product-subtitle {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 7px;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(30px, 5vw, 76px);
  font-weight: 350;
  line-height: 0.98;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.summary-stats div {
  min-height: 78px;
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-stats dt {
  color: var(--muted);
}

.summary-stats dd {
  margin-top: 14px;
  font-size: 20px;
}

.result-line {
  padding: 0 40px 26px;
}

.timeline {
  border-top: 1px solid var(--text);
}

.year-section {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  border-bottom: 1px solid var(--text);
}

.year-heading {
  position: sticky;
  top: var(--header);
  align-self: start;
  padding: 28px 40px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.year-heading h2 {
  font-size: 42px;
  font-weight: 350;
  line-height: 1;
}

.year-heading p {
  margin-top: 12px;
  color: var(--muted);
}

.collection-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.collection-section:last-child {
  border-bottom: 0;
}

.collection-meta {
  position: sticky;
  top: var(--header);
  align-self: start;
  padding: 28px 28px 34px;
  background: #fff;
}

.collection-meta h3 {
  font-size: 24px;
  font-weight: 350;
  line-height: 1.05;
}

.meta-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.meta-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
}

.meta-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.collection-products {
  border-left: 1px solid var(--soft-line);
}

.product-row {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--soft-line);
}

.product-row:first-child {
  border-top: 0;
}

.product-copy {
  padding: 18px 22px 18px 24px;
}

.product-copy h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 350;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-subtitle {
  margin-top: 5px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.asset-grid,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
  gap: 1px;
  background: var(--soft-line);
}

.showcase-block {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.showcase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 24px;
  color: var(--muted);
  border-bottom: 1px solid var(--soft-line);
}

.showcase-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.asset-tile {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
  background: #fff;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.asset-tile img,
.asset-tile video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface);
}

.showcase-tile img,
.showcase-tile video {
  aspect-ratio: 4 / 5;
}

.asset-tile video {
  cursor: default;
}

.asset-caption {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 8px 9px 9px;
  background: #fff;
}

.asset-view {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-meta {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hidden-by-filter,
.hidden-by-search {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0;
  background: rgba(255, 255, 255, 0.97);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 34px;
}

.lightbox-media img,
.lightbox-media video {
  max-width: 100%;
  max-height: calc(100vh - 68px);
  object-fit: contain;
}

.lightbox-caption {
  padding: 82px 30px 30px;
  border-left: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.lightbox-caption h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 350;
  line-height: 1.1;
}

.lightbox-caption p {
  margin-top: 10px;
  color: var(--muted);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 30px;
  z-index: 55;
  height: 34px;
  border: 1px solid var(--text);
  border-radius: 0;
  padding: 0 16px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 980px) {
  :root {
    --header: 124px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .tools {
    grid-template-columns: 1fr 120px;
  }

  .archive-summary {
    grid-template-columns: 1fr;
    padding: 28px 16px 24px;
  }

  .summary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-line {
    padding: 0 16px 20px;
  }

  .year-section,
  .collection-section,
  .product-row {
    grid-template-columns: 1fr;
  }

  .year-heading,
  .collection-meta {
    position: static;
    min-height: auto;
    border-right: 0;
  }

  .year-heading {
    padding: 24px 16px;
    border-bottom: 1px solid var(--line);
  }

  .collection-meta {
    padding: 24px 16px;
  }

  .collection-products {
    border-left: 0;
  }

  .product-copy {
    padding: 18px 16px;
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .showcase-heading {
    padding: 0 16px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .lightbox-media {
    padding: 62px 16px 16px;
  }

  .lightbox-caption {
    max-height: 34vh;
    padding: 18px 16px 24px;
    border-top: 1px solid var(--line);
    border-left: 0;
    overflow: auto;
  }
}
