:root {
  --bg: #080b10;
  --bg-soft: #0d1219;
  --panel: rgba(17, 23, 32, 0.88);
  --panel-strong: #111821;
  --line: rgba(255, 255, 255, 0.11);
  --line-bright: rgba(146, 205, 255, 0.34);
  --text: #f7f9fc;
  --muted: #a7b0bc;
  --blue: #50adff;
  --blue-deep: #0879df;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 76px;
  --content-width: 1380px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 4%, rgba(20, 112, 201, 0.16), transparent 31rem),
    radial-gradient(circle at 94% 34%, rgba(50, 100, 158, 0.11), transparent 27rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #fff;
  color: #07101a;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px max(24px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(18px) saturate(125%);
}

.brand {
  display: inline-flex;
  width: min(210px, 42vw);
  min-height: 44px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link,
.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.header-link {
  padding: 0 10px;
  color: var(--muted);
}

.header-link:hover {
  color: #fff;
}

.header-cta {
  padding: 0 19px;
  border: 1px solid rgba(121, 194, 255, 0.32);
  background: rgba(44, 143, 229, 0.15);
  color: #e7f5ff;
  white-space: nowrap;
}

.header-cta:hover {
  border-color: rgba(121, 194, 255, 0.62);
  background: rgba(44, 143, 229, 0.24);
}

.catalogue-hero,
.catalogue-section,
.catalogue-cta,
.site-footer {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.catalogue-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding: clamp(74px, 10vw, 142px) 0 clamp(54px, 7vw, 88px);
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.catalogue-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7.8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.91;
  text-wrap: balance;
}

.hero-intro {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
}

.hero-count {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  padding-bottom: 10px;
}

.hero-count-number {
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.75;
}

.hero-count-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.catalogue-section {
  position: relative;
  scroll-margin-top: var(--header-height);
  padding-bottom: 96px;
}

.filter-shell {
  position: sticky;
  z-index: 20;
  top: var(--header-height);
  margin: 0 -2px 32px;
  padding: 16px 2px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.98) 76%, rgba(8, 11, 16, 0.9));
  backdrop-filter: blur(15px);
}

.filter-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.filter-label,
.results-status {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-label {
  color: #ecf5ff;
}

.results-status {
  color: var(--muted);
  text-align: right;
}

.style-filters {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 1px 1px 3px;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.style-filters::-webkit-scrollbar {
  display: none;
}

.filter-button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #b9c2cd;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.filter-button:hover:not(:disabled) {
  border-color: var(--line-bright);
  color: #fff;
}

.filter-button.is-active {
  border-color: rgba(95, 178, 249, 0.58);
  background: var(--blue-deep);
  color: #fff;
}

.filter-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.catalogue-loading,
.catalogue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.catalogue-loading[hidden],
.catalogue-layout[hidden],
.catalogue-error[hidden],
.catalogue-empty[hidden] {
  display: none;
}

.skeleton {
  overflow: hidden;
  background: #111720;
}

.skeleton::after {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    102deg,
    transparent 24%,
    rgba(255, 255, 255, 0.07) 43%,
    transparent 62%
  );
  content: "";
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.25s infinite;
}

@keyframes skeleton-shimmer {
  to {
    transform: translateX(100%);
  }
}

.spotlight-skeleton {
  width: min(100%, calc((100svh - 214px) * 0.75));
  min-width: 380px;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border-radius: 28px;
}

.row-skeletons {
  display: grid;
  gap: 14px;
}

.row-skeleton {
  min-height: 174px;
  border-radius: 20px;
}

.spotlight-column {
  position: sticky;
  top: 194px;
}

.spotlight-figure {
  position: relative;
  width: min(100%, calc((100svh - 214px) * 0.75));
  min-width: 380px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: var(--panel-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.spotlight-media,
.style-row-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 26%, rgba(76, 151, 220, 0.18), transparent 42%),
    #111821;
}

.spotlight-media {
  width: 100%;
  height: 100%;
}

.spotlight-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 7, 12, 0.34) 67%, rgba(3, 7, 12, 0.98) 100%);
  content: "";
  pointer-events: none;
}

.spotlight-media img,
.style-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-media img {
  transition: opacity 150ms ease, transform 600ms ease;
}

.spotlight-figure.is-changing .spotlight-media img {
  opacity: 0.35;
  transform: scale(1.012);
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(58, 139, 210, 0.16), transparent 55%),
    #101720;
  color: rgba(225, 241, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.has-image-error .image-fallback {
  display: grid;
}

.has-image-error > img,
.has-image-error .spotlight-media img {
  visibility: hidden;
}

.spotlight-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px clamp(24px, 4vw, 44px) 34px;
}

