.sig {
  --sig-acid: #e8ebb2;
  --sig-orange: #ff7438;
  --sig-wine: #8d504b;
  --sig-olive: #9a8e59;
  --sig-ink: #24231f;
  --sig-paper: #fffef9;
  --sig-line: rgba(36, 35, 31, 0.28);
  --sig-columns: 3;
  --sig-mobile-columns: 2;
  position: relative;
  width: 100%;
  padding: clamp(48px, 6vw, 104px) clamp(18px, 5vw, 74px);
  color: var(--sig-ink);
  font-family: "tel-aviv", Sans-serif;
  box-sizing: border-box;
}

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

.sig__title,
.sig__subtitle,
.sig__profiles a,
.sig__profiles span,
.sig__card-copy strong,
.sig__card-copy small,
.sig__account-header h3,
.sig__account-header a,
.sig__account-header > span {
  font-family: "tel-aviv", Sans-serif;
}

.sig--theme-acid {
  background: var(--sig-acid);
}

.sig--theme-white {
  background: var(--sig-paper);
}

.sig--theme-transparent {
  background: transparent;
}

.sig__inner {
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
}

.sig__header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 28px;
  row-gap: clamp(14px, 1.5vw, 24px);
  padding-bottom: clamp(20px, 2.2vw, 34px);
  margin-bottom: clamp(18px, 2.2vw, 34px);
  border-bottom: 1px solid var(--sig-line);
  direction: ltr;
}

.sig__heading-copy {
  display: contents;
  min-width: 0;
}

.sig__title {
  grid-column: 1 / -1;
  grid-row: 1;
  max-width: 100%;
  margin: 0;
  color: #94875c;
  font-family: "tel-aviv", Sans-serif;
  font-size: 5.6vw;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  direction: ltr;
  text-align: left;
}

.sig__subtitle {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  margin: 0;
  color: inherit;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.45;
  direction: rtl;
  text-align: right;
}

.sig__profiles {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  justify-self: start;
  gap: 7px 18px;
  max-width: 560px;
  direction: ltr;
}

.sig__profiles a,
.sig__profiles span {
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.sig__profiles a {
  position: relative;
}

.sig__profiles a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.sig__profiles a:hover::after,
.sig__profiles a:focus-visible::after {
  transform: scaleX(1);
}

.sig__grid {
  display: grid;
  grid-template-columns: repeat(var(--sig-columns), minmax(0, 1fr));
  gap: clamp(8px, 1.15vw, 18px);
  direction: ltr;
}

.sig__card {
  --sig-card-background: var(--sig-paper);
  --sig-card-color: var(--sig-ink);
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  color: var(--sig-card-color) !important;
  background: var(--sig-card-background);
  text-decoration: none !important;
  isolation: isolate;
}

.sig__card--cuckoos {
  --sig-card-background: var(--sig-wine);
  --sig-card-color: #fff;
}

.sig__card--cotton {
  --sig-card-background: var(--sig-paper);
  --sig-card-color: var(--sig-ink);
}

.sig__card--suramare {
  --sig-card-background: var(--sig-orange);
  --sig-card-color: var(--sig-ink);
}

.sig__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #d8d3c4;
}

.sig__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.13), transparent 30%);
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.sig__media img,
.sig__media video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.sig__media video {
  background: #171715;
  pointer-events: none;
}

.sig__card:hover .sig__media img,
.sig__card:hover .sig__media video,
.sig__card:focus-visible .sig__media img,
.sig__card:focus-visible .sig__media video {
  transform: scale(1.035);
}

.sig__card:hover .sig__media::after,
.sig__card:focus-visible .sig__media::after {
  opacity: 1;
}

.sig__card-footer {
  display: flex;
  min-height: clamp(48px, 4.2vw, 67px);
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px clamp(12px, 1.35vw, 20px);
  color: inherit;
  direction: ltr;
}

.sig__card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.sig__card-copy strong {
  overflow: hidden;
  color: inherit;
  font-size: clamp(10px, 0.85vw, 13px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.sig__card-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.82;
  direction: rtl;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sig__arrow {
  flex: 0 0 auto;
  color: inherit;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 300;
  line-height: 1;
  transition: transform 220ms ease;
}

.sig__card:hover .sig__arrow,
.sig__card:focus-visible .sig__arrow {
  transform: translate(3px, -3px);
}

.sig__account-list {
  display: grid;
  gap: clamp(48px, 6vw, 92px);
}

.sig__account-header {
  display: flex;
  min-height: 61px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(10px, 1.2vw, 18px);
  padding: 14px clamp(15px, 2vw, 28px);
  color: var(--sig-ink);
  background: var(--sig-acid);
  direction: ltr;
}

.sig__account-header--cuckoos {
  color: #fff;
  background: var(--sig-wine);
}

.sig__account-header--cotton {
  color: var(--sig-ink);
  background: var(--sig-acid);
}

.sig__account-header--suramare {
  color: var(--sig-ink);
  background: var(--sig-orange);
}

.sig__account-header h3 {
  margin: 0;
  color: inherit;
  font-family: "tel-aviv", Sans-serif;
  font-size: clamp(21px, 2vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.sig__account-header a,
.sig__account-header > span {
  color: inherit !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.sig__private-error,
.sig-admin-notice {
  margin-top: 18px;
  padding: 11px 14px;
  border: 1px solid #d63638;
  color: #7a1d1f;
  background: #fff2f2;
  font-family: sans-serif;
  font-size: 12px;
  line-height: 1.45;
  direction: rtl;
}

@media (max-width: 767px) {
  .sig {
    padding: 40px 10px 48px;
  }

  .sig__header {
    display: flex;
    align-items: stretch;
    gap: 19px;
    margin-bottom: 11px;
    padding: 0 2px 20px;
    flex-direction: column;
  }

  .sig__heading-copy {
    display: block;
    width: 100%;
  }

  .sig__title {
    font-size: 26px;
    line-height: 0.98;
  }

  .sig__subtitle {
    width: 100%;
    margin-top: 9px;
    font-size: 12px;
    direction: rtl;
    text-align: right;
  }

  .sig__profiles {
    max-width: none;
    justify-content: flex-start;
    gap: 8px 14px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .sig__profiles::-webkit-scrollbar {
    display: none;
  }

  .sig__profiles a,
  .sig__profiles span {
    font-size: 9px;
  }

  .sig__grid {
    grid-template-columns: repeat(var(--sig-mobile-columns), minmax(0, 1fr));
    gap: 7px;
  }

  .sig__card-footer {
    min-height: 43px;
    gap: 7px;
    padding: 9px 9px;
  }

  .sig__card-copy strong {
    font-size: 8px;
    letter-spacing: 0.055em;
  }

  .sig__card-copy small {
    font-size: 9px;
  }

  .sig__arrow {
    font-size: 16px;
  }

  .sig__account-list {
    gap: 48px;
  }

  .sig__account-header {
    min-height: 47px;
    gap: 12px;
    margin-bottom: 7px;
    padding: 11px 12px;
  }

  .sig__account-header h3 {
    overflow: hidden;
    font-size: clamp(17px, 6.3vw, 24px);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sig__account-header a,
  .sig__account-header > span {
    font-size: 8px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sig *,
  .sig *::before,
  .sig *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
