:root {
  color-scheme: light;
  --paper: #faf6ee;
  --sheet: #fffaf2;
  --ink: #0e0d0b;
  --muted: #81796e;
  --faint: #b8afa1;
  --rule: #e8dfd2;
  --rule-strong: #d8cfc0;
  --wash: #efe8da;
  --hover: #f2eadf;
  --danger: #8d3f2b;
  --focus: #0e0d0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(14, 13, 11, 0.12);
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Neue Haas Grotesk Display Pro 55 Roman", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body.panel-open,
body.submit-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
  touch-action: manipulation;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 40;
  transform: translateY(-72px);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 13px;
  font-size: 13px;
  transition: transform 160ms ease;
}

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

.site-shell {
  width: min(1480px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 40px;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 24px;
  min-height: 112px;
  align-items: end;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--rule);
}

.kicker,
.search-wrap span,
.block-kicker,
.shelf-count,
.company-domain,
.panel-label,
.site-footer,
.panel-link span:first-child,
.empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 6px;
}

h1 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 540;
  line-height: 0.92;
  letter-spacing: 0;
}

.dek {
  max-width: 430px;
  margin: 8px 0 0;
  color: #27241e;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.22;
}

.masthead-meta {
  min-height: 72px;
  justify-self: end;
  padding-left: 0;
}

.masthead-meta span {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  line-height: 0.95;
  font-weight: 450;
}

.masthead-meta small {
  display: block;
  max-width: 110px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.submit-agent {
  display: inline-flex;
  margin-top: 13px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-transform: none;
  white-space: nowrap;
}
.controls {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 10px 0 6px;
  border-bottom: 0;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px);
}

.top-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tab-button {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 24px;
  border: 0;
  background: transparent;
  color: var(--faint);
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.tab-button span {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

.tab-button[aria-pressed="true"] {
  color: var(--ink);
}

.tab-button[aria-pressed="true"] span {
  color: var(--ink);
}

.search-wrap {
  position: relative;
  display: block;
  width: clamp(150px, 15vw, 220px);
}

.search-wrap span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-wrap input {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--rule-strong) 76%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  padding: 0 18px 0 0;
  font-size: 12px;
}

.search-wrap input::placeholder {
  color: var(--faint);
}

.search-wrap input:focus,
.tab-button:focus-visible,
.brand-button:focus-visible,
.company-domain:focus-visible,
.panel-close:focus-visible,
.panel-link:focus-visible,
.site-footer a:focus-visible,
.submit-agent:focus-visible,
.submit-close:focus-visible,
.submit-foot a:focus-visible,
.featured-prava:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 5px;
}

.featured-prava {
  display: inline-grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  width: min(430px, 100%);
  margin-top: 15px;
  color: inherit;
}

.featured-prava:hover .featured-line strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.featured-mark {
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  background: #04110f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.featured-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--rule-strong);
}

.featured-eyebrow {
  color: var(--faint);
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-line {
  display: inline-flex;
  min-width: 0;
  gap: 7px;
  align-items: baseline;
  color: #312d26;
  font-size: 13px;
  line-height: 1.18;
}

.featured-line strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
}

.featured-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shelves {
  display: grid;
  gap: 38px;
  padding: 22px 0 44px;
}

.category-block {
  display: grid;
  gap: 14px;
}

.block-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding-bottom: 2px;
}

.block-head h2 {
  margin: 0;
  scroll-margin-top: 96px;
  text-wrap: balance;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 520;
  line-height: 1;
}

.block-kicker {
  display: none;
}


.block-count {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  white-space: nowrap;
}

.shelf {
  display: grid;
  grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 6px 0 10px;
}

.shelf-head {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding-top: 10px;
}

.shelf-head h3 {
  margin: 0;
  scroll-margin-top: 96px;
  text-wrap: balance;
  color: var(--faint);
  font-size: 10px;
  font-weight: 520;
  line-height: 1.2;
}


.shelf-count {
  color: var(--faint);
  font-size: 10px;
  font-weight: 520;
  letter-spacing: 0;
  text-transform: none;
}
.logo-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 14px 12px;
}

.company-tile {
  min-width: 0;
}

.brand-button {
  display: grid;
  width: 100%;
  min-height: 96px;
  grid-template-rows: 68px auto;
  gap: 6px;
  align-items: end;
  justify-items: start;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 6px 6px 5px;
  text-align: left;
  cursor: pointer;
}

.brand-button:hover {
  background: transparent;
}

.brand-button:hover .brand-mark {
  transform: translateY(-2px);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rule) 72%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--sheet) 84%, transparent);
  color: var(--ink);
  font-size: 22px;
  font-weight: 560;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.brand-mark img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 54px;
  max-height: 54px;
  margin: auto;
  object-fit: contain;
  opacity: 0;
}