.spotlight-index,
.style-index {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.spotlight-caption h2 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.spotlight-caption > p {
  max-width: 590px;
  margin: 0;
  color: rgba(235, 241, 248, 0.79);
  font-size: 0.9rem;
  line-height: 1.55;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 9, 14, 0.34);
  color: rgba(240, 246, 252, 0.75);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.style-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.style-list-item {
  content-visibility: auto;
  contain-intrinsic-size: 174px;
}

.style-row {
  position: relative;
  display: grid;
  min-height: 174px;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(14, 19, 27, 0.74);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.style-row::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  content: "";
  transform: translateY(-50%);
  transition: background 150ms ease, box-shadow 150ms ease;
}

.style-row:hover,
.style-row.is-spotlighted {
  border-color: var(--line-bright);
  background: rgba(21, 31, 43, 0.9);
}

.style-row:hover {
  transform: translateX(-3px);
}

.style-row.is-spotlighted::after {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(80, 173, 255, 0.11);
}

.style-row-media {
  min-height: 172px;
  aspect-ratio: 3 / 4;
}

.style-row-copy {
  align-self: center;
  min-width: 0;
  padding: 22px 42px 22px 0;
}

.style-row-copy h2 {
  margin: 5px 0 7px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.08;
}

.style-row-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.style-row .tag-list {
  margin-top: 11px;
}

.style-row .tag-list li {
  padding: 3px 7px;
  background: transparent;
  font-size: 0.55rem;
}

.catalogue-error,
.catalogue-empty {
  max-width: 680px;
  margin: 62px auto 40px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(17, 23, 32, 0.78);
  text-align: center;
}

.error-eyebrow {
  margin: 0 0 11px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalogue-error h2,
.catalogue-empty h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
}

.catalogue-error > p:not(.error-eyebrow),
.catalogue-empty p {
  margin: 14px 0 0;
  color: var(--muted);
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 25px;
}

.error-actions button,
.error-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.error-actions button {
  border: 0;
  background: var(--blue-deep);
  color: #fff;
  cursor: pointer;
}

.error-actions a {
  border: 1px solid var(--line);
  color: #d6dee8;
}

.catalogue-cta {
  margin-bottom: 72px;
  padding: clamp(54px, 8vw, 100px) clamp(28px, 8vw, 110px);
  border: 1px solid rgba(114, 187, 248, 0.19);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 15%, rgba(49, 145, 230, 0.2), transparent 33rem),
    linear-gradient(140deg, rgba(17, 26, 38, 0.96), rgba(11, 16, 23, 0.96));
  text-align: center;
}

.catalogue-cta h2 {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

.catalogue-cta > p:not(.eyebrow) {
  max-width: 600px;
  margin: 23px auto 0;
  color: var(--muted);
}

.catalogue-cta > a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 29px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7f8996;
  font-size: 0.75rem;
}

.footer-brand {
  color: #edf5fd;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer div a:hover {
  color: #fff;
}

.noscript-message {
  width: min(calc(100% - 48px), 720px);
  margin: 0 auto 50px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

.noscript-message a {
  color: var(--blue);
}

:where(a, button):focus-visible {
  outline: 3px solid rgba(94, 186, 255, 0.92);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .catalogue-loading,
  .catalogue-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
    gap: 32px;
  }

  .spotlight-figure,
  .spotlight-skeleton {
    min-width: 330px;
  }
}

@media (max-width: 899px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand {
    width: min(174px, 48vw);
  }

  .header-link {
    display: none;
  }

  .header-cta {
    padding-inline: 15px;
    font-size: 0.75rem;
  }

  .catalogue-hero,
  .catalogue-section,
  .catalogue-cta,
  .site-footer {
    width: min(calc(100% - 32px), 680px);
  }

  .catalogue-hero {
    display: block;
    padding: 64px 0 52px;
  }

  .catalogue-hero h1 {
    font-size: clamp(3.4rem, 16vw, 6.8rem);
  }

  .hero-intro {
    margin-top: 24px;
  }

  .hero-count {
    margin-top: 34px;
  }

  .filter-shell {
    position: static;
    margin-bottom: 22px;
    padding-top: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .catalogue-loading,
  .catalogue-layout {
    display: block;
  }

  .spotlight-column,
  .spotlight-skeleton {
    display: none;
  }

  .row-skeletons,
  .style-list {
    gap: 18px;
  }

  .row-skeleton {
    aspect-ratio: 3 / 4;
    min-height: 0;
    border-radius: 24px;
  }

  .style-list-item {
    contain-intrinsic-size: auto min(125vw, 820px);
  }

  .style-row {
    display: block;
    min-height: 0;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
  }

  .style-row:hover {
    transform: none;
  }

  .style-row::after {
    display: none;
  }

  .style-row-media {
    position: absolute;
    inset: 0;
    min-height: 0;
    aspect-ratio: auto;
  }

  .style-row-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(4, 7, 11, 0.24) 62%, rgba(4, 7, 11, 0.97) 100%);
    content: "";
  }

  .style-row-copy {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px 26px 29px;
  }

  .style-row-copy h2 {
    margin-top: 7px;
    color: #fff;
    font-size: clamp(2.15rem, 9vw, 3.6rem);
    line-height: 0.98;
  }

  .style-row-copy > p {
    max-width: 520px;
    color: rgba(238, 244, 250, 0.78);
    font-size: 0.86rem;
  }

  .style-row .tag-list li {
    background: rgba(4, 8, 13, 0.34);
  }

  .catalogue-section {
    padding-bottom: 68px;
  }

  .catalogue-cta {
    margin-bottom: 52px;
    border-radius: 26px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    display: none;
  }
}

@media (max-width: 540px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    width: min(145px, 43vw);
  }

  .header-cta {
    padding-inline: 13px;
  }

  .catalogue-hero h1 {
    font-size: clamp(3.15rem, 17vw, 5.6rem);
  }

  .filter-heading-row {
    align-items: flex-end;
  }

  .results-status {
    max-width: 52%;
    font-size: 0.66rem;
  }

  .catalogue-error,
  .catalogue-empty {
    padding-inline: 22px;
  }

  .error-actions {
    flex-direction: column;
  }

  .catalogue-cta {
    padding-inline: 23px;
  }

  .site-footer {
    display: block;
    text-align: center;
  }

  .site-footer div {
    justify-content: center;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