.fallback-text {
  display: block;
  line-height: 1;
}

.brand-mark.has-image {
  border-color: color-mix(in srgb, var(--rule) 72%, transparent);
  background: color-mix(in srgb, var(--sheet) 84%, transparent);
}

.brand-mark.has-image img {
  opacity: 1;
}

.brand-mark.has-image .fallback-text {
  opacity: 0;
}

.company-name {
  display: block;
  width: 100%;
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-domain {
  display: inline-flex;
  max-width: calc(100% - 16px);
  margin: 0 8px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 450;
}

.company-domain.is-muted {
  color: var(--faint);
  pointer-events: none;
}

.empty {
  margin: 44px 0 72px;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule-strong);
  padding-top: 18px;
  text-transform: none;
  letter-spacing: 0;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.site-footer a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(14, 13, 11, 0.18);
}

.detail-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 31;
  width: min(460px, 100%);
  border-left: 1px solid var(--rule-strong);
  background: var(--sheet);
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail-panel.is-open {
  transform: translateX(0);
}

.panel-close {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--sheet);
  color: var(--muted);
  cursor: pointer;
  text-align: right;
  padding: 0 22px;
  font-size: 13px;
}

.panel-body {
  display: grid;
  gap: 28px;
  padding: 30px 24px 44px;
}

.panel-hero {
  display: grid;
  gap: 14px;
}

.panel-logo .brand-mark {
  width: 96px;
  height: 96px;
}

.panel-logo .brand-mark img {
  max-width: 82px;
  max-height: 82px;
}

.panel-logo .brand-mark {
  font-size: 34px;
}

.panel-label {
  display: block;
  margin-bottom: 9px;
}

.panel-title {
  margin: 0;
  font-size: clamp(38px, 8vw, 62px);
  font-weight: 520;
  line-height: 0.95;
}

.panel-description {
  margin: 0;
  color: #25221d;
  font-size: 15px;
  line-height: 1.28;
}

.panel-section {
  display: grid;
  gap: 10px;
}

.panel-links {
  display: grid;
  border-top: 1px solid var(--rule);
}

.panel-link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 47px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 14px;
}

.panel-link.is-disabled {
  color: var(--faint);
  pointer-events: none;
}

.panel-link span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.submit-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(14, 13, 11, 0.24);
}

.submit-dialog {
  position: fixed;
  inset: 18px auto auto 50%;
  z-index: 41;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(760px, calc(100% - 28px));
  height: min(820px, calc(100dvh - 36px));
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
  box-shadow: 0 22px 70px rgba(14, 13, 11, 0.14);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.submit-dialog.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.submit-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--rule);
  padding: 16px 18px 14px;
}

.submit-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.submit-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 520;
  line-height: 0.95;
}

.submit-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 0 0;
  font-size: 13px;
}

.submit-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f0ebff;
}

.submit-foot {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--rule);
  padding: 10px 18px 12px;
}

.submit-foot a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 920px) {
  .masthead {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .masthead-meta {
    min-height: 0;
    justify-self: end;
    padding: 0;
  }

  .submit-agent {
    margin-top: 9px;
    font-size: 11px;
  }

  .controls {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .search-wrap {
    width: min(260px, 100%);
  }

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

  .shelf-head {
    position: static;
  }
}

@media (max-width: 620px) {
  .submit-dialog {
    inset: 10px auto auto 50%;
    width: calc(100% - 20px);
    height: calc(100dvh - 20px);
  }

  .submit-head {
    padding: 14px 12px 12px;
  }

  .submit-foot {
    padding: 9px 12px 11px;
  }

  .site-shell {
    width: min(100% - 24px, 1480px);
    padding-top: 18px;
  }

  .masthead {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 10px;
  }

  .masthead-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: flex-end;
    justify-self: start;
  }

  .masthead-meta span {
    font-size: 22px;
  }

  .masthead-meta small {
    max-width: 86px;
    margin-top: 0;
  }

  .submit-agent {
    margin-top: 0;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .dek {
    font-size: 14px;
  }

  .controls {
    position: static;
    gap: 10px;
  }

  .search-wrap {
    width: 100%;
  }

  .featured-prava {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    margin-top: 14px;
  }

  .featured-mark {
    width: 36px;
    height: 36px;
  }

  .featured-copy {
    padding-left: 10px;
  }

  .featured-line {
    display: grid;
    gap: 2px;
  }

  .featured-line span {
    white-space: normal;
  }
  .top-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    border-top: 0;
  }

  .tab-button {
    justify-content: flex-start;
    border: 0;
    padding: 0;
  }

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

  .brand-button {
    min-height: 96px;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
  }

  .brand-mark img {
    max-width: 50px;
    max-height: 50px;
  }

  .site-footer {
    display: grid;
  }

  .panel-body {
    padding: 26px 18px 38px;
  }
}